replicant-frameworks_native/services/surfaceflinger
Omprakash Dhyade ad1c5cf963 frameworks/base: Swap width and height of temporary buffer only with
orientation change

Current code swaps the width and height by assuming that aspect
ratio of the buffer width and height will be same as that of the
layout clip width and height. That is not always true.
Change the check to orientation change.

Change-Id: Ie387f3a7369025427484e4173cbde7a08df2b9d7
2010-08-10 16:49:48 -07:00
..
DisplayHardware move native services under services/ 2010-07-22 15:28:19 -07:00
tests move native services under services/ 2010-07-22 15:28:19 -07:00
Android.mk move native services under services/ 2010-07-22 15:28:19 -07:00
Barrier.h move native services under services/ 2010-07-22 15:28:19 -07:00
BlurFilter.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
BlurFilter.h move native services under services/ 2010-07-22 15:28:19 -07:00
clz.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
clz.h move native services under services/ 2010-07-22 15:28:19 -07:00
Layer.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
Layer.h move native services under services/ 2010-07-22 15:28:19 -07:00
LayerBase.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
LayerBase.h move native services under services/ 2010-07-22 15:28:19 -07:00
LayerBlur.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
LayerBlur.h move native services under services/ 2010-07-22 15:28:19 -07:00
LayerBuffer.cpp frameworks/base: Swap width and height of temporary buffer only with 2010-08-10 16:49:48 -07:00
LayerBuffer.h move native services under services/ 2010-07-22 15:28:19 -07:00
LayerDim.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
LayerDim.h move native services under services/ 2010-07-22 15:28:19 -07:00
MessageQueue.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
MessageQueue.h move native services under services/ 2010-07-22 15:28:19 -07:00
MODULE_LICENSE_APACHE2 move native services under services/ 2010-07-22 15:28:19 -07:00
SurfaceFlinger.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
SurfaceFlinger.h move native services under services/ 2010-07-22 15:28:19 -07:00
Tokenizer.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
Tokenizer.h move native services under services/ 2010-07-22 15:28:19 -07:00
Transform.cpp move native services under services/ 2010-07-22 15:28:19 -07:00
Transform.h move native services under services/ 2010-07-22 15:28:19 -07:00