Searched defs:mOrientation (Results 1 - 25 of 29) sorted by last modified time

12

/frameworks/support/v4/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java89 int mOrientation = ORIENTATION_LANDSCAPE; field in class:PrintHelperKitkat
138 mOrientation = orientation;
148 return mOrientation;
458 if (mOrientation == ORIENTATION_LANDSCAPE) {
460 } else if (mOrientation == ORIENTATION_PORTRAIT) {
/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/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java248 int mOrientation = DEFAULT_ORIENTATION; field in class:GridLayout
304 return mOrientation;
344 if (this.mOrientation != orientation) {
345 this.mOrientation = orientation;
721 final boolean horizontal = (mOrientation == HORIZONTAL);
907 boolean horizontal = (mOrientation == HORIZONTAL);
950 if (mOrientation == HORIZONTAL) {
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java63 int mOrientation; field in class:LinearLayoutManager
75 * Based on {@link #mOrientation}, an implementation is lazily created in
258 return mOrientation == HORIZONTAL;
266 return mOrientation == VERTICAL;
289 * @see #mOrientation
293 return mOrientation;
307 if (orientation == mOrientation) {
310 mOrientation = orientation;
322 if (mOrientation == VERTICAL || !isLayoutRTL()) {
420 if (mOrientation
[all...]
H A DStaggeredGridLayoutManager.java108 private int mOrientation; field in class:StaggeredGridLayoutManager
207 mOrientation = orientation;
287 final int preferredSpanDir = mOrientation == VERTICAL && isLayoutRTL() ? 1 : -1;
389 if (orientation == mOrientation) {
392 mOrientation = orientation;
494 mPrimaryOrientation = OrientationHelper.createOrientationHelper(this, mOrientation);
496 .createOrientationHelper(this, 1 - mOrientation);
508 if (mOrientation == VERTICAL || !isLayoutRTL()) {
764 if (mOrientation == VERTICAL) {
971 if (mOrientation
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerTest.java71 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation,
108 if (config.mOrientation == HORIZONTAL) {
122 final int size = config.mOrientation == HORIZONTAL ? child.getWidth()
631 int mOrientation = GridLayoutManager.VERTICAL; field in class:GridLayoutManagerTest.Config
642 mOrientation = orientation;
647 mOrientation = orientation;
655 ", mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v") +
H A DLinearLayoutManagerTest.java98 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation,
153 .createOrientationHelper(mLayoutManager, config.mOrientation);
282 if (config.mOrientation == HORIZONTAL) {
531 if (config.mOrientation == HORIZONTAL) {
615 config.mOrientation = 1 - config.mOrientation;
616 mLayoutManager.setOrientation(config.mOrientation);
757 config.mOrientation, config.mReverseLayout);
775 config.mOrientation, mLayoutManager.getOrientation());
1099 int mOrientation field in class:LinearLayoutManagerTest.Config
[all...]
H A DStaggeredGridLayoutManagerTest.java80 mAdapter = new GridTestAdapter(config.mItemCount, config.mOrientation);
85 config.mOrientation);
183 if (config.mOrientation == HORIZONTAL) {
203 final int size = config.mOrientation == HORIZONTAL ? child.getWidth()
253 View child1 = mLayoutManager.findViewByPosition(config.mOrientation == VERTICAL ? 1
257 if (config.mOrientation == VERTICAL || !config.mReverseLayout) {
508 if (config.mOrientation == LinearLayoutManager.HORIZONTAL) {
834 if (config.mOrientation == VERTICAL) {
894 mLayoutManager = new WrappedLayoutManager(config.mSpanCount, config.mOrientation);
908 config.mOrientation, mLayoutManage
1825 int mOrientation; field in class:StaggeredGridLayoutManagerTest.GridTestAdapter
1906 int mOrientation = OrientationHelper.VERTICAL; field in class:StaggeredGridLayoutManagerTest.Config
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java203 private int mOrientation = HORIZONTAL; field in class:GridLayoutManager
399 mOrientation = orientation;
406 if (mOrientation == HORIZONTAL) {
512 if (mOrientation == HORIZONTAL) {
520 if (mOrientation == HORIZONTAL) {
601 return mOrientation == HORIZONTAL || mNumRows > 1;
608 return mOrientation == VERTICAL || mNumRows > 1;
656 return (mOrientation == HORIZONTAL) ? getOpticalLeft(v) : getOpticalTop(v);
660 return (mOrientation == HORIZONTAL) ? getOpticalRight(v) : getOpticalBottom(v);
664 return (mOrientation
[all...]
H A DItemAlignment.java35 private int mOrientation; field in class:ItemAlignment.Axis
43 mOrientation = orientation;
95 if (mOrientation == HORIZONTAL) {
144 private int mOrientation = HORIZONTAL; field in class:ItemAlignment
163 mOrientation = orientation;
164 if (mOrientation == HORIZONTAL) {
174 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/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/native/services/inputflinger/
H A DInputReader.h1070 int32_t mOrientation; // orientation for dpad keys member in class:android::KeyboardInputMapper
1162 int32_t mOrientation; member in class:android::CursorInputMapper
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h116 int getOrientation() const { return mOrientation; }
216 int mOrientation; member in class:android::DisplayDevice
/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/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java126 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT; field in class:ConfigGenerator
153 config.setScreenOrientationQualifier(new ScreenOrientationQualifier(mOrientation));
171 mOrientation, mSoftButtons);
251 mOrientation = orientation;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DMultiPaneChallengeLayout.java36 final int mOrientation; field in class:MultiPaneChallengeLayout
74 mOrientation = a.getInt(R.styleable.MultiPaneChallengeLayout_android_orientation,
296 if (mOrientation == HORIZONTAL) {
377 final boolean fixedLayoutHorizontal = fixedLayoutSize && mOrientation == HORIZONTAL;
378 final boolean fixedLayoutVertical = fixedLayoutSize && mOrientation == VERTICAL;
523 if (parent.mOrientation == HORIZONTAL) {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java805 private int mOrientation = -1; field in class:CameraStreamer.CameraRunnable
1261 mOrientation = -1; // Forces recalculation to match display
1394 if (mOrientation != fixedOrientation) {
1395 mOrientation = fixedOrientation;
1396 mCamFrameHandler.onUpdateCameraOrientation(mOrientation);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java74 mState.mOrientation = orientation;
136 state.mOrientation = a.getInt(R.styleable.ClipDrawable_clipOrientation, state.mOrientation);
286 if ((mState.mOrientation & HORIZONTAL) != 0) {
291 if ((mState.mOrientation & VERTICAL) != 0) {
355 int mOrientation = HORIZONTAL; field in class:ClipDrawable.ClipState
374 mOrientation = orig.mOrientation;
H A DGradientDrawable.java473 return mGradientState.mOrientation;
487 mGradientState.mOrientation = orientation;
903 switch (st.mOrientation) {
1363 st.mOrientation = Orientation.LEFT_RIGHT;
1366 st.mOrientation = Orientation.BL_TR;
1369 st.mOrientation = Orientation.BOTTOM_TOP;
1372 st.mOrientation = Orientation.BR_TL;
1375 st.mOrientation = Orientation.RIGHT_LEFT;
1378 st.mOrientation = Orientation.TR_BL;
1381 st.mOrientation
1538 public Orientation mOrientation; field in class:GradientDrawable.GradientState
[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/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/core/java/android/gesture/
H A DGestureOverlayView.java85 private int mOrientation = ORIENTATION_VERTICAL; field in class:GestureOverlayView
172 mOrientation = a.getInt(R.styleable.GestureOverlayView_orientation, mOrientation);
200 return mOrientation;
204 mOrientation = orientation;
655 (mOrientation == ORIENTATION_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/core/java/android/widget/
H A DGridLayout.java263 int mOrientation = DEFAULT_ORIENTATION; field in class:GridLayout
315 return mOrientation;
355 if (this.mOrientation != orientation) {
356 this.mOrientation = orientation;
733 final boolean horizontal = (mOrientation == HORIZONTAL);
1018 boolean horizontal = (mOrientation == HORIZONTAL);
1061 if (mOrientation == HORIZONTAL) {

Completed in 5580 milliseconds

12