Searched defs:mOrientation (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DStaggeredGridLayoutManagerWrapContentTest.java41 int mOrientation = StaggeredGridLayoutManager.VERTICAL; field in class:StaggeredGridLayoutManagerWrapContentTest
61 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
86 mOrientation = HORIZONTAL;
149 return new StaggeredGridLayoutManager(3, mOrientation);
H A DFocusSearchNavigationTest.java69 private final int mOrientation; field in class:FocusSearchNavigationTest
73 mOrientation = orientation;
107 linearLayout.setOrientation(mOrientation);
111 layout.setOrientation(mOrientation);
113 mRecyclerView.setAdapter(new FocusSearchAdapter(itemCount, mOrientation));
114 if (mOrientation == VERTICAL) {
242 private int mOrientation; field in class:FocusSearchNavigationTest.FocusSearchAdapter
245 mOrientation = orientation;
253 if (mOrientation == VERTICAL) {
H A DBaseGridLayoutManagerTest.java54 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation,
109 int mOrientation = GridLayoutManager.VERTICAL; field in class:BaseGridLayoutManagerTest.Config
121 mOrientation = orientation;
126 mOrientation = orientation;
134 + ",mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v")
H A DBaseLinearLayoutManagerTest.java102 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation,
110 config.mOrientation == HORIZONTAL ? WRAP_CONTENT : MATCH_PARENT,
111 config.mOrientation == VERTICAL ? WRAP_CONTENT : MATCH_PARENT
280 int mOrientation = VERTICAL; field in class:BaseLinearLayoutManagerTest.Config
293 mOrientation = orientation;
313 mOrientation = orientation;
342 + ",mOrientation=" + mOrientation
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h142 int mOrientation; // Current display orientation member in class:android::CameraClient
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DItemAlignment.java31 private int mOrientation; field in class:ItemAlignment.Axis
34 mOrientation = orientation;
41 return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this, mOrientation);
45 private int mOrientation = HORIZONTAL; field in class:ItemAlignment
64 mOrientation = orientation;
65 if (mOrientation == HORIZONTAL) {
75 return mOrientation;
H A DWindowAlignment.java354 private int mOrientation = HORIZONTAL; field in class:WindowAlignment
373 mOrientation = orientation;
374 if (mOrientation == HORIZONTAL) {
384 return mOrientation;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
H A DBaseDataBinderTest.java31 private int mOrientation; field in class:BaseDataBinderTest
41 mOrientation = orientation;
47 getActivity().setRequestedOrientation(mOrientation);
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteHardwareConfig.java39 private ScreenOrientation mOrientation; field in class:RemoteHardwareConfig
61 mOrientation = orientation;
69 mOrientation, mScreenRoundness, mHasSoftwareButtons);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDividerItemDecoration.java54 private int mOrientation; field in class:DividerItemDecoration
87 mOrientation = orientation;
107 if (mOrientation == VERTICAL) {
175 if (mOrientation == VERTICAL) {
/frameworks/base/core/java/android/view/
H A DOrientationEventListener.java34 private int mOrientation = ORIENTATION_UNKNOWN; field in class:OrientationEventListener
141 if (orientation != mOrientation) {
142 mOrientation = orientation;
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java80 mState.mOrientation = orientation;
143 state.mOrientation = a.getInt(
144 R.styleable.ClipDrawable_clipOrientation, state.mOrientation);
186 if ((mState.mOrientation & HORIZONTAL) != 0) {
192 if ((mState.mOrientation & VERTICAL) != 0) {
216 int mOrientation = HORIZONTAL; field in class:ClipDrawable.ClipState
223 mOrientation = orig.mOrientation;
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java30 private int mOrientation; field in class:ReusableBitmap
66 return mOrientation;
70 mOrientation = orientation;
/frameworks/av/include/media/
H A DMicrophoneInfo.h53 mOrientation.push_back(characteristic.orientation.x);
54 mOrientation.push_back(characteristic.orientation.y);
55 mOrientation.push_back(characteristic.orientation.z);
84 RETURN_IF_FAILED(writeFloatVector(parcel, mOrientation));
113 RETURN_IF_FAILED(readFloatVector(parcel, &mOrientation, 3));
178 return mOrientation;
237 Vector<float> mOrientation; member in class:android::media::MicrophoneInfo
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java95 private int mOrientation = 0; field in class:MediaSource
295 switch (mOrientation) {
319 Log.v(TAG, "OrientationHint = " + mOrientation);
412 if (mOrientation == 0 || mOrientation == 180) {
516 if (mOrientation == 0 || mOrientation == 180) {
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java155 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT; field in class:ConfigGenerator
181 config.setScreenOrientationQualifier(new ScreenOrientationQualifier(mOrientation));
198 mOrientation, null, mSoftButtons);
278 mOrientation = orientation;
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
H A DSwipeTest.java257 mSwiper = new PageSwiper(mTestConfig.mTotalPages, recyclerView, mTestConfig.mOrientation);
262 viewPager.setOrientation(mTestConfig.mOrientation);
283 final @ViewPager2.Orientation int mOrientation; field in class:SwipeTest.TestConfig
300 mOrientation = orientation;
/frameworks/base/core/java/com/android/internal/policy/
H A DPipSnapAlgorithm.java66 private int mOrientation = Configuration.ORIENTATION_UNDEFINED; field in class:PipSnapAlgorithm
91 mOrientation = res.getConfiguration().orientation;
124 final boolean isLandscape = mOrientation == Configuration.ORIENTATION_LANDSCAPE;
412 shortest = (mOrientation == Configuration.ORIENTATION_LANDSCAPE)
443 if (mOrientation == Configuration.ORIENTATION_LANDSCAPE) {
469 pw.println(innerPrefix + "mOrientation=" + mOrientation);
/frameworks/base/media/java/android/media/
H A DMicrophoneInfo.java151 private Coordinate3F mOrientation; field in class:MicrophoneInfo
178 mOrientation = orientation;
288 return mOrientation;
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowContainerTests.java712 private Integer mOrientation; field in class:WindowContainerTests.TestWindowContainer
739 mOrientation = orientation;
788 return mOrientation != null ? mOrientation : super.getOrientation(candidate);
793 return getOrientation(super.mOrientation);
810 private Integer mOrientation; field in class:WindowContainerTests.TestWindowContainerBuilder
832 mOrientation = orientation;
840 mOrientation = null;
845 return new TestWindowContainer(mLayer, mIsAnimating, mIsVisible, mOrientation);
/frameworks/support/print/src/main/java/androidx/print/
H A DPrintHelper.java138 @Orientation int mOrientation = ORIENTATION_LANDSCAPE; field in class:PrintHelper
214 mOrientation = orientation;
225 if (Build.VERSION.SDK_INT >= 19 && mOrientation == 0) {
228 return mOrientation;
361 if (mOrientation == ORIENTATION_LANDSCAPE || mOrientation == 0) {
363 } else if (mOrientation == ORIENTATION_PORTRAIT) {
447 && (!PRINT_ACTIVITY_RESPECTS_ORIENTATION || mOrientation == 0)) {
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h125 int getOrientation() const { return mOrientation; }
262 int mOrientation; member in class:android::DisplayDevice
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DGridActivity.java87 int mOrientation; field in class:GridActivity
116 mOrientation = mGridView instanceof HorizontalGridView ? BaseGridView.HORIZONTAL :
188 if (mOrientation == BaseGridView.HORIZONTAL) {
496 if (mOrientation == BaseGridView.HORIZONTAL) {
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java86 private int mOrientation = ORIENTATION_VERTICAL; field in class:GestureOverlayView
173 mOrientation = a.getInt(R.styleable.GestureOverlayView_orientation, mOrientation);
201 return mOrientation;
205 mOrientation = orientation;
658 (mOrientation == ORIENTATION_VERTICAL ?
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java133 * if {@link #mOrientation} is horizontal.
157 private int mOrientation; field in class:LinearLayout
415 if (mOrientation == VERTICAL) {
602 if (mOrientation == VERTICAL) {
703 if (mOrientation == VERTICAL) {
1564 if (mOrientation == VERTICAL) {
1670 if (mOrientation == HORIZONTAL) {
1823 if (mOrientation != orientation) {
1824 mOrientation = orientation;
1836 return mOrientation;
[all...]

Completed in 141 milliseconds

12