/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ItemAlignment.java | 35 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 D | WindowAlignment.java | 273 private int mOrientation = HORIZONTAL; field in class:WindowAlignment 292 mOrientation = orientation; 293 if (mOrientation == HORIZONTAL) { 303 return mOrientation;
|
H A D | GridLayoutManager.java | 237 if (mOrientation == HORIZONTAL) { 350 if (mOrientation == HORIZONTAL) { 411 int mOrientation = HORIZONTAL; field in class:GridLayoutManager 649 mOrientation = orientation; 650 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); 657 if (mOrientation == HORIZONTAL) { 767 if (mOrientation == HORIZONTAL) { 775 if (mOrientation == HORIZONTAL) { 936 return mOrientation == HORIZONTAL || mNumRows > 1; 943 return mOrientation [all...] |
/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 | 113 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 D | FocusSearchNavigationTest.java | 65 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 D | GridLayoutManagerCacheTest.java | 115 if ((config.mOrientation == HORIZONTAL && mDx == 0) 116 || (config.mOrientation == VERTICAL && mDy == 0)) { 121 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
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 | 74 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 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 | 96 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 D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 84 if (mConfig.mOrientation == HORIZONTAL) { 102 if (mConfig.mOrientation == HORIZONTAL) { 116 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth()
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 129 if ((config.mOrientation == HORIZONTAL && mDx == 0) 130 || (config.mOrientation == VERTICAL && mDy == 0)) { 135 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 | 53 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation, 108 int mOrientation = GridLayoutManager.VERTICAL; field in class:BaseGridLayoutManagerTest.Config 120 mOrientation = orientation; 125 mOrientation = orientation; 133 ", mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v") +
|
H A D | LinearLayoutManagerSavedStateTest.java | 149 config.mOrientation = 1 - config.mOrientation; 150 layoutManager().setOrientation(config.mOrientation); 307 mConfig.mOrientation, mConfig.mReverseLayout); 331 mConfig.mOrientation, mLayoutManager.getOrientation());
|
/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 | 52 private int mOrientation; field in class:DividerItemDecoration 81 mOrientation = orientation; 101 if (mOrientation == VERTICAL) { 163 if (mOrientation == VERTICAL) {
|
/frameworks/support/core-utils/kitkat/android/support/v4/print/ |
H A D | PrintHelperKitkat.java | 106 int mOrientation; field in class:PrintHelperKitkat 158 mOrientation = orientation; 169 if (mOrientation == 0) { 172 return mOrientation; 512 && (!mPrintActivityRespectsOrientation || mOrientation == 0)) { 594 if (mOrientation == ORIENTATION_LANDSCAPE || mOrientation == 0) { 596 } else if (mOrientation == ORIENTATION_PORTRAIT) {
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
H A D | GridWidgetTest.java | 55 protected int mOrientation; field in class:GridWidgetTest 60 if (mOrientation == BaseGridView.HORIZONTAL) { 191 if (mOrientation == BaseGridView.HORIZONTAL) { 205 if (mOrientation == BaseGridView.HORIZONTAL) { 226 if (mOrientation == BaseGridView.HORIZONTAL) { 262 if (mOrientation == BaseGridView.HORIZONTAL) { 276 if (mOrientation == BaseGridView.HORIZONTAL) { 308 if (mOrientation == BaseGridView.HORIZONTAL) { 376 mOrientation = BaseGridView.HORIZONTAL; 448 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) {
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.h | 130 int getOrientation() const { return mOrientation; } 246 int mOrientation; member in class:android::DisplayDevice
|