Searched refs:mOrientation (Results 1 - 25 of 36) sorted by relevance

12

/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;
H A DGridLayoutManager.java218 if (mOrientation == HORIZONTAL) {
331 if (mOrientation == HORIZONTAL) {
389 private int mOrientation = HORIZONTAL; field in class:GridLayoutManager
613 mOrientation = orientation;
620 if (mOrientation == HORIZONTAL) {
725 if (mOrientation == HORIZONTAL) {
733 if (mOrientation == HORIZONTAL) {
861 return mOrientation == HORIZONTAL || mNumRows > 1;
868 return mOrientation == VERTICAL || mNumRows > 1;
916 return (mOrientation
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java78 mState.mOrientation = orientation;
110 state.mOrientation = a.getInt(
111 R.styleable.ClipDrawable_clipOrientation, state.mOrientation);
182 if ((mState.mOrientation & HORIZONTAL) != 0) {
188 if ((mState.mOrientation & VERTICAL) != 0) {
204 int mOrientation = HORIZONTAL; field in class:ClipDrawable.ClipState
211 mOrientation = orig.mOrientation;
H A DGradientDrawable.java475 return mGradientState.mOrientation;
489 mGradientState.mOrientation = orientation;
907 switch (st.mOrientation) {
1387 st.mOrientation = Orientation.LEFT_RIGHT;
1390 st.mOrientation = Orientation.BL_TR;
1393 st.mOrientation = Orientation.BOTTOM_TOP;
1396 st.mOrientation = Orientation.BR_TL;
1399 st.mOrientation = Orientation.RIGHT_LEFT;
1402 st.mOrientation = Orientation.TR_BL;
1405 st.mOrientation
1568 public Orientation mOrientation; field in class:GradientDrawable.GradientState
[all...]
/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/android/view/
H A DOrientationEventListener.java34 private int mOrientation = ORIENTATION_UNKNOWN; field in class:OrientationEventListener
141 if (orientation != mOrientation) {
142 mOrientation = orientation;
/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/v17/tests/src/android/support/v17/leanback/widget/
H A DGridWidgetTest.java54 protected int mOrientation; field in class:GridWidgetTest
59 if (mOrientation == BaseGridView.HORIZONTAL) {
173 if (mOrientation == BaseGridView.HORIZONTAL) {
187 if (mOrientation == BaseGridView.HORIZONTAL) {
208 if (mOrientation == BaseGridView.HORIZONTAL) {
244 if (mOrientation == BaseGridView.HORIZONTAL) {
258 if (mOrientation == BaseGridView.HORIZONTAL) {
290 if (mOrientation == BaseGridView.HORIZONTAL) {
358 mOrientation = BaseGridView.HORIZONTAL;
376 mOrientation
[all...]
H A DGridActivity.java80 int mOrientation; field in class:GridActivity
102 mOrientation = mGridView instanceof HorizontalGridView ? BaseGridView.HORIZONTAL :
165 if (mOrientation == BaseGridView.HORIZONTAL) {
390 if (mOrientation == BaseGridView.HORIZONTAL) {
/frameworks/support/v4/java/android/support/v4/print/
H A DPrintHelper.java117 int mOrientation = ORIENTATION_LANDSCAPE; field in class:PrintHelper.PrintHelperStubImpl
134 public void setOrientation(int orientation) { mOrientation = orientation; }
137 public int getOrientation() { return 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/native/services/surfaceflinger/
H A DDisplayDevice.h116 int getOrientation() const { return mOrientation; }
216 int mOrientation; member in class:android::DisplayDevice
H A DDisplayDevice.cpp87 mOrientation(),
368 switch (mOrientation) {
494 mOrientation = orientation;
509 mOrientation, tr.getType(), getPageFlipCount(),
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerTest.java82 mAdapter = new GridTestAdapter(config.mItemCount, config.mOrientation);
87 config.mOrientation);
186 if (config.mOrientation == HORIZONTAL) {
206 final int size = config.mOrientation == HORIZONTAL ? child.getWidth()
242 View child1 = mLayoutManager.findViewByPosition(config.mOrientation == VERTICAL ? 1
247 if (config.mOrientation == VERTICAL || !config.mReverseLayout) {
553 if (config.mOrientation == LinearLayoutManager.HORIZONTAL) {
582 if (config.mOrientation == HORIZONTAL) {
924 if (config.mOrientation == HORIZONTAL) {
943 if(config.mOrientation
2139 int mOrientation; field in class:StaggeredGridLayoutManagerTest.GridTestAdapter
2252 int mOrientation = OrientationHelper.VERTICAL; field in class:StaggeredGridLayoutManagerTest.Config
[all...]
H A DGridLayoutManagerTest.java75 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation,
177 if (config.mOrientation == HORIZONTAL) {
195 if (config.mOrientation == HORIZONTAL) {
208 final int size = config.mOrientation == HORIZONTAL ? child.getWidth()
228 if (oneLine && config.mOrientation != VERTICAL) {
256 final int secondChildPos = config.mOrientation == VERTICAL ? 1
263 if (config.mOrientation == VERTICAL || !config.mReverseLayout) {
322 final boolean vertical = config.mOrientation == GridLayoutManager.VERTICAL;
627 if (config.mOrientation == HORIZONTAL) {
643 if (config.mOrientation
1042 int mOrientation = GridLayoutManager.VERTICAL; field in class:GridLayoutManagerTest.Config
[all...]
H A DLinearLayoutManagerTest.java99 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation,
176 if (config.mOrientation == HORIZONTAL) {
192 if (config.mOrientation == HORIZONTAL) {
363 if (config.mOrientation == HORIZONTAL) {
422 .createOrientationHelper(mLayoutManager, config.mOrientation);
551 if (config.mOrientation == HORIZONTAL) {
800 if (config.mOrientation == HORIZONTAL) {
884 config.mOrientation = 1 - config.mOrientation;
885 mLayoutManager.setOrientation(config.mOrientation);
1557 int mOrientation = VERTICAL; field in class:LinearLayoutManagerTest.Config
[all...]
/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java94 int mOrientation = ORIENTATION_LANDSCAPE; field in class:PrintHelperKitkat
143 mOrientation = orientation;
153 return mOrientation;
481 if (mOrientation == ORIENTATION_LANDSCAPE) {
483 } else if (mOrientation == ORIENTATION_PORTRAIT) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java122 if (mOrientation == HORIZONTAL) {
134 if (mOrientation == VERTICAL) {
153 if (mOrientation == HORIZONTAL) {
477 if (mOrientation == VERTICAL) {
498 if (mOrientation == VERTICAL) {
509 if (mOrientation == VERTICAL) {
529 if (mOrientation == VERTICAL) {
567 if (capBothSpecs || mOrientation == VERTICAL) {
571 if (capBothSpecs || mOrientation == HORIZONTAL) {
603 if (mOrientation
[all...]
H A DLinearLayoutManager.java67 int mOrientation; field in class:LinearLayoutManager
79 * Based on {@link #mOrientation}, an implementation is lazily created in
277 return mOrientation == HORIZONTAL;
285 return mOrientation == VERTICAL;
308 * @see #mOrientation
312 return mOrientation;
326 if (orientation == mOrientation) {
329 mOrientation = orientation;
341 if (mOrientation == VERTICAL || !isLayoutRTL()) {
443 if (mOrientation
[all...]
H A DStaggeredGridLayoutManager.java108 private int mOrientation; field in class:StaggeredGridLayoutManager
224 mOrientation = orientation;
306 final int preferredSpanDir = mOrientation == VERTICAL && isLayoutRTL() ? 1 : -1;
408 if (orientation == mOrientation) {
411 mOrientation = orientation;
513 mPrimaryOrientation = OrientationHelper.createOrientationHelper(this, mOrientation);
515 .createOrientationHelper(this, 1 - mOrientation);
527 if (mOrientation == VERTICAL || !isLayoutRTL()) {
792 if (mOrientation == VERTICAL) {
999 if (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/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java140 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT; field in class:ConfigGenerator
167 config.setScreenOrientationQualifier(new ScreenOrientationQualifier(mOrientation));
184 mOrientation, null, mSoftButtons);
264 mOrientation = orientation;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java95 * if {@link #mOrientation} is horizontal.
115 private int mOrientation; field in class:LinearLayoutCompat
283 if (mOrientation == VERTICAL) {
450 if (mOrientation == VERTICAL) {
546 if (mOrientation == VERTICAL) {
1402 if (mOrientation == VERTICAL) {
1650 if (mOrientation != orientation) {
1651 mOrientation = orientation;
1663 return mOrientation;
1720 if (mOrientation
[all...]
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java103 * if {@link #mOrientation} is horizontal.
127 private int mOrientation; field in class:LinearLayout
340 if (mOrientation == VERTICAL) {
529 if (mOrientation == VERTICAL) {
629 if (mOrientation == VERTICAL) {
1494 if (mOrientation == VERTICAL) {
1600 if (mOrientation == HORIZONTAL) {
1754 if (mOrientation != orientation) {
1755 mOrientation = orientation;
1767 return mOrientation;
[all...]

Completed in 566 milliseconds

12