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

123

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DItemAlignment.java31 private int mOrientation; field in class:ItemAlignment.Axis
34 mOrientation = orientation;
41 return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this, mOrientation);
45 private int mOrientation = HORIZONTAL; field in class:ItemAlignment
64 mOrientation = orientation;
65 if (mOrientation == HORIZONTAL) {
75 return mOrientation;
H A DWindowAlignment.java336 private int mOrientation = HORIZONTAL; field in class:WindowAlignment
355 mOrientation = orientation;
356 if (mOrientation == HORIZONTAL) {
366 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.java114 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL;
156 assertThat("first child dependant size", getSize(itemView1, mConfig.mOrientation),
162 assertThat("second child dependant size", getSize(itemView2, mConfig.mOrientation),
168 assertThat("third child dependant size", getSize(itemView3, mConfig.mOrientation),
202 final int totalScrollSize = getSize(itemView1, mConfig.mOrientation)
203 + getSize(itemView2, mConfig.mOrientation)
204 + getSize(itemView3, mConfig.mOrientation);
206 getSize(mRecyclerView, mConfig.mOrientation), CoreMatchers.is(totalScrollSize));
212 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation,
H A DLinearLayoutManagerCacheTest.java106 if ((config.mOrientation == HORIZONTAL && mDx == 0)
107 || (config.mOrientation == VERTICAL && mDy == 0)) {
110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
H A DGridLayoutManagerRtlTest.java76 if (mOneLine && mConfig.mOrientation != VERTICAL) {
101 if (mConfig.mOrientation == HORIZONTAL) {
122 final int secondChildPos = mConfig.mOrientation == VERTICAL ? 1
129 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) {
H A DLinearLayoutManagerWrapContentTest.java53 unspecifiedWithHintTest(mConfig.mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
151 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation,
159 if (mConfig.mOrientation == HORIZONTAL) {
171 if (mConfig.mOrientation == VERTICAL) {
H A DStaggeredGridLayoutManagerWrapContentTest.java42 int mOrientation = StaggeredGridLayoutManager.VERTICAL; field in class:StaggeredGridLayoutManagerWrapContentTest
62 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL);
86 mOrientation = HORIZONTAL;
146 return new StaggeredGridLayoutManager(3, mOrientation);
H A DGridLayoutManagerWrapContentWithAspectRatioTest.java97 if (mConfig.mOrientation == VERTICAL) {
108 mLayoutManager, 1 - mConfig.mOrientation);
155 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
167 assertThat(behavior1.getSpec(2, mConfig.mOrientation),
175 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
233 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
245 assertThat(behavior1.getSpec(2, mConfig.mOrientation),
253 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
317 assertThat(behavior1.getSpec(1, mConfig.mOrientation),
325 assertThat(behavior2.getSpec(1, mConfig.mOrientation),
[all...]
H A DFocusSearchNavigationTest.java67 private final int mOrientation; field in class:FocusSearchNavigationTest
71 mOrientation = orientation;
105 linearLayout.setOrientation(mOrientation);
109 layout.setOrientation(mOrientation);
111 mRecyclerView.setAdapter(new FocusSearchAdapter(itemCount, mOrientation));
112 if (mOrientation == VERTICAL) {
240 private int mOrientation; field in class:FocusSearchNavigationTest.FocusSearchAdapter
243 mOrientation = orientation;
251 if (mOrientation == VERTICAL) {
H A DGridLayoutManagerCacheTest.java116 if ((config.mOrientation == HORIZONTAL && mDx == 0)
117 || (config.mOrientation == VERTICAL && mDy == 0)) {
122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
H A DGridLayoutManagerCustomSizeInScrollDirectionTest.java86 if (mConfig.mOrientation == HORIZONTAL) {
104 if (mConfig.mOrientation == HORIZONTAL) {
118 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth()
H A DStaggeredGridLayoutManagerCacheTest.java130 if ((config.mOrientation == HORIZONTAL && mDx == 0)
131 || (config.mOrientation == VERTICAL && mDy == 0)) {
136 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
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 DBaseGridLayoutManagerTest.java54 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation,
109 int mOrientation = GridLayoutManager.VERTICAL; field in class:BaseGridLayoutManagerTest.Config
121 mOrientation = orientation;
126 mOrientation = orientation;
134 + ",mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v")
H A DLinearLayoutManagerSavedStateTest.java150 config.mOrientation = 1 - config.mOrientation;
151 layoutManager().setOrientation(config.mOrientation);
308 mConfig.mOrientation, mConfig.mReverseLayout);
332 mConfig.mOrientation, mLayoutManager.getOrientation());
H A DLinearLayoutManagerPrepareForDropTest.java130 if (config.mOrientation == HORIZONTAL) {
165 if (config.mOrientation == HORIZONTAL) {
H A DGridLayoutManagerCachedBordersTest.java58 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL;
/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 DDividerItemDecoration.java53 private int mOrientation; field in class:DividerItemDecoration
86 mOrientation = orientation;
106 if (mOrientation == VERTICAL) {
174 if (mOrientation == VERTICAL) {
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridWidgetTest.java84 protected int mOrientation; field in class:GridWidgetTest
91 if (mOrientation == BaseGridView.HORIZONTAL) {
192 if (mOrientation == BaseGridView.HORIZONTAL) {
202 if (mOrientation == BaseGridView.HORIZONTAL) {
217 if (mOrientation == BaseGridView.HORIZONTAL) {
227 if (mOrientation == BaseGridView.HORIZONTAL) {
248 if (mOrientation == BaseGridView.HORIZONTAL) {
284 if (mOrientation == BaseGridView.HORIZONTAL) {
298 if (mOrientation == BaseGridView.HORIZONTAL) {
330 if (mOrientation
[all...]
/frameworks/support/core-utils/kitkat/android/support/v4/print/
H A DPrintHelperKitkat.java108 int mOrientation; field in class:PrintHelperKitkat
160 mOrientation = orientation;
171 if (mOrientation == 0) {
174 return mOrientation;
514 && (!mPrintActivityRespectsOrientation || mOrientation == 0)) {
596 if (mOrientation == ORIENTATION_LANDSCAPE || mOrientation == 0) {
598 } else if (mOrientation == ORIENTATION_PORTRAIT) {
/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) {

Completed in 965 milliseconds

123