/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ItemAlignment.java | 35 private int mOrientation; field in ItemAlignment.Axis 38 mOrientation = orientation; in Axis() 45 return ItemAlignmentFacetHelper.getAlignmentPosition(itemView, this, mOrientation); in getAlignmentPosition() 49 private int mOrientation = HORIZONTAL; field in ItemAlignment 68 mOrientation = orientation; in setOrientation() 69 if (mOrientation == HORIZONTAL) { in setOrientation() 79 return mOrientation; in getOrientation()
|
D | GridLayoutManager.java | 218 if (mOrientation == HORIZONTAL) { in onTargetFound() 331 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition() 389 private int mOrientation = HORIZONTAL; field in GridLayoutManager 613 mOrientation = orientation; in setOrientation() 620 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged() 725 if (mOrientation == HORIZONTAL) { in setVerticalMargin() 733 if (mOrientation == HORIZONTAL) { in setHorizontalMargin() 861 return mOrientation == HORIZONTAL || mNumRows > 1; in canScrollHorizontally() 868 return mOrientation == VERTICAL || mNumRows > 1; in canScrollVertically() 916 return (mOrientation == HORIZONTAL) ? getOpticalLeft(v) : getOpticalTop(v); in getViewMin() [all …]
|
D | WindowAlignment.java | 273 private int mOrientation = HORIZONTAL; field in WindowAlignment 292 mOrientation = orientation; in setOrientation() 293 if (mOrientation == HORIZONTAL) { in setOrientation() 303 return mOrientation; in getOrientation()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 78 mState.mOrientation = orientation; in ClipDrawable() 110 state.mOrientation = a.getInt( in updateStateFromTypedArray() 111 R.styleable.ClipDrawable_clipOrientation, state.mOrientation); in updateStateFromTypedArray() 182 if ((mState.mOrientation & HORIZONTAL) != 0) { in draw() 188 if ((mState.mOrientation & VERTICAL) != 0) { in draw() 204 int mOrientation = HORIZONTAL; field in ClipDrawable.ClipState 211 mOrientation = orig.mOrientation; in ClipState()
|
D | GradientDrawable.java | 475 return mGradientState.mOrientation; in getOrientation() 489 mGradientState.mOrientation = orientation; in setOrientation() 907 switch (st.mOrientation) { 1387 st.mOrientation = Orientation.LEFT_RIGHT; 1390 st.mOrientation = Orientation.BL_TR; 1393 st.mOrientation = Orientation.BOTTOM_TOP; 1396 st.mOrientation = Orientation.BR_TL; 1399 st.mOrientation = Orientation.RIGHT_LEFT; 1402 st.mOrientation = Orientation.TR_BL; 1405 st.mOrientation = Orientation.TOP_BOTTOM; [all …]
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
D | GridWidgetTest.java | 54 protected int mOrientation; field in GridWidgetTest 59 if (mOrientation == BaseGridView.HORIZONTAL) { 173 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToBegin() 187 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToEnd() 208 if (mOrientation == BaseGridView.HORIZONTAL) { in sortByRows() 244 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyMargin() 258 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyBeginAligned() 290 if (mOrientation == BaseGridView.HORIZONTAL) { in getEndEdges() 358 mOrientation = BaseGridView.HORIZONTAL; in testThreeRowHorizontalBasic() 376 mOrientation = BaseGridView.VERTICAL; in testThreeColumnVerticalBasic() [all …]
|
D | GridActivity.java | 80 int mOrientation; field in GridActivity 102 mOrientation = mGridView instanceof HorizontalGridView ? BaseGridView.HORIZONTAL : in createView() 165 if (mOrientation == BaseGridView.HORIZONTAL) { in onCreate() 390 if (mOrientation == BaseGridView.HORIZONTAL) {
|
/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/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/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | StaggeredGridLayoutManagerTest.java | 82 mAdapter = new GridTestAdapter(config.mItemCount, config.mOrientation); in setupByConfig() 87 config.mOrientation); in setupByConfig() 186 if (config.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 206 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() in customSizeInScrollDirectionTest() 242 View child1 = mLayoutManager.findViewByPosition(config.mOrientation == VERTICAL ? 1 in rtlTest() 247 if (config.mOrientation == VERTICAL || !config.mReverseLayout) { in rtlTest() 553 if (config.mOrientation == LinearLayoutManager.HORIZONTAL) { in getFirstLastChildrenTest() 582 if (config.mOrientation == HORIZONTAL) { in getFirstLastChildrenTest() 924 if (config.mOrientation == HORIZONTAL) { in viewSnapTest() 943 if(config.mOrientation == HORIZONTAL) { in viewSnapTest() [all …]
|
D | GridLayoutManagerTest.java | 75 mGlm = new WrappedGridLayoutManager(getActivity(), config.mSpanCount, config.mOrientation, in setupBasic() 177 if (config.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 195 if (config.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 208 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() in customSizeInScrollDirectionTest() 228 if (oneLine && config.mOrientation != VERTICAL) { in rtlTest() 256 final int secondChildPos = config.mOrientation == VERTICAL ? 1 in rtlTest() 263 if (config.mOrientation == VERTICAL || !config.mReverseLayout) { in rtlTest() 322 final boolean vertical = config.mOrientation == GridLayoutManager.VERTICAL; in gridCachedBorderstTest() 627 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest() 643 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest() [all …]
|
D | LinearLayoutManagerTest.java | 99 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation, in setupByConfig() 176 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest() 192 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest() 363 if (config.mOrientation == HORIZONTAL) { in keepFocusOnResizeTest() 422 .createOrientationHelper(mLayoutManager, config.mOrientation); in scrollToPositionWithOffsetTest() 551 if (config.mOrientation == HORIZONTAL) { in stackFromEndTest() 800 if (config.mOrientation == HORIZONTAL) { in getFirstLastChildrenTest() 884 config.mOrientation = 1 - config.mOrientation; in testSavedState() 885 mLayoutManager.setOrientation(config.mOrientation); in testSavedState() 1034 config.mOrientation, config.mReverseLayout); in savedStateTest() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | GridLayoutManager.java | 122 if (mOrientation == HORIZONTAL) { in getRowCountForAccessibility() 134 if (mOrientation == VERTICAL) { in getColumnCountForAccessibility() 153 if (mOrientation == HORIZONTAL) { in onInitializeAccessibilityNodeInfoForItem() 477 if (mOrientation == VERTICAL) { in layoutChunk() 498 if (mOrientation == VERTICAL) { in layoutChunk() 509 if (mOrientation == VERTICAL) { in layoutChunk() 529 if (mOrientation == VERTICAL) { in layoutChunk() 567 if (capBothSpecs || mOrientation == VERTICAL) { in measureChildWithDecorationsAndMargin() 571 if (capBothSpecs || mOrientation == HORIZONTAL) { in measureChildWithDecorationsAndMargin() 603 if (mOrientation == VERTICAL && isLayoutRTL()) { // start from last span in assignSpans()
|
D | LinearLayoutManager.java | 67 int mOrientation; field in LinearLayoutManager 277 return mOrientation == HORIZONTAL; in canScrollHorizontally() 285 return mOrientation == VERTICAL; in canScrollVertically() 312 return mOrientation; in getOrientation() 326 if (orientation == mOrientation) { in setOrientation() 329 mOrientation = orientation; in setOrientation() 341 if (mOrientation == VERTICAL || !isLayoutRTL()) { in resolveShouldLayoutReverse() 443 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition() 932 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); in ensureLayoutState() 1004 if (mOrientation == VERTICAL) { in scrollHorizontallyBy() [all …]
|
D | StaggeredGridLayoutManager.java | 108 private int mOrientation; field in StaggeredGridLayoutManager 224 mOrientation = orientation; in StaggeredGridLayoutManager() 306 final int preferredSpanDir = mOrientation == VERTICAL && isLayoutRTL() ? 1 : -1; in hasGapsToFix() 408 if (orientation == mOrientation) { 411 mOrientation = orientation; 513 mPrimaryOrientation = OrientationHelper.createOrientationHelper(this, mOrientation); 515 .createOrientationHelper(this, 1 - mOrientation); 527 if (mOrientation == VERTICAL || !isLayoutRTL()) { 792 if (mOrientation == VERTICAL) { 999 if (mOrientation == VERTICAL) { [all …]
|
/frameworks/support/v4/java/android/support/v4/print/ |
D | PrintHelper.java | 117 int mOrientation = ORIENTATION_LANDSCAPE; field in PrintHelper.PrintHelperStubImpl 134 public void setOrientation(int orientation) { mOrientation = orientation; } in setOrientation() 137 public int getOrientation() { return mOrientation; } in getOrientation()
|
/frameworks/support/v4/kitkat/android/support/v4/print/ |
D | PrintHelperKitkat.java | 94 int mOrientation = ORIENTATION_LANDSCAPE; field in PrintHelperKitkat 143 mOrientation = orientation; in setOrientation() 153 return mOrientation; in getOrientation() 481 if (mOrientation == ORIENTATION_LANDSCAPE) { in printBitmap() 483 } else if (mOrientation == ORIENTATION_PORTRAIT) { in printBitmap()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureOverlayView.java | 86 private int mOrientation = ORIENTATION_VERTICAL; field in GestureOverlayView 173 mOrientation = a.getInt(R.styleable.GestureOverlayView_orientation, mOrientation); in GestureOverlayView() 201 return mOrientation; in getOrientation() 205 mOrientation = orientation; in setOrientation() 658 (mOrientation == ORIENTATION_VERTICAL ? in touchMove()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | ConfigGenerator.java | 140 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT; field in ConfigGenerator 167 config.setScreenOrientationQualifier(new ScreenOrientationQualifier(mOrientation)); in getFolderConfig() 184 mOrientation, null, mSoftButtons); in getHardwareConfig() 264 mOrientation = orientation; in setOrientation()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 116 int getOrientation() const { return mOrientation; } in getOrientation() 216 int mOrientation; variable
|
D | DisplayDevice.cpp | 87 mOrientation(), in DisplayDevice() 368 switch (mOrientation) { in getOrientationTransform() 494 mOrientation = orientation; in setProjection() 509 mOrientation, tr.getType(), getPageFlipCount(), in dump()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 127 private int mOrientation; field in LinearLayout 340 if (mOrientation == VERTICAL) { in onDraw() 529 if (mOrientation == VERTICAL) { in getBaseline() 629 if (mOrientation == VERTICAL) { in onMeasure() 1494 if (mOrientation == VERTICAL) { in onLayout() 1600 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged() 1754 if (mOrientation != orientation) { in setOrientation() 1755 mOrientation = orientation; in setOrientation() 1767 return mOrientation; in getOrientation() 1829 if (mOrientation == HORIZONTAL) { in generateDefaultLayoutParams() [all …]
|
/frameworks/av/services/camera/libcameraservice/api1/ |
D | CameraClient.cpp | 56 mOrientation = getOrientation(0, mCameraFacing == CAMERA_FACING_FRONT); in CameraClient() 298 native_window_set_buffers_transform(window.get(), mOrientation); in setPreviewWindow() 408 mOrientation); in startPreviewMode() 623 if (mOrientation != orientation) { in sendCommand() 624 mOrientation = orientation; in sendCommand() 627 mOrientation); in sendCommand()
|