Searched refs:getOrientation (Results 1 - 25 of 87) sorted by relevance

1234

/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DLinearLayoutManagerActivity.java43 mDividerItemDecoration = new DividerItemDecoration(this, mLayoutManager.getOrientation());
54 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
62 mDividerItemDecoration.setOrientation(mLayoutManager.getOrientation());
H A DGridLayoutManagerActivity.java58 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
H A DStableIdActivity.java75 new DividerItemDecoration(this, mLayoutManager.getOrientation()));
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DLinearLayoutManagerActivity.java43 mDividerItemDecoration = new DividerItemDecoration(this, mLayoutManager.getOrientation());
54 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
62 mDividerItemDecoration.setOrientation(mLayoutManager.getOrientation());
H A DGridLayoutManagerActivity.java58 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
H A DStableIdActivity.java75 new DividerItemDecoration(this, mLayoutManager.getOrientation()));
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
H A DOrientationTest.java42 assertThat(viewPager.getOrientation(), equalTo(Orientation.HORIZONTAL));
48 assertThat(viewPager.getOrientation(), equalTo(Orientation.HORIZONTAL));
70 assertThat(viewPager.getOrientation(), equalTo(expectedOrientation));
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java39 public static int getOrientation(final InputStream inputStream, final long byteSize) { method in class:Exif
213 public static int getOrientation(final byte[] jpeg) { method in class:Exif
214 return getOrientation(new ByteArrayInputStream(jpeg), jpeg.length);
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java34 public static int getOrientation(final InputStream inputStream, final long byteSize) { method in class:Exif
208 public static int getOrientation(final byte[] jpeg) { method in class:Exif
209 return getOrientation(new ByteArrayInputStream(jpeg), jpeg.length);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskStackTests.java78 assertEquals(SCREEN_ORIENTATION_PORTRAIT, stack.getOrientation());
80 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, stack.getOrientation());
98 assertEquals(SCREEN_ORIENTATION_PORTRAIT, stack.getOrientation());
100 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, stack.getOrientation());
H A DWindowContainerTests.java458 assertEquals(expectedOrientation, root.getOrientation());
466 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, root.getOrientation());
480 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, invisibleChild1VisibleAndSet.getOrientation());
483 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, invisible.getOrientation());
485 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation());
490 assertEquals(SCREEN_ORIENTATION_UNSET, visibleUnset.getOrientation());
491 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, root.getOrientation());
511 visibleUnsetChild1VisibleSetBehind.getOrientation());
512 assertEquals(SCREEN_ORIENTATION_BEHIND, visibleUnset.getOrientation());
513 assertEquals(SCREEN_ORIENTATION_BEHIND, root.getOrientation());
787 int getOrientation(int candidate) { method in class:WindowContainerTests.TestWindowContainer
792 int getOrientation() { method in class:WindowContainerTests.TestWindowContainer
[all...]
H A DAppWindowContainerControllerTests.java74 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, controller.getOrientation());
78 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, controller.getOrientation());
82 assertEquals(SCREEN_ORIENTATION_UNSPECIFIED, controller.getOrientation());
H A DAppWindowTokenTests.java196 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mToken.getOrientation());
202 assertEquals(SCREEN_ORIENTATION_UNSET, mToken.getOrientation());
204 assertEquals(SCREEN_ORIENTATION_LANDSCAPE, mToken.getOrientation(SCREEN_ORIENTATION_BEHIND));
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DItemAlignment.java74 final public int getOrientation() { method in class:ItemAlignment
H A DNonOverlappingLinearLayout.java66 && getOrientation() == HORIZONTAL
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DNoIdTest.java43 assertEquals(LinearLayout.VERTICAL, linearLayout.getOrientation());
46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation());
/frameworks/base/core/java/com/android/internal/widget/
H A DButtonBarLayout.java54 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) {
163 return getOrientation() == LinearLayout.VERTICAL;
/frameworks/base/core/jni/
H A Dandroid_media_MicrophoneInfo.cpp62 microphoneInfo->getOrientation().size() != 3) {
73 microphoneInfo->getOrientation()[0],
74 microphoneInfo->getOrientation()[1],
75 microphoneInfo->getOrientation()[2]);
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DThumbnailData.java56 orientation = snapshot.getOrientation();
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteHardwareConfig.java48 config.getXdpi(), config.getYdpi(), config.getScreenSize(), config.getOrientation(),
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DButtonBarLayout.java59 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) {
171 return getOrientation() == LinearLayout.VERTICAL;
/frameworks/native/services/surfaceflinger/
H A DTransform.h69 uint32_t getOrientation() const;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java65 public int getOrientation() { method in class:ReusableBitmap
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseGridLayoutManagerTest.java96 if (mGlm.getOrientation() == GridLayoutManager.HORIZONTAL) {
198 if (getOrientation() == RecyclerView.HORIZONTAL) {
241 if (getOrientation() == HORIZONTAL) {
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/test/
H A DRecyclerViewTest.java90 LinearLayout.HORIZONTAL, gridLayoutManager.getOrientation());
102 LinearLayout.VERTICAL, customLayoutManager.getOrientation());

Completed in 431 milliseconds

1234