/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | ItemAlignment.java | 31 private int mOrientation; field in ItemAlignment.Axis 34 mOrientation = orientation; in Axis() 41 return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this, mOrientation); in getAlignmentPosition() 45 private int mOrientation = HORIZONTAL; field in ItemAlignment 64 mOrientation = orientation; in setOrientation() 65 if (mOrientation == HORIZONTAL) { in setOrientation() 75 return mOrientation; in getOrientation()
|
D | GridLayoutManager.java | 262 if (mOrientation == HORIZONTAL) { in onTargetFound() 376 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition() 438 int mOrientation = HORIZONTAL; field in GridLayoutManager 724 mOrientation = orientation; in setOrientation() 725 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); in setOrientation() 733 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged() 848 if (mOrientation == VERTICAL) { in setVerticalSpacing() 856 if (mOrientation == HORIZONTAL) { in setHorizontalSpacing() 1049 return mOrientation == HORIZONTAL || mNumRows > 1; in canScrollHorizontally() 1056 return mOrientation == VERTICAL || mNumRows > 1; in canScrollVertically() [all …]
|
D | WindowAlignment.java | 354 private int mOrientation = HORIZONTAL; field in WindowAlignment 373 mOrientation = orientation; in setOrientation() 374 if (mOrientation == HORIZONTAL) { in setOrientation() 384 return mOrientation; in getOrientation()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 80 mState.mOrientation = orientation; in ClipDrawable() 143 state.mOrientation = a.getInt( in updateStateFromTypedArray() 144 R.styleable.ClipDrawable_clipOrientation, state.mOrientation); in updateStateFromTypedArray() 186 if ((mState.mOrientation & HORIZONTAL) != 0) { in draw() 192 if ((mState.mOrientation & VERTICAL) != 0) { in draw() 216 int mOrientation = HORIZONTAL; field in ClipDrawable.ClipState 223 mOrientation = orig.mOrientation; in ClipState()
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 115 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL; in wrapContentAffectsOtherOrientation() 157 assertThat("first child dependant size", getSize(itemView1, mConfig.mOrientation), in wrapContentAffectsOtherOrientation() 163 assertThat("second child dependant size", getSize(itemView2, mConfig.mOrientation), in wrapContentAffectsOtherOrientation() 169 assertThat("third child dependant size", getSize(itemView3, mConfig.mOrientation), in wrapContentAffectsOtherOrientation() 203 final int totalScrollSize = getSize(itemView1, mConfig.mOrientation) in wrapContentAffectsOtherOrientation() 204 + getSize(itemView2, mConfig.mOrientation) in wrapContentAffectsOtherOrientation() 205 + getSize(itemView3, mConfig.mOrientation); in wrapContentAffectsOtherOrientation() 207 getSize(mRecyclerView, mConfig.mOrientation), CoreMatchers.is(totalScrollSize)); in wrapContentAffectsOtherOrientation() 213 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation, in createFromConfig()
|
D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 96 if (mConfig.mOrientation == VERTICAL) { in init() 107 mLayoutManager, 1 - mConfig.mOrientation); in init() 154 assertThat(behavior1.getSpec(1, mConfig.mOrientation), in testChildWithMultipleSpans() 166 assertThat(behavior1.getSpec(2, mConfig.mOrientation), in testChildWithMultipleSpans() 174 assertThat(behavior2.getSpec(1, mConfig.mOrientation), in testChildWithMultipleSpans() 232 assertThat(behavior1.getSpec(1, mConfig.mOrientation), in testChildWithMatchParentInOtherDirection() 244 assertThat(behavior1.getSpec(2, mConfig.mOrientation), in testChildWithMatchParentInOtherDirection() 252 assertThat(behavior2.getSpec(1, mConfig.mOrientation), in testChildWithMatchParentInOtherDirection() 316 assertThat(behavior1.getSpec(1, mConfig.mOrientation), in testAllChildrenWrapContentInOtherDirection() 324 assertThat(behavior2.getSpec(1, mConfig.mOrientation), in testAllChildrenWrapContentInOtherDirection() [all …]
|
D | FocusSearchNavigationTest.java | 69 private final int mOrientation; field in FocusSearchNavigationTest 73 mOrientation = orientation; in FocusSearchNavigationTest() 107 linearLayout.setOrientation(mOrientation); in setup() 111 layout.setOrientation(mOrientation); in setup() 113 mRecyclerView.setAdapter(new FocusSearchAdapter(itemCount, mOrientation)); in setup() 114 if (mOrientation == VERTICAL) { in setup() 242 private int mOrientation; field in FocusSearchNavigationTest.FocusSearchAdapter 245 mOrientation = orientation; in FocusSearchAdapter() 253 if (mOrientation == VERTICAL) { in onCreateViewHolder()
|
D | StaggeredGridLayoutManagerBaseConfigSetTest.java | 98 new GridTestAdapter(mConfig.mItemCount, mConfig.mOrientation) { in rtlTest() argument 104 if (mOrientation == HORIZONTAL) { in rtlTest() 127 View child1 = mLayoutManager.findViewByPosition(mConfig.mOrientation == VERTICAL ? 1 in rtlTest() 132 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) { in rtlTest() 267 config.mOrientation); in saveRestore() 361 if (mConfig.mOrientation == LinearLayoutManager.HORIZONTAL) { in getFirstLastChildrenTest() 390 if (mConfig.mOrientation == HORIZONTAL) { in getFirstLastChildrenTest() 411 if (config.mOrientation == HORIZONTAL) { in viewSnapTest() 431 if (config.mOrientation == HORIZONTAL) { in viewSnapTest() 445 if (config.mOrientation == VERTICAL) { in viewSnapTest() [all …]
|
D | GridLayoutManagerRtlTest.java | 78 if (mOneLine && mConfig.mOrientation != VERTICAL) { in rtlTest() 103 if (mConfig.mOrientation == HORIZONTAL) { in rtlTest() 124 final int secondChildPos = mConfig.mOrientation == VERTICAL ? 1 in rtlTest() 131 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) { in rtlTest()
|
D | LinearLayoutManagerWrapContentTest.java | 53 unspecifiedWithHintTest(mConfig.mOrientation == StaggeredGridLayoutManager.HORIZONTAL); in testUnspecifiedWithHint() 151 LinearLayoutManager llm = new LinearLayoutManager(getActivity(), mConfig.mOrientation, in createFromConfig() 159 if (mConfig.mOrientation == HORIZONTAL) { in getVerticalGravity() 171 if (mConfig.mOrientation == VERTICAL) { in getHorizontalGravity()
|
D | StaggeredGridLayoutManagerWrapContentTest.java | 41 int mOrientation = StaggeredGridLayoutManager.VERTICAL; field in StaggeredGridLayoutManagerWrapContentTest 61 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL); in testUnspecifiedWithHint() 86 mOrientation = HORIZONTAL; in testSimpleHorizontal() 149 return new StaggeredGridLayoutManager(3, mOrientation); in createLayoutManager()
|
D | LinearLayoutManagerCacheTest.java | 106 if ((config.mOrientation == HORIZONTAL && mDx == 0) in cacheAndPrefetch() 107 || (config.mOrientation == VERTICAL && mDy == 0)) { in cacheAndPrefetch() 110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0; in cacheAndPrefetch()
|
D | GridLayoutManagerCacheTest.java | 116 if ((config.mOrientation == HORIZONTAL && mDx == 0) in cacheAndPrefetch() 117 || (config.mOrientation == VERTICAL && mDy == 0)) { in cacheAndPrefetch() 122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0; in cacheAndPrefetch()
|
D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 88 if (mConfig.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 106 if (mConfig.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 120 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth() in customSizeInScrollDirectionTest()
|
D | LinearLayoutManagerSavedStateTest.java | 150 config.mOrientation = 1 - config.mOrientation; in params() 151 layoutManager().setOrientation(config.mOrientation); in params() 308 mConfig.mOrientation, mConfig.mReverseLayout); in savedStateTest() 332 mConfig.mOrientation, mLayoutManager.getOrientation()); in savedStateTest()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 91 protected int mOrientation; field in GridWidgetTest 98 if (mOrientation == BaseGridView.HORIZONTAL) { 199 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToBegin() 209 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToBegin() 224 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToEnd() 234 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToEnd() 255 if (mOrientation == BaseGridView.HORIZONTAL) { in sortByRows() 291 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyMargin() 305 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyBeginAligned() 337 if (mOrientation == BaseGridView.HORIZONTAL) { in getEndEdges() [all …]
|
/frameworks/av/include/media/ |
D | MicrophoneInfo.h | 53 mOrientation.push_back(characteristic.orientation.x); in MicrophoneInfo() 54 mOrientation.push_back(characteristic.orientation.y); in MicrophoneInfo() 55 mOrientation.push_back(characteristic.orientation.z); in MicrophoneInfo() 84 RETURN_IF_FAILED(writeFloatVector(parcel, mOrientation)); in writeToParcel() 113 RETURN_IF_FAILED(readFloatVector(parcel, &mOrientation, 3)); in readFromParcel() 178 return mOrientation; in getOrientation() 237 Vector<float> mOrientation; variable
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
D | RemoteHardwareConfig.java | 39 private ScreenOrientation mOrientation; field in RemoteHardwareConfig 61 mOrientation = orientation; in RemoteHardwareConfig() 69 mOrientation, mScreenRoundness, mHasSoftwareButtons); in getHardwareConfig()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | ReusableBitmap.java | 30 private int mOrientation; field in ReusableBitmap 66 return mOrientation; in getOrientation() 70 mOrientation = orientation; in setOrientation()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | DividerItemDecoration.java | 54 private int mOrientation; field in DividerItemDecoration 87 mOrientation = orientation; in setOrientation() 107 if (mOrientation == VERTICAL) { in onDraw() 175 if (mOrientation == VERTICAL) { in getItemOffsets()
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 34 private int mOrientation = ORIENTATION_UNKNOWN; field in OrientationEventListener 141 if (orientation != mOrientation) { in onSensorChanged() 142 mOrientation = orientation; in onSensorChanged()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
D | MediaSource.java | 95 private int mOrientation = 0; field in MediaSource 295 switch (mOrientation) { in process() 319 Log.v(TAG, "OrientationHint = " + mOrientation); in process() 412 if (mOrientation == 0 || mOrientation == 180) { in fieldPortValueUpdated() 516 if (mOrientation == 0 || mOrientation == 180) {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/ |
D | BaseDataBinderTest.java | 31 private int mOrientation; field in BaseDataBinderTest 41 mOrientation = orientation; in BaseDataBinderTest() 47 getActivity().setRequestedOrientation(mOrientation); in setUp()
|
/frameworks/support/print/src/main/java/androidx/print/ |
D | PrintHelper.java | 138 @Orientation int mOrientation = ORIENTATION_LANDSCAPE; field in PrintHelper 214 mOrientation = orientation; in setOrientation() 225 if (Build.VERSION.SDK_INT >= 19 && mOrientation == 0) { in getOrientation() 228 return mOrientation; in getOrientation() 361 if (mOrientation == ORIENTATION_LANDSCAPE || mOrientation == 0) { in printBitmap() 363 } else if (mOrientation == ORIENTATION_PORTRAIT) { in printBitmap() 447 && (!PRINT_ACTIVITY_RESPECTS_ORIENTATION || mOrientation == 0)) { in onLayout()
|
/frameworks/base/media/java/android/media/ |
D | MicrophoneInfo.java | 151 private Coordinate3F mOrientation; field in MicrophoneInfo 178 mOrientation = orientation; in MicrophoneInfo() 288 return mOrientation; in getOrientation()
|