/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ItemAlignment.java | 31 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 D | WindowAlignment.java | 354 private int mOrientation = HORIZONTAL; field in class:WindowAlignment 373 mOrientation = orientation; 374 if (mOrientation == HORIZONTAL) { 384 return mOrientation;
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ReusableBitmap.java | 30 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 D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 114 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 D | LinearLayoutManagerCacheTest.java | 106 if ((config.mOrientation == HORIZONTAL && mDx == 0) 107 || (config.mOrientation == VERTICAL && mDy == 0)) { 110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | GridLayoutManagerRtlTest.java | 76 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 D | LinearLayoutManagerWrapContentTest.java | 53 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 D | StaggeredGridLayoutManagerWrapContentTest.java | 42 int mOrientation = StaggeredGridLayoutManager.VERTICAL; field in class:StaggeredGridLayoutManagerWrapContentTest 62 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL); 86 mOrientation = HORIZONTAL; 146 return new StaggeredGridLayoutManager(3, mOrientation);
|
H A D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 97 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 D | FocusSearchNavigationTest.java | 67 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 D | GridLayoutManagerCacheTest.java | 116 if ((config.mOrientation == HORIZONTAL && mDx == 0) 117 || (config.mOrientation == VERTICAL && mDy == 0)) { 122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 86 if (mConfig.mOrientation == HORIZONTAL) { 104 if (mConfig.mOrientation == HORIZONTAL) { 118 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth()
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 130 if ((config.mOrientation == HORIZONTAL && mDx == 0) 131 || (config.mOrientation == VERTICAL && mDy == 0)) { 136 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 96 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 D | BaseGridLayoutManagerTest.java | 54 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 D | LinearLayoutManagerSavedStateTest.java | 150 config.mOrientation = 1 - config.mOrientation; 151 layoutManager().setOrientation(config.mOrientation); 308 mConfig.mOrientation, mConfig.mReverseLayout); 332 mConfig.mOrientation, mLayoutManager.getOrientation());
|
H A D | LinearLayoutManagerPrepareForDropTest.java | 130 if (config.mOrientation == HORIZONTAL) { 165 if (config.mOrientation == HORIZONTAL) {
|
H A D | GridLayoutManagerCachedBordersTest.java | 58 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 80 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 D | OrientationEventListener.java | 34 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 D | BaseDataBinderTest.java | 31 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 D | DividerItemDecoration.java | 53 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 D | GridWidgetTest.java | 86 protected int mOrientation; field in class:GridWidgetTest 93 if (mOrientation == BaseGridView.HORIZONTAL) { 194 if (mOrientation == BaseGridView.HORIZONTAL) { 204 if (mOrientation == BaseGridView.HORIZONTAL) { 219 if (mOrientation == BaseGridView.HORIZONTAL) { 229 if (mOrientation == BaseGridView.HORIZONTAL) { 250 if (mOrientation == BaseGridView.HORIZONTAL) { 286 if (mOrientation == BaseGridView.HORIZONTAL) { 300 if (mOrientation == BaseGridView.HORIZONTAL) { 332 if (mOrientation [all...] |
/frameworks/support/core-utils/java/android/support/v4/print/ |
H A D | PrintHelper.java | 151 @Orientation int mOrientation = ORIENTATION_LANDSCAPE; field in class:PrintHelper.PrintHelperStub 177 mOrientation = orientation; 183 return mOrientation; 222 @Orientation int mOrientation; field in class:PrintHelper.PrintHelperApi19 279 mOrientation = orientation; 292 if (mOrientation == 0) { 295 return mOrientation; 642 && (!mPrintActivityRespectsOrientation || mOrientation == 0)) { 726 if (mOrientation == ORIENTATION_LANDSCAPE || mOrientation [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | MediaSource.java | 95 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) {
|