kallt_kaffe, on Jan 24 2011, 14:33, said:
I think it was surfaceflinger
kallt_kaffe, on Jan 24 2011, 14:33, said:
rjm2k, on Jan 24 2011, 16:16, said:
fonix232, on Jan 23 2011, 11:39, said:
source build/envsetup.sh find . -name '*.mk' | xargs sed -i 's/-m64//g' export TARGET_BUILD_VARIANT=user lunch make
Quote
Edited by hecatae, 24 January 2011 - 07:03 PM.
hecatae, on Jan 24 2011, 21:55, said:
source build/envsetup.sh find . -name '*.mk' | xargs sed -i 's/-m64//g' export TARGET_BUILD_VARIANT=user lunch make
fonix232, on Jan 24 2011, 19:11, said:
kallt_kaffe, on Jan 25 2011, 01:33, said:
diff --git a/libs/surfaceflinger/SurfaceFlinger.cpp b/libs/surfaceflinger/SurfaceFlinger.cpp
index b9ab1c0..9b0dafe 100644
--- a/libs/surfaceflinger/SurfaceFlinger.cpp
+++ b/libs/surfaceflinger/SurfaceFlinger.cpp
@@ -1883,16 +1883,16 @@ void GraphicPlane::setDisplayHardware(DisplayHardware *hw)
// initialize the display orientation transform.
// it's a constant that should come from the display driver.
- int displayOrientation = ISurfaceComposer::eOrientationDefault;
+ int displayOrientation = ISurfaceComposer::eOrientation180;
char property[PROPERTY_VALUE_MAX];
if (property_get("ro.sf.hwrotation", property, NULL) > 0) {
//displayOrientation
switch (atoi(property)) {
case 90:
- displayOrientation = ISurfaceComposer::eOrientation90;
+ displayOrientation = ISurfaceComposer::eOrientation270;
break;
case 270:
- displayOrientation = ISurfaceComposer::eOrientation270;
+ displayOrientation = ISurfaceComposer::eOrientation90;
break;
}
}
Edited by Tom G, 24 January 2011 - 09:29 PM.
Tom G, on Jan 24 2011, 22:25, said:
diff --git a/libs/surfaceflinger/SurfaceFlinger.cpp b/libs/surfaceflinger/SurfaceFlinger.cpp
index b9ab1c0..9b0dafe 100644
--- a/libs/surfaceflinger/SurfaceFlinger.cpp
+++ b/libs/surfaceflinger/SurfaceFlinger.cpp
@@ -1883,16 +1883,16 @@ void GraphicPlane::setDisplayHardware(DisplayHardware *hw)
// initialize the display orientation transform.
// it's a constant that should come from the display driver.
- int displayOrientation = ISurfaceComposer::eOrientationDefault;
+ int displayOrientation = ISurfaceComposer::eOrientation180;
char property[PROPERTY_VALUE_MAX];
if (property_get("ro.sf.hwrotation", property, NULL) > 0) {
//displayOrientation
switch (atoi(property)) {
case 90:
- displayOrientation = ISurfaceComposer::eOrientation90;
+ displayOrientation = ISurfaceComposer::eOrientation270;
break;
case 270:
- displayOrientation = ISurfaceComposer::eOrientation270;
+ displayOrientation = ISurfaceComposer::eOrientation90;
break;
}
}
kallt_kaffe, on Jan 25 2011, 19:14, said:
Tom G, on Jan 25 2011, 11:15, said:
Tom G, on Jan 25 2011, 14:15, said:
hecatae, on Jan 28 2011, 21:33, said:
0 members, 0 guests, 0 anonymous users