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

12

/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h141 int mOrientation; // Current display orientation member in class:android::CameraClient
/frameworks/support/v17/leanback/src/android/support/v17/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.java336 private int mOrientation = HORIZONTAL; field in class:WindowAlignment
355 mOrientation = orientation;
356 if (mOrientation == HORIZONTAL) {
366 return mOrientation;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerWrapContentTest.java42 int mOrientation = StaggeredGridLayoutManager.VERTICAL; field in class:StaggeredGridLayoutManagerWrapContentTest
62 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
86 mOrientation = HORIZONTAL;
146 return new StaggeredGridLayoutManager(3, mOrientation);
H A DFocusSearchNavigationTest.java67 private final int mOrientation; field in class:FocusSearchNavigationTest
71 mOrientation = orientation;
105 linearLayout.setOrientation(mOrientation);
109 layout.setOrientation(mOrientation);
111 mRecyclerView.setAdapter(new FocusSearchAdapter(itemCount, mOrientation));
112 if (mOrientation == VERTICAL) {
240 private int mOrientation; field in class:FocusSearchNavigationTest.FocusSearchAdapter
243 mOrientation = orientation;
251 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.java100 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation,
108 config.mOrientation == HORIZONTAL ? WRAP_CONTENT : MATCH_PARENT,
109 config.mOrientation == VERTICAL ? WRAP_CONTENT : MATCH_PARENT
278 int mOrientation = VERTICAL; field in class:BaseLinearLayoutManagerTest.Config
291 mOrientation = orientation;
311 mOrientation = orientation;
340 + ",mOrientation=" + 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/support/v7/recyclerview/src/android/support/v7/widget/
H A DDividerItemDecoration.java53 private int mOrientation; field in class:DividerItemDecoration
86 mOrientation = orientation;
106 if (mOrientation == VERTICAL) {
174 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/base/core/java/com/android/internal/policy/
H A DPipSnapAlgorithm.java69 private int mOrientation = Configuration.ORIENTATION_UNDEFINED; field in class:PipSnapAlgorithm
92 mOrientation = res.getConfiguration().orientation;
336 shortest = (mOrientation == Configuration.ORIENTATION_LANDSCAPE)
367 if (mOrientation == Configuration.ORIENTATION_LANDSCAPE) {
393 pw.println(innerPrefix + "mOrientation=" + mOrientation);
/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/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java155 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT; field in class:ConfigGenerator
182 config.setScreenOrientationQualifier(new ScreenOrientationQualifier(mOrientation));
199 mOrientation, null, mSoftButtons);
279 mOrientation = orientation;
/frameworks/support/core-utils/java/android/support/v4/print/
H A DPrintHelper.java116 int mOrientation = ORIENTATION_LANDSCAPE; field in class:PrintHelper.PrintHelperStubImpl
133 public void setOrientation(int orientation) { mOrientation = orientation; }
136 public int getOrientation() { return mOrientation; }
/frameworks/support/core-utils/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java108 int mOrientation; field in class:PrintHelperKitkat
160 mOrientation = orientation;
171 if (mOrientation == 0) {
174 return mOrientation;
514 && (!mPrintActivityRespectsOrientation || mOrientation == 0)) {
596 if (mOrientation == ORIENTATION_LANDSCAPE || mOrientation == 0) {
598 } else if (mOrientation == ORIENTATION_PORTRAIT) {
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowContainerTests.java730 private Integer mOrientation; field in class:WindowContainerTests.TestWindowContainer
756 mOrientation = orientation;
809 return mOrientation != null ? mOrientation : super.getOrientation(candidate);
814 return getOrientation(super.mOrientation);
831 private Integer mOrientation; field in class:WindowContainerTests.TestWindowContainerBuilder
853 mOrientation = orientation;
861 mOrientation = null;
866 return new TestWindowContainer(mLayer, mIsAnimating, mIsVisible, mOrientation);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h133 int getOrientation() const { return mOrientation; }
254 int mOrientation; member in class:android::DisplayDevice
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowContainer.java74 protected int mOrientation = SCREEN_ORIENTATION_UNSPECIFIED; field in class:WindowContainer
516 mOrientation = orientation;
520 return getOrientation(mOrientation);
544 if (mOrientation != SCREEN_ORIENTATION_UNSET
545 && mOrientation != SCREEN_ORIENTATION_UNSPECIFIED) {
546 return mOrientation;
552 // TODO: Maybe mOrientation should default to SCREEN_ORIENTATION_UNSET vs.
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridActivity.java85 int mOrientation; field in class:GridActivity
113 mOrientation = mGridView instanceof HorizontalGridView ? BaseGridView.HORIZONTAL :
184 if (mOrientation == BaseGridView.HORIZONTAL) {
492 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.java134 * if {@link #mOrientation} is horizontal.
158 private int mOrientation; field in class:LinearLayout
396 if (mOrientation == VERTICAL) {
583 if (mOrientation == VERTICAL) {
684 if (mOrientation == VERTICAL) {
1543 if (mOrientation == VERTICAL) {
1649 if (mOrientation == HORIZONTAL) {
1802 if (mOrientation != orientation) {
1803 mOrientation = orientation;
1815 return mOrientation;
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java84 private final int mOrientation; field in class:SlidingTab
460 mOrientation = a.getInt(R.styleable.SlidingTab_orientation, HORIZONTAL);
722 return mOrientation == HORIZONTAL;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java122 private int mOrientation = 0; field in class:BackDropperFilter
974 if (mOrientation == 0 || mOrientation == 180) {

Completed in 9433 milliseconds

12