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

12

/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.h135 int mOrientation; // Current display orientation member in class:android::CameraClient
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DItemAlignment.java35 private int mOrientation; field in class:ItemAlignment.Axis
38 mOrientation = orientation;
45 return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this, mOrientation);
49 private int mOrientation = HORIZONTAL; field in class:ItemAlignment
68 mOrientation = orientation;
69 if (mOrientation == HORIZONTAL) {
79 return mOrientation;
H A DWindowAlignment.java273 private int mOrientation = HORIZONTAL; field in class:WindowAlignment
292 mOrientation = orientation;
293 if (mOrientation == HORIZONTAL) {
303 return mOrientation;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerWrapContentTest.java38 int mOrientation = StaggeredGridLayoutManager.VERTICAL; field in class:StaggeredGridLayoutManagerWrapContentTest
57 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
81 mOrientation = HORIZONTAL;
141 return new StaggeredGridLayoutManager(3, mOrientation);
H A DBaseGridLayoutManagerTest.java50 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation,
90 int mOrientation = GridLayoutManager.VERTICAL; field in class:BaseGridLayoutManagerTest.Config
102 mOrientation = orientation;
107 mOrientation = orientation;
115 ", mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v") +
H A DFocusSearchNavigationTest.java65 private final int mOrientation; field in class:FocusSearchNavigationTest
69 mOrientation = orientation;
95 linearLayout.setOrientation(mOrientation);
99 layout.setOrientation(mOrientation);
101 mRecyclerView.setAdapter(new FocusSearchAdapter(itemCount, mOrientation));
102 if (mOrientation == VERTICAL) {
238 private int mOrientation; field in class:FocusSearchNavigationTest.FocusSearchAdapter
241 mOrientation = orientation;
249 if (mOrientation == VERTICAL) {
H A DBaseLinearLayoutManagerTest.java89 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation,
97 config.mOrientation == HORIZONTAL ? WRAP_CONTENT : FILL_PARENT,
98 config.mOrientation == VERTICAL ? WRAP_CONTENT : FILL_PARENT
263 int mOrientation = VERTICAL; field in class:BaseLinearLayoutManagerTest.Config
276 mOrientation = orientation;
296 mOrientation = orientation;
325 ", mOrientation=" + mOrientation +
H A DBaseStaggeredGridLayoutManagerTest.java79 setupByConfig(config, new GridTestAdapter(config.mItemCount, config.mOrientation));
88 config.mOrientation);
200 .createOrientationHelper(mLayoutManager, config.mOrientation);
390 int mOrientation = OrientationHelper.VERTICAL; field in class:BaseStaggeredGridLayoutManagerTest.Config
403 mOrientation = orientation;
414 mOrientation = orientation;
447 " orientation:" + (mOrientation == HORIZONTAL ? "horz," : "vert,") +
741 int mOrientation; field in class:BaseStaggeredGridLayoutManagerTest.GridTestAdapter
755 mOrientation = orientation;
801 mSizeReference = mOrientation
[all...]
/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/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/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/native/services/surfaceflinger/
H A DDisplayDevice.h130 int getOrientation() const { return mOrientation; }
241 int mOrientation; member in class:android::DisplayDevice
/frameworks/support/v4/java/android/support/v4/print/
H A DPrintHelper.java118 int mOrientation = ORIENTATION_LANDSCAPE; field in class:PrintHelper.PrintHelperStubImpl
135 public void setOrientation(int orientation) { mOrientation = orientation; }
138 public int getOrientation() { return mOrientation; }
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java106 int mOrientation; field in class:PrintHelperKitkat
158 mOrientation = orientation;
169 if (mOrientation == 0) {
172 return mOrientation;
479 && (!mPrintActivityRespectsOrientation || mOrientation == 0)) {
560 if (mOrientation == ORIENTATION_LANDSCAPE || mOrientation == 0) {
562 } else if (mOrientation == ORIENTATION_PORTRAIT) {
/frameworks/base/core/java/com/android/internal/widget/
H A DRotarySelector.java167 private int mOrientation; field in class:RotarySelector
182 mOrientation = a.getInt(R.styleable.RotarySelector_orientation, HORIZONTAL);
242 return mOrientation == HORIZONTAL;
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/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridActivity.java88 int mOrientation; field in class:GridActivity
114 mOrientation = mGridView instanceof HorizontalGridView ? BaseGridView.HORIZONTAL :
183 if (mOrientation == BaseGridView.HORIZONTAL) {
451 if (mOrientation == BaseGridView.HORIZONTAL) {
H A DGridWidgetTest.java56 protected int mOrientation; field in class:GridWidgetTest
61 if (mOrientation == BaseGridView.HORIZONTAL) {
192 if (mOrientation == BaseGridView.HORIZONTAL) {
206 if (mOrientation == BaseGridView.HORIZONTAL) {
227 if (mOrientation == BaseGridView.HORIZONTAL) {
263 if (mOrientation == BaseGridView.HORIZONTAL) {
277 if (mOrientation == BaseGridView.HORIZONTAL) {
309 if (mOrientation == BaseGridView.HORIZONTAL) {
377 mOrientation = BaseGridView.HORIZONTAL;
449 mOrientation
[all...]
/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.java111 * if {@link #mOrientation} is horizontal.
135 private int mOrientation; field in class:LinearLayout
351 if (mOrientation == VERTICAL) {
538 if (mOrientation == VERTICAL) {
639 if (mOrientation == VERTICAL) {
1493 if (mOrientation == VERTICAL) {
1599 if (mOrientation == HORIZONTAL) {
1752 if (mOrientation != orientation) {
1753 mOrientation = orientation;
1765 return mOrientation;
[all...]
/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) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java93 * if {@link #mOrientation} is horizontal.
113 private int mOrientation; field in class:LinearLayoutCompat
281 if (mOrientation == VERTICAL) {
448 if (mOrientation == VERTICAL) {
544 if (mOrientation == VERTICAL) {
1400 if (mOrientation == VERTICAL) {
1648 if (mOrientation != orientation) {
1649 mOrientation = orientation;
1661 return mOrientation;
1718 if (mOrientation
[all...]

Completed in 855 milliseconds

12