Home
last modified time | relevance | path

Searched refs:mOrientation (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java84 mState.mOrientation = orientation; in ClipDrawable()
147 state.mOrientation = a.getInt( in updateStateFromTypedArray()
148 R.styleable.ClipDrawable_clipOrientation, state.mOrientation); in updateStateFromTypedArray()
190 if ((mState.mOrientation & HORIZONTAL) != 0) { in draw()
196 if ((mState.mOrientation & VERTICAL) != 0) { in draw()
220 int mOrientation = HORIZONTAL; field in ClipDrawable.ClipState
227 mOrientation = orig.mOrientation; in ClipState()
DGradientDrawable.java655 return mGradientState.mOrientation; in getOrientation()
671 mGradientState.mOrientation = orientation; in setOrientation()
1304 switch (st.mOrientation) {
1825 st.mOrientation = Orientation.LEFT_RIGHT;
1828 st.mOrientation = Orientation.BL_TR;
1831 st.mOrientation = Orientation.BOTTOM_TOP;
1834 st.mOrientation = Orientation.BR_TL;
1837 st.mOrientation = Orientation.RIGHT_LEFT;
1840 st.mOrientation = Orientation.TR_BL;
1843 st.mOrientation = Orientation.TOP_BOTTOM;
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DProjectionSpace.h39 ui::Rotation rotation = destination.getOrientation() - mOrientation; in getTransform()
87 mOrientation == other.mOrientation;
94 void setOrientation(ui::Rotation newOrientation) { mOrientation = newOrientation; } in setOrientation()
102 ui::Rotation getOrientation() const { return mOrientation; } in getOrientation()
118 ui::Rotation mOrientation = ui::ROTATION_0; variable
/frameworks/base/core/java/android/window/
DTaskSnapshot.java56 private final int mOrientation; field in TaskSnapshot
106 mOrientation = orientation; in TaskSnapshot()
128 mOrientation = source.readInt();
193 return mOrientation;
287 dest.writeInt(mOrientation);
310 + " mOrientation=" + mOrientation
361 private int mOrientation;
400 mOrientation = orientation;
471 mOrientation,
/frameworks/opt/bitmap/src/com/android/bitmap/
DReusableBitmap.java30 private int mOrientation; field in ReusableBitmap
66 return mOrientation; in getOrientation()
70 mOrientation = orientation; in setOrientation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastUI.java77 private int mOrientation = ORIENTATION_PORTRAIT; field in ToastUI
132 userHandle.getIdentifier(), mOrientation); in showToast()
195 if (newConfig.orientation != mOrientation) { in onConfigChanged()
196 mOrientation = newConfig.orientation; in onConfigChanged()
199 mOrientation == ORIENTATION_PORTRAIT); in onConfigChanged()
200 mToast.onOrientationChange(mOrientation); in onConfigChanged()
/frameworks/native/services/inputflinger/reader/mapper/
DRotaryEncoderInputMapper.cpp32 : InputMapper(deviceContext, readerConfig), mOrientation(ui::ROTATION_0) { in RotaryEncoderInputMapper()
90 mOrientation = internalViewport->orientation; in reconfigure()
92 mOrientation = ui::ROTATION_0; in reconfigure()
130 if (mOrientation == ui::ROTATION_180) { in sync()
DRotaryEncoderInputMapper.h49 ui::Rotation mOrientation; variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayWindow.java52 private final int mOrientation; field in ClipboardOverlayWindow
60 mOrientation = mContext.getResources().getConfiguration().orientation; in ClipboardOverlayWindow()
93 mOnKeyboardChangeListener.accept(insets, mOrientation); in init()
102 if (mContext.getResources().getConfiguration().orientation != mOrientation) { in onConfigurationChanged()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java34 private int mOrientation = ORIENTATION_UNKNOWN; field in OrientationEventListener
141 if (orientation != mOrientation) { in onSensorChanged()
142 mOrientation = orientation; in onSensorChanged()
/frameworks/av/services/camera/libcameraservice/common/
DDepthPhotoProcessor.h46 DepthPhotoOrientation mOrientation; member
64 mOrientation(DepthPhotoOrientation::DEPTH_ORIENTATION_0_DEGREES) {}
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DMediaSource.java95 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/base/packages/SystemUI/src/com/android/keyguard/
DNumPadButton.java43 private int mOrientation; field in NumPadButton
55 mOrientation = newConfig.orientation; in onConfigurationChanged()
69 || mOrientation == Configuration.ORIENTATION_LANDSCAPE; in onMeasure()
DNumPadKey.java59 private int mOrientation; field in NumPadKey
146 mOrientation = newConfig.orientation; in onConfigurationChanged()
190 || mOrientation == Configuration.ORIENTATION_LANDSCAPE; in onMeasure()
/frameworks/base/media/java/android/media/
DMicrophoneInfo.java153 private Coordinate3F mOrientation; field in MicrophoneInfo
181 mOrientation = orientation; in MicrophoneInfo()
294 return mOrientation; in getOrientation()
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java65 int mOrientation; field in LinearLayoutManager
281 return mOrientation == HORIZONTAL; in canScrollHorizontally()
289 return mOrientation == VERTICAL; in canScrollVertically()
315 return mOrientation; in getOrientation()
329 if (orientation == mOrientation) { in setOrientation()
332 mOrientation = orientation; in setOrientation()
344 if (mOrientation == VERTICAL || !isLayoutRTL()) { in resolveShouldLayoutReverse()
449 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition()
961 mOrientationHelper = OrientationHelper.createOrientationHelper(this, mOrientation); in ensureLayoutState()
1033 if (mOrientation == VERTICAL) { in scrollHorizontallyBy()
[all …]
DGridLayoutManager.java120 if (mOrientation == HORIZONTAL) { in getRowCountForAccessibility()
133 if (mOrientation == VERTICAL) { in getColumnCountForAccessibility()
153 if (mOrientation == HORIZONTAL) { in onInitializeAccessibilityNodeInfoForItem()
225 if (mOrientation == HORIZONTAL) { in generateDefaultLayoutParams()
290 if (mOrientation == VERTICAL) { in setMeasuredDimension()
342 if (mOrientation == VERTICAL && isLayoutRTL()) { in getSpaceForSpanRange()
626 if (mOrientation == VERTICAL) { in layoutChunk()
642 if (mOrientation == VERTICAL) { in layoutChunk()
662 if (mOrientation == VERTICAL) { in layoutChunk()
711 if (mOrientation == VERTICAL) { in measureChild()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp166 .rotationFlags = ui::Transform::toRotationFlags(mOrientation), in getFrontEndInfo()
248 mIsOrientationChanged = mOrientation != orientation; in setProjection()
249 mOrientation = orientation; in setProjection()
486 if (mOrientation == ui::ROTATION_90 || mOrientation == ui::ROTATION_270) { in animateOverlay()
DDisplayDevice.h110 ui::Rotation getOrientation() const { return mOrientation; } in getOrientation()
230 ui::Rotation mOrientation = ui::ROTATION_0; variable
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java86 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/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java155 private ScreenOrientation mOrientation = ScreenOrientation.PORTRAIT; field in ConfigGenerator
181 config.setScreenOrientationQualifier(new ScreenOrientationQualifier(mOrientation)); in getFolderConfig()
198 mOrientation, null, mSoftButtons); in getHardwareConfig()
278 mOrientation = orientation; in setOrientation()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DOperationContextExt.java50 @Surface.Rotation private int mOrientation = Surface.ROTATION_0; field in OperationContextExt
280 return mOrientation; in getOrientation()
305 mOrientation = biometricContext.getCurrentRotation(); in update()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DGestureConverter.h51 void setOrientation(ui::Rotation orientation) { mOrientation = orientation; } in setOrientation()
105 ui::Rotation mOrientation = ui::ROTATION_0; variable
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DNotificationOptimizedLinearLayoutComparisonTest.java199 private final int mOrientation; field in NotificationOptimizedLinearLayoutComparisonTest.TestSpec
227 mOrientation = orientation; in TestSpec()
245 + "mOrientation=" + orientationToString(mOrientation) in toString()
/frameworks/base/core/java/android/widget/
DLinearLayout.java159 private int mOrientation; field in LinearLayout
428 if (mOrientation == VERTICAL) { in onDraw()
617 if (mOrientation == VERTICAL) { in getBaseline()
720 if (mOrientation == VERTICAL) { in onMeasure()
1637 if (mOrientation == VERTICAL) { in onLayout()
1743 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged()
1902 if (mOrientation != orientation) { in setOrientation()
1903 mOrientation = orientation; in setOrientation()
1919 return mOrientation; in getOrientation()
1992 if (mOrientation == HORIZONTAL) { in generateDefaultLayoutParams()
[all …]

12