Searched refs:mOrientation (Results 1 - 25 of 33) 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
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;
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...]
/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/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/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
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...]
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") +
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h116 int getOrientation() const { return mOrientation; }
216 int mOrientation; member in class:android::DisplayDevice
H A DDisplayDevice.cpp75 mOrientation(),
362 switch (mOrientation) {
488 mOrientation = orientation;
503 mOrientation, tr.getType(), getPageFlipCount(),
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java102 if (mOrientation == HORIZONTAL) {
114 if (mOrientation == VERTICAL) {
133 if (mOrientation == HORIZONTAL) {
394 if (mOrientation == VERTICAL) {
413 if (mOrientation == VERTICAL) {
424 if (mOrientation == VERTICAL) {
444 if (mOrientation == VERTICAL) {
513 if (mOrientation == VERTICAL && isLayoutRTL()) { // start from last span
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/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/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/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/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/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/av/services/camera/libcameraservice/api1/
H A DCameraClient.h131 int mOrientation; // Current display orientation member in class:android::CameraClient
H A DCameraClient.cpp56 mOrientation = getOrientation(0, mCameraFacing == CAMERA_FACING_FRONT);
302 native_window_set_buffers_transform(window.get(), mOrientation);
412 mOrientation);
627 if (mOrientation != orientation) {
628 mOrientation = orientation;
631 mOrientation);
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java102 * if {@link #mOrientation} is horizontal.
126 private int mOrientation; field in class:LinearLayout
337 if (mOrientation == VERTICAL) {
512 if (mOrientation == VERTICAL) {
612 if (mOrientation == VERTICAL) {
1465 if (mOrientation == VERTICAL) {
1714 if (mOrientation != orientation) {
1715 mOrientation = orientation;
1727 return mOrientation;
1789 if (mOrientation
[all...]

Completed in 3072 milliseconds

12