Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A 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()
H A DGradientDrawable.java655 return mGradientState.mOrientation; in getOrientation()
671 mGradientState.mOrientation = orientation; in setOrientation()
1304 switch (st.mOrientation) {
1828 st.mOrientation = Orientation.BL_TR;
1834 st.mOrientation = Orientation.BR_TL;
1840 st.mOrientation = Orientation.TR_BL;
1850 st.mOrientation = DEFAULT_ORIENTATION;
2014 public Orientation mOrientation;
2075 mOrientation = orientation;
2084 mOrientation = orig.mOrientation;
[all …]
/aosp14/frameworks/base/core/java/android/window/
H A DTaskSnapshot.java50 private final int mOrientation; field in TaskSnapshot
85 mOrientation = orientation; in TaskSnapshot()
107 mOrientation = source.readInt();
172 return mOrientation;
266 dest.writeInt(mOrientation);
289 + " mOrientation=" + mOrientation
318 private int mOrientation;
357 mOrientation = orientation;
428 mOrientation,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastUI.java73 private int mOrientation = ORIENTATION_PORTRAIT; field in ToastUI
128 userHandle.getIdentifier(), mOrientation); in showToast()
191 if (newConfig.orientation != mOrientation) { in onConfigurationChanged()
192 mOrientation = newConfig.orientation; in onConfigurationChanged()
195 mOrientation == ORIENTATION_PORTRAIT); in onConfigurationChanged()
196 mToast.onOrientationChange(mOrientation); in onConfigurationChanged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A 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()
/aosp14/frameworks/base/core/java/android/view/
H A DOrientationEventListener.java34 private int mOrientation = ORIENTATION_UNKNOWN; field in OrientationEventListener
141 if (orientation != mOrientation) { in onSensorChanged()
142 mOrientation = orientation; in onSensorChanged()
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A 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) {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DNumPadButton.java42 private int mOrientation; field in NumPadButton
54 mOrientation = newConfig.orientation; in onConfigurationChanged()
68 || mOrientation == Configuration.ORIENTATION_LANDSCAPE; in onMeasure()
H A DNumPadKey.java59 private int mOrientation; field in NumPadKey
148 mOrientation = newConfig.orientation; in onConfigurationChanged()
192 || mOrientation == Configuration.ORIENTATION_LANDSCAPE; in onMeasure()
/aosp14/frameworks/base/media/java/android/media/
H A DMicrophoneInfo.java153 private Coordinate3F mOrientation; field in MicrophoneInfo
181 mOrientation = orientation; in MicrophoneInfo()
294 return mOrientation; in getOrientation()
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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()
449 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition()
1033 if (mOrientation == VERTICAL) { in scrollHorizontallyBy()
1045 if (mOrientation == HORIZONTAL) { in scrollVerticallyBy()
1552 if (mOrientation == VERTICAL) { in layoutChunk()
[all …]
H A 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()
H A DSlidingTab.java82 private final int mOrientation; field in SlidingTab
463 mOrientation = a.getInt(R.styleable.SlidingTab_orientation, HORIZONTAL); in SlidingTab()
726 return mOrientation == HORIZONTAL;
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/log/
H A DOperationContextExt.java47 @Surface.Rotation private int mOrientation = Surface.ROTATION_0; field in OperationContextExt
240 return mOrientation; in getOrientation()
253 mOrientation = biometricContext.getCurrentRotation(); in update()
/aosp14/frameworks/base/core/java/android/gesture/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A DBubblePositionerTest.java292 private int mOrientation = ORIENTATION_PORTRAIT; field in BubblePositionerTest.WindowManagerConfig
307 mOrientation = orientation; in setOrientation()
325 mConfiguration.orientation = mOrientation; in setUpConfig()
/aosp14/frameworks/base/core/java/android/widget/
H A 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 …]
H A DGridLayout.java283 int mOrientation = DEFAULT_ORIENTATION; field in GridLayout
341 return mOrientation; in getOrientation()
381 if (this.mOrientation != orientation) { in setOrientation()
382 this.mOrientation = orientation; in setOrientation()
771 final boolean horizontal = (mOrientation == HORIZONTAL); in validateLayoutParams()
1053 boolean horizontal = (mOrientation == HORIZONTAL); in measureChildrenWithMargins()
1096 if (mOrientation == HORIZONTAL) { in onMeasure()
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DCameraStreamer.java805 private int mOrientation = -1; field in CameraStreamer.CameraRunnable
1261 mOrientation = -1; // Forces recalculation to match display in updateCameraOrientation()
1394 if (mOrientation != fixedOrientation) { in onUpdateOrientation()
1395 mOrientation = fixedOrientation; in onUpdateOrientation()
1396 mCamFrameHandler.onUpdateCameraOrientation(mOrientation); in onUpdateOrientation()
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
H A DBackDropperFilter.java122 private int mOrientation = 0; field in BackDropperFilter
974 if (mOrientation == 0 || mOrientation == 180) { in updateBgScaling()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowContainerTests.java1678 private Integer mOrientation; field in WindowContainerTests.TestWindowContainer
1707 mOrientation = orientation; in TestWindowContainer()
1755 return mOrientation != null ? mOrientation : super.getOrientation(candidate); in getOrientation()
1784 private Integer mOrientation; field in WindowContainerTests.TestWindowContainerBuilder
1791 mOrientation = null; in TestWindowContainerBuilder()
1810 mOrientation = orientation; in setOrientation()
1821 mIsWaitTransitStart, mOrientation); in build()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DSplitLayout.java122 private int mOrientation; field in SplitLayout
136 mOrientation = configuration.orientation; in SplitLayout()
304 if (mOrientation == orientation in updateConfiguration()
314 mOrientation = orientation; in updateConfiguration()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
H A DGlobalActionsDialogLite.java253 private int mOrientation; field in GlobalActionsDialogLite
398 mOrientation = resources.getConfiguration().orientation; in GlobalActionsDialogLite()
756 || newConfig.orientation != mOrientation)) { in onConfigChanged()
758 mOrientation = newConfig.orientation; in onConfigChanged()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java305 private int mOrientation; field in VolumeDialogImpl
371 mOrientation = mContext.getResources().getConfiguration().orientation; in VolumeDialogImpl()
386 final boolean isPortrait = mOrientation == Configuration.ORIENTATION_PORTRAIT; in adjustPositionOnScreen()
2306 mOrientation = config.orientation;
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp212 uint16_t mOrientation; member in NativeContext
225 mThumbnailHeight(0), mOrientation(TAG_ORIENTATION_UNKNOWN), mThumbnailSet(false), in NativeContext()
275 mOrientation = orientation; in setOrientation()
279 return mOrientation; in getOrientation()

12