/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 480 assertEquals(expectedOrientation, root.getOrientation()); in testGetOrientation_childSpecifiedConfig() 488 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, root.getOrientation()); in testGetOrientation_Unset() 502 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, invisibleChild1VisibleAndSet.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 505 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, invisible.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 507 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 512 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnset.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 513 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation()); in testGetOrientation_InvisibleParentUnsetVisibleChildren() 532 visibleUnsetChild1VisibleSetBehind.getOrientation()); in testGetOrientation_setBehind() 533 assertEquals(SCREEN_ORIENTATION_BEHIND, visibleUnset.getOrientation()); in testGetOrientation_setBehind() 534 assertEquals(SCREEN_ORIENTATION_BEHIND, root.getOrientation()); in testGetOrientation_setBehind() [all …]
|
D | TaskStackTests.java | 80 assertEquals(SCREEN_ORIENTATION_PORTRAIT, stack.getOrientation()); in testClosingAppDifferentStackOrientation() 82 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, stack.getOrientation()); in testClosingAppDifferentStackOrientation() 100 assertEquals(SCREEN_ORIENTATION_PORTRAIT, stack.getOrientation()); in testMoveTaskToBackDifferentStackOrientation() 102 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, stack.getOrientation()); in testMoveTaskToBackDifferentStackOrientation()
|
D | AppWindowTokenTests.java | 271 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mToken.getOrientation()); in testGetOrientation() 277 assertEquals(SCREEN_ORIENTATION_UNSET, mToken.getOrientation()); in testGetOrientation() 280 mToken.getOrientation(SCREEN_ORIENTATION_BEHIND)); in testGetOrientation() 328 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, mToken.getOrientation()); in testSetOrientation() 331 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mToken.getOrientation()); in testSetOrientation() 335 assertEquals(SCREEN_ORIENTATION_UNSET, mToken.getOrientation()); in testSetOrientation()
|
D | DisplayContentTests.java | 534 SCREEN_ORIENTATION_LANDSCAPE, dc.getOrientation()); in testOrientationDefinedByKeyguard() 538 SCREEN_ORIENTATION_PORTRAIT, dc.getOrientation()); in testOrientationDefinedByKeyguard() 542 SCREEN_ORIENTATION_LANDSCAPE, dc.getOrientation()); in testOrientationDefinedByKeyguard() 570 window.mAttrs.screenOrientation, dc.getOrientation()); in testOrientationForAspectRatio() 579 SCREEN_ORIENTATION_USER, dc.getOrientation()); in testOrientationForAspectRatio()
|
D | TaskSnapshotPersisterLoaderTest.java | 69 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testPersistAndLoadSnapshot() 166 assertEquals(Configuration.ORIENTATION_PORTRAIT, snapshot.getOrientation()); in testLowResolutionPersistAndLoadSnapshot()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | Exif.java | 34 public static int getOrientation(final InputStream inputStream, final long byteSize) { in getOrientation() method in Exif 208 public static int getOrientation(final byte[] jpeg) { in getOrientation() method in Exif 209 return getOrientation(new ByteArrayInputStream(jpeg), jpeg.length); in getOrientation()
|
D | ImageUtils.java | 148 final int orientation = Exif.getOrientation(is, -1); in decodeStream()
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
D | Exif.java | 39 public static int getOrientation(final InputStream inputStream, final long byteSize) { in getOrientation() method in Exif 213 public static int getOrientation(final byte[] jpeg) { in getOrientation() method in Exif 214 return getOrientation(new ByteArrayInputStream(jpeg), jpeg.length); in getOrientation()
|
/frameworks/base/core/jni/ |
D | android_media_MicrophoneInfo.cpp | 62 microphoneInfo->getOrientation().size() != 3) { in convertMicrophoneInfoFromNative() 73 microphoneInfo->getOrientation()[0], in convertMicrophoneInfoFromNative() 74 microphoneInfo->getOrientation()[1], in convertMicrophoneInfoFromNative() 75 microphoneInfo->getOrientation()[2]); in convertMicrophoneInfoFromNative()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ButtonBarLayout.java | 56 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { in setAllowStacking() 165 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | KeyboardInputMapper.cpp | 99 int32_t KeyboardInputMapper::getOrientation() { in getOrientation() function in android::KeyboardInputMapper 124 dump += StringPrintf(INDENT3 "Orientation: %d\n", getOrientation()); in dump() 267 keyCode = rotateKeyCode(keyCode, getOrientation()); in processKey()
|
D | MultiTouchInputMapper.h | 40 inline int32_t getOrientation() const { return mAbsMTOrientation; } in getOrientation() function
|
D | KeyboardInputMapper.h | 79 int32_t getOrientation();
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | ThumbnailData.java | 57 orientation = snapshot.getOrientation(); in ThumbnailData()
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteHardwareConfig.java | 48 config.getXdpi(), config.getYdpi(), config.getScreenSize(), config.getOrientation(), in RemoteHardwareConfig()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ReusableBitmap.java | 65 public int getOrientation() { in getOrientation() method in ReusableBitmap
|
/frameworks/native/libs/ui/include/ui/ |
D | Transform.h | 65 uint32_t getOrientation() const;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Transform.h | 65 uint32_t getOrientation() const;
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 430 ASSERT_EQ(218, event->getOrientation(0)); in assertEqualsEventWithHistory() 431 ASSERT_EQ(228, event->getOrientation(1)); in assertEqualsEventWithHistory() 516 ASSERT_EQ(218, event.getOrientation(0)); in TEST_F() 602 ASSERT_NEAR(tanf(angle), tanf(event.getOrientation(i)), 0.1); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | OutputLayer.cpp | 169 (ui::Transform(invTransformOrient) * ui::Transform(invTransform)).getOrientation(); in calculateOutputSourceCrop() 289 return transform.getOrientation(); in calculateOutputRelativeBufferTransform()
|
/frameworks/base/media/java/android/media/ |
D | MicrophoneInfo.java | 289 public Coordinate3F getOrientation() { in getOrientation() method in MicrophoneInfo
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainer.java | 783 int getOrientation() { in getOrientation() method in WindowContainer 784 return getOrientation(mOrientation); in getOrientation() 798 int getOrientation(int candidate) { in getOrientation() method in WindowContainer 818 final int orientation = wc.getOrientation(candidate == SCREEN_ORIENTATION_BEHIND in getOrientation()
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.h | 131 int getOrientation(int orientation, bool mirror);
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 374 uint32_t Transform::getOrientation() const in getOrientation() function in android::ui::Transform 381 return (getOrientation() & ROT_INVALID) ? false : true; in preserveRects()
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 95 const uint32_t type = transform.getType() | (transform.getOrientation() << 8); in writeToProto()
|