Home
last modified time | relevance | path

Searched refs:getOrientation (Results 1 – 25 of 68) sorted by relevance

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTests.java480 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 …]
DTaskStackTests.java80 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()
DAppWindowTokenTests.java271 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()
DDisplayContentTests.java534 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()
DTaskSnapshotPersisterLoaderTest.java69 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/
DExif.java34 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()
DImageUtils.java148 final int orientation = Exif.getOrientation(is, -1); in decodeStream()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java39 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/
Dandroid_media_MicrophoneInfo.cpp62 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/
DButtonBarLayout.java56 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { in setAllowStacking()
165 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.cpp99 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()
DMultiTouchInputMapper.h40 inline int32_t getOrientation() const { return mAbsMTOrientation; } in getOrientation() function
DKeyboardInputMapper.h79 int32_t getOrientation();
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java57 orientation = snapshot.getOrientation(); in ThumbnailData()
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
DRemoteHardwareConfig.java48 config.getXdpi(), config.getYdpi(), config.getScreenSize(), config.getOrientation(), in RemoteHardwareConfig()
/frameworks/opt/bitmap/src/com/android/bitmap/
DReusableBitmap.java65 public int getOrientation() { in getOrientation() method in ReusableBitmap
/frameworks/native/libs/ui/include/ui/
DTransform.h65 uint32_t getOrientation() const;
/frameworks/native/libs/ui/include_vndk/ui/
DTransform.h65 uint32_t getOrientation() const;
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp430 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/
DOutputLayer.cpp169 (ui::Transform(invTransformOrient) * ui::Transform(invTransform)).getOrientation(); in calculateOutputSourceCrop()
289 return transform.getOrientation(); in calculateOutputRelativeBufferTransform()
/frameworks/base/media/java/android/media/
DMicrophoneInfo.java289 public Coordinate3F getOrientation() { in getOrientation() method in MicrophoneInfo
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainer.java783 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/
DCameraClient.h131 int getOrientation(int orientation, bool mirror);
/frameworks/native/libs/ui/
DTransform.cpp374 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/
DLayerProtoHelper.cpp95 const uint32_t type = transform.getType() | (transform.getOrientation() << 8); in writeToProto()

123