/frameworks/native/include/ui/ |
D | Rotation.h | 23 enum class Rotation { enum 33 constexpr auto ROTATION_0 = Rotation::Rotation0; 34 constexpr auto ROTATION_90 = Rotation::Rotation90; 35 constexpr auto ROTATION_180 = Rotation::Rotation180; 36 constexpr auto ROTATION_270 = Rotation::Rotation270; 38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() 39 return static_cast<Rotation>(rotation); in toRotation() 42 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt() 43 return static_cast<std::underlying_type_t<Rotation>>(rotation); in toRotationInt() 46 constexpr Rotation operator+(Rotation lhs, Rotation rhs) { [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 23 enum class Rotation { enum 33 constexpr auto ROTATION_0 = Rotation::Rotation0; 34 constexpr auto ROTATION_90 = Rotation::Rotation90; 35 constexpr auto ROTATION_180 = Rotation::Rotation180; 36 constexpr auto ROTATION_270 = Rotation::Rotation270; 38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() 39 return static_cast<Rotation>(rotation); in toRotation() 42 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt() 43 return static_cast<std::underlying_type_t<Rotation>>(rotation); in toRotationInt() 46 constexpr Rotation operator+(Rotation lhs, Rotation rhs) { [all …]
|
D | Transform.h | 115 static constexpr RotationFlags toRotationFlags(Rotation); 116 static constexpr Rotation toRotation(RotationFlags); 141 inline constexpr Transform::RotationFlags Transform::toRotationFlags(Rotation rotation) { in toRotationFlags() 156 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 23 enum class Rotation { enum 33 constexpr auto ROTATION_0 = Rotation::Rotation0; 34 constexpr auto ROTATION_90 = Rotation::Rotation90; 35 constexpr auto ROTATION_180 = Rotation::Rotation180; 36 constexpr auto ROTATION_270 = Rotation::Rotation270; 38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() 39 return static_cast<Rotation>(rotation); in toRotation() 42 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt() 43 return static_cast<std::underlying_type_t<Rotation>>(rotation); in toRotationInt() 46 constexpr Rotation operator+(Rotation lhs, Rotation rhs) { [all …]
|
D | Transform.h | 115 static constexpr RotationFlags toRotationFlags(Rotation); 116 static constexpr Rotation toRotation(RotationFlags); 141 inline constexpr Transform::RotationFlags Transform::toRotationFlags(Rotation rotation) { in toRotationFlags() 156 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation()
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 31 import android.view.Surface.Rotation; 45 public static Insets rotateInsets(Insets insets, @Rotation int rotation) { in rotateInsets() 88 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int oldRotation, in rotateBounds() 89 @Rotation int newRotation) { in rotateBounds() 101 @Rotation int rotation) { in rotateBounds() 135 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int rotation) { in rotateBounds() 140 @Rotation 141 public static int deltaRotation(@Rotation int oldRotation, @Rotation int newRotation) { in deltaRotation() 153 @Rotation int rotation) { in rotateSurface() 178 public static void rotatePoint(Point inOutPoint, @Rotation int rotation, in rotatePoint() [all …]
|
/frameworks/base/core/java/android/service/rotationresolver/ |
D | RotationResolutionRequest.java | 48 @Surface.Rotation private final int mCurrentRotation; 51 @Surface.Rotation private final int mProposedRotation; 92 @Surface.Rotation int currentRotation, in RotationResolutionRequest() 93 @Surface.Rotation int proposedRotation, in RotationResolutionRequest() 101 Surface.Rotation.class, null, mCurrentRotation); in RotationResolutionRequest() 104 Surface.Rotation.class, null, mProposedRotation); in RotationResolutionRequest() 125 public @Surface.Rotation int getCurrentRotation() { in getCurrentRotation() 133 public @Surface.Rotation int getProposedRotation() { in getProposedRotation() 206 Surface.Rotation.class, null, mCurrentRotation); in RotationResolutionRequest() 209 Surface.Rotation.class, null, mProposedRotation); in RotationResolutionRequest()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotationCoordinator.java | 37 @Surface.Rotation 44 @Surface.Rotation 50 void onDefaultDisplayRotationChanged(@Surface.Rotation int rotation) { in onDefaultDisplayRotationChanged() 58 void setDefaultDisplayDefaultRotation(@Surface.Rotation int rotation) { in setDefaultDisplayDefaultRotation() 62 @Surface.Rotation
|
D | SeamlessRotator.java | 24 import android.view.Surface.Rotation; 54 public SeamlessRotator(@Rotation int oldRotation, @Rotation int newRotation, DisplayInfo info, in SeamlessRotator() 94 @Rotation
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 47 import com.android.systemui.util.leak.RotationUtils.Rotation in <lambda>() 160 @Rotation rotation: Int, in <lambda>() 186 fun getStatusBarContentInsetsForRotation(@Rotation rotation: Int): Insets = in <lambda>() 229 fun getStatusBarContentAreaForRotation(@Rotation rotation: Int): Rect { in <lambda>() 249 @Rotation targetRotation: Int, in <lambda>() 261 @Rotation targetRotation: Int, in <lambda>() 352 fun getStatusBarPaddingTop(@Rotation rotation: Int? = null): Int { in <lambda>() 363 private fun getCacheKey(@Rotation rotation: Int, displayCutout: DisplayCutout?): CacheKey = in <lambda>() 371 @Rotation val rotation: Int, in <lambda>() 384 private fun getRotationZeroDisplayBounds(bounds: Rect, @Rotation exactRotation: Int): Rect { in onStatusBarContentInsetsChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 28 import android.view.Surface.Rotation; 42 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates() 72 public static void transformLogicalToPhysicalCoordinates(@Rotation int rotation, in transformLogicalToPhysicalCoordinates() 104 public static void transformToRotation(@Rotation int oldRotation, in transformToRotation() 105 @Rotation int newRotation, DisplayInfo info, Matrix out) { in transformToRotation() 126 public static void transformToRotation(@Rotation int oldRotation, in transformToRotation() 127 @Rotation int newRotation, int newWidth, int newHeight, Matrix out) { in transformToRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 66 public @interface Rotation {}; annotation in RotationUtils 72 @Rotation 88 @Rotation 103 public static String toString(@Rotation int rot) { in toString() 126 public static Resources getResourcesForRotation(@Rotation int rot, Context context) { in getResourcesForRotation()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/ |
D | SetRequestedOrientationWhilePinned.kt | 22 import android.tools.Rotation 52 private val startingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_0) 53 private val endingBounds = WindowUtils.getDisplayBounds(Rotation.ROTATION_90) 63 .withRotation(Rotation.ROTATION_90) in <lambda>() 83 .withRotation(Rotation.ROTATION_0) in <lambda>() 102 flicker.assertWmEnd { hasRotation(Rotation.ROTATION_90) } in displayEndsAt90Degrees() 155 supportedRotations = listOf(Rotation.ROTATION_0) in taskBarLayerIsVisibleAtStartAndEnd()
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | DisplayState.aidl | 19 import android.gui.Rotation; 25 Rotation orientation = Rotation.Rotation0;
|
D | StaticDisplayInfo.aidl | 21 import android.gui.Rotation; 29 Rotation installOrientation = Rotation.Rotation0;
|
/frameworks/base/core/java/android/rotationresolver/ |
D | RotationResolverInternal.java | 57 String packageName, @Surface.Rotation int proposedRotation, in resolveRotation() 58 @Surface.Rotation int currentRotation, @DurationMillisLong long timeoutMillis, in resolveRotation() 71 void onSuccess(@Surface.Rotation int result); in onSuccess()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 29 ui::Rotation getInverseRotation(ui::Rotation orientation); 31 void rotateDelta(ui::Rotation orientation, float* deltaX, float* deltaY);
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
D | CommonAssertions.kt | 22 import android.tools.Rotation 250 rotation: Rotation in splitAppLayerBoundsSnapToDivider() 261 rotation: Rotation in LayerTraceEntrySubject() 373 rotation: Rotation, in LegacyFlickerTest() 385 rotation: Rotation, in dockedStackPrimaryBoundsIsVisibleAtEnd() 397 rotation: Rotation, in appPairsSecondaryBoundsIsVisibleAtEnd() 409 rotation: Rotation, in LegacyFlickerTest() 420 fun getPrimaryRegion(dividerRegion: Region, rotation: Rotation): Region { in getPrimaryRegion() 439 fun getSecondaryRegion(dividerRegion: Region, rotation: Rotation): Region { in getSecondaryRegion()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 103 void setProjection(ui::Rotation orientation, Rect viewport, Rect frame); 109 ui::Rotation getPhysicalOrientation() const { return mPhysicalOrientation; } in getPhysicalOrientation() 110 ui::Rotation getOrientation() const { return mOrientation; } in getOrientation() 229 const ui::Rotation mPhysicalOrientation; 230 ui::Rotation mOrientation = ui::ROTATION_0; 281 ui::Rotation orientation = ui::ROTATION_0; 312 ui::Rotation physicalOrientation{ui::ROTATION_0};
|
/frameworks/base/tests/FlickerTests/FlickerService/src/com/android/server/wm/flicker/service/close/scenarios/ |
D | CloseAppHomeButton.kt | 21 import android.tools.Rotation 34 abstract class CloseAppHomeButton(val rotation: Rotation = Rotation.ROTATION_0) {
|
D | CloseAppSwipeToHome.kt | 21 import android.tools.Rotation 34 abstract class CloseAppSwipeToHome(val rotation: Rotation = Rotation.ROTATION_0) {
|
D | CloseAppBackButton.kt | 21 import android.tools.Rotation 36 val rotation: Rotation = Rotation.ROTATION_0
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/common/ |
D | ClosePipTransition.kt | 20 import android.tools.Rotation 33 teardown { this.setRotation(Rotation.ROTATION_0) } in <lambda>() 84 supportedRotations = listOf(Rotation.ROTATION_0)
|
/frameworks/hardware/interfaces/automotive/display/aidl/android/frameworks/automotive/display/ |
D | DisplayDesc.aidl | 19 import android.frameworks.automotive.display.Rotation; 47 Rotation orientation;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | ProjectionSpace.h | 39 ui::Rotation rotation = destination.getOrientation() - mOrientation; in getTransform() 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;
|