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

123

/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/opt/bitmap/src/com/android/bitmap/
H A DReusableBitmap.java30 private int mOrientation; field in class:ReusableBitmap
66 return mOrientation;
70 mOrientation = orientation;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerWrapContentWithAspectRatioTest.java113 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL;
155 assertThat("first child dependant size", getSize(itemView1, mConfig.mOrientation),
161 assertThat("second child dependant size", getSize(itemView2, mConfig.mOrientation),
167 assertThat("third child dependant size", getSize(itemView3, mConfig.mOrientation),
201 final int totalScrollSize = getSize(itemView1, mConfig.mOrientation)
202 + getSize(itemView2, mConfig.mOrientation)
203 + getSize(itemView3, mConfig.mOrientation);
205 getSize(mRecyclerView, mConfig.mOrientation), CoreMatchers.is(totalScrollSize));
211 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation,
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 DGridLayoutManagerRtlTest.java74 if (mOneLine && mConfig.mOrientation != VERTICAL) {
99 if (mConfig.mOrientation == HORIZONTAL) {
120 final int secondChildPos = mConfig.mOrientation == VERTICAL ? 1
127 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) {
H A DLinearLayoutManagerWrapContentTest.java50 unspecifiedWithHintTest(mConfig.mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
148 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation,
156 if (mConfig.mOrientation == HORIZONTAL) {
168 if (mConfig.mOrientation == VERTICAL) {
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 DGridLayoutManagerWrapContentWithAspectRatioTest.java96 if (mConfig.mOrientation == VERTICAL) {
107 mLayoutManager, 1 - mConfig.mOrientation);
154 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
166 assertThat(behavior1.getSpec(2, mConfig.mOrientation),
174 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
232 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
244 assertThat(behavior1.getSpec(2, mConfig.mOrientation),
252 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
316 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
324 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
[all...]
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 DGridLayoutManagerCustomSizeInScrollDirectionTest.java84 if (mConfig.mOrientation == HORIZONTAL) {
102 if (mConfig.mOrientation == HORIZONTAL) {
116 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth()
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java96 new GridTestAdapter(mConfig.mItemCount, mConfig.mOrientation) {
102 if (mOrientation == HORIZONTAL) {
125 View child1 = mLayoutManager.findViewByPosition(mConfig.mOrientation == VERTICAL ? 1
130 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) {
265 config.mOrientation);
359 if (mConfig.mOrientation == LinearLayoutManager.HORIZONTAL) {
388 if (mConfig.mOrientation == HORIZONTAL) {
409 if (config.mOrientation == HORIZONTAL) {
429 if (config.mOrientation == HORIZONTAL) {
443 if (config.mOrientation
[all...]
H A DLinearLayoutManagerSavedStateTest.java149 config.mOrientation = 1 - config.mOrientation;
150 layoutManager().setOrientation(config.mOrientation);
307 mConfig.mOrientation, mConfig.mReverseLayout);
331 mConfig.mOrientation, mLayoutManager.getOrientation());
H A DLinearLayoutManagerPrepareForDropTest.java107 if (config.mOrientation == HORIZONTAL) {
142 if (config.mOrientation == HORIZONTAL) {
H A DGridLayoutManagerCachedBordersTest.java53 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL;
H A DLinearLayoutManagerResizeTest.java78 if (config.mOrientation == HORIZONTAL) {
/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/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/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java117 if (mOrientation == HORIZONTAL) {
131 if (mOrientation == VERTICAL) {
152 if (mOrientation == HORIZONTAL) {
226 if (mOrientation == HORIZONTAL) {
291 if (mOrientation == VERTICAL) {
569 mOrientation == HORIZONTAL ? lp.height : lp.width,
573 mOrientation == VERTICAL ? lp.height : lp.width, true);
575 if (mOrientation == VERTICAL) {
604 mOrientation == HORIZONTAL ? lp.height : lp.width, false);
607 mOrientation
[all...]
/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/support/v17/tests/src/android/support/v17/leanback/widget/
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/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.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; }

Completed in 497 milliseconds

123