/frameworks/native/include/ui/ |
D | Rotation.h | 23 enum class Rotation { Rotation0 = 0, Rotation90 = 1, Rotation180 = 2, Rotation270 = 3 }; enum 26 constexpr auto ROTATION_0 = Rotation::Rotation0; 27 constexpr auto ROTATION_90 = Rotation::Rotation90; 28 constexpr auto ROTATION_180 = Rotation::Rotation180; 29 constexpr auto ROTATION_270 = Rotation::Rotation270; 31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() 32 return static_cast<Rotation>(rotation); in toRotation() 35 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt() 36 return static_cast<std::underlying_type_t<Rotation>>(rotation); in toRotationInt() 39 constexpr Rotation operator+(Rotation lhs, Rotation rhs) { [all …]
|
D | Transform.h | 114 static constexpr RotationFlags toRotationFlags(Rotation); 115 static constexpr Rotation toRotation(RotationFlags); 140 inline constexpr Transform::RotationFlags Transform::toRotationFlags(Rotation rotation) { in toRotationFlags() 155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 23 enum class Rotation { Rotation0 = 0, Rotation90 = 1, Rotation180 = 2, Rotation270 = 3 }; enum 26 constexpr auto ROTATION_0 = Rotation::Rotation0; 27 constexpr auto ROTATION_90 = Rotation::Rotation90; 28 constexpr auto ROTATION_180 = Rotation::Rotation180; 29 constexpr auto ROTATION_270 = Rotation::Rotation270; 31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() 32 return static_cast<Rotation>(rotation); in toRotation() 35 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt() 36 return static_cast<std::underlying_type_t<Rotation>>(rotation); in toRotationInt() 39 constexpr Rotation operator+(Rotation lhs, Rotation rhs) { [all …]
|
D | Transform.h | 114 static constexpr RotationFlags toRotationFlags(Rotation); 115 static constexpr Rotation toRotation(RotationFlags); 140 inline constexpr Transform::RotationFlags Transform::toRotationFlags(Rotation rotation) { in toRotationFlags() 155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation()
|
D | DisplayState.h | 34 Rotation orientation = ROTATION_0;
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 23 enum class Rotation { Rotation0 = 0, Rotation90 = 1, Rotation180 = 2, Rotation270 = 3 }; enum 26 constexpr auto ROTATION_0 = Rotation::Rotation0; 27 constexpr auto ROTATION_90 = Rotation::Rotation90; 28 constexpr auto ROTATION_180 = Rotation::Rotation180; 29 constexpr auto ROTATION_270 = Rotation::Rotation270; 31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() 32 return static_cast<Rotation>(rotation); in toRotation() 35 constexpr auto toRotationInt(Rotation rotation) { in toRotationInt() 36 return static_cast<std::underlying_type_t<Rotation>>(rotation); in toRotationInt() 39 constexpr Rotation operator+(Rotation lhs, Rotation rhs) { [all …]
|
D | Transform.h | 114 static constexpr RotationFlags toRotationFlags(Rotation); 115 static constexpr Rotation toRotation(RotationFlags); 140 inline constexpr Transform::RotationFlags Transform::toRotationFlags(Rotation rotation) { in toRotationFlags() 155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation()
|
D | DisplayState.h | 34 Rotation orientation = ROTATION_0;
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 40 import com.android.systemui.util.leak.RotationUtils.Rotation in <lambda>() 113 fun getBoundingRectForPrivacyChipForRotation(@Rotation rotation: Int): Rect { in <lambda>() 132 fun getStatusBarContentInsetsForRotation(@Rotation rotation: Int): Rect { in <lambda>() 143 @Rotation rot: Int, in <lambda>() 153 @Rotation targetRotation: Int, in <lambda>() 198 private fun getRotationZeroDisplayBounds(wm: WindowMetrics, @Rotation exactRotation: Int): Rect { in onStatusBarContentInsetsChanged() 243 @Rotation currentRotation: Int, in calculateInsetsForRotationWithRotatedResources() 244 @Rotation targetRotation: Int, in calculateInsetsForRotationWithRotatedResources() 301 @Rotation targetRotation: Int, in getStatusBarLeftRight() 302 @Rotation currentRotation: Int in getStatusBarLeftRight() [all …]
|
/frameworks/base/core/java/android/util/ |
D | RotationUtils.java | 28 import android.view.Surface.Rotation; 40 public static Insets rotateInsets(Insets insets, @Rotation int rotation) { in rotateInsets() 83 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int oldRotation, in rotateBounds() 84 @Rotation int newRotation) { in rotateBounds() 96 public static void rotateBounds(Rect inOutBounds, Rect parentBounds, @Rotation int rotation) { in rotateBounds() 123 @Rotation 137 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | CoordinateTransforms.java | 30 import android.view.Surface.Rotation; 44 public static void transformPhysicalToLogicalCoordinates(@Rotation int rotation, in transformPhysicalToLogicalCoordinates() 74 public static void transformLogicalToPhysicalCoordinates(@Rotation int rotation, in transformLogicalToPhysicalCoordinates() 106 public static void transformToRotation(@Rotation int oldRotation, in transformToRotation() 107 @Rotation int newRotation, DisplayInfo info, Matrix out) { in transformToRotation() 128 public static void transformToRotation(@Rotation int oldRotation, in transformToRotation() 129 @Rotation int newRotation, int newWidth, int newHeight, Matrix out) { in transformToRotation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | RotationUtils.java | 44 public @interface Rotation {}; annotation in RotationUtils 50 @Rotation 66 @Rotation 81 public static String toString(@Rotation int rot) { in toString() 104 public static Resources getResourcesForRotation(@Rotation int rot, Context context) { in getResourcesForRotation()
|
/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/base/core/java/android/view/ |
D | DisplayAdjustments.java | 102 private boolean noFlip(@Surface.Rotation int realRotation) { in noFlip() 112 public void adjustSize(@NonNull Point size, @Surface.Rotation int realRotation) { in adjustSize() 122 public void adjustMetrics(@NonNull DisplayMetrics metrics, @Surface.Rotation int realRotation) { in adjustMetrics() 160 @Surface.Rotation int realRotation, int displayWidth, int displayHeight) { in adjustRoundedCorner() 172 @Surface.Rotation 173 public int getRotation(@Surface.Rotation int realRotation) { in getRotation() 205 @Surface.Rotation 221 public FixedRotationAdjustments(@Surface.Rotation int rotation, int appWidth, int appHeight, in FixedRotationAdjustments()
|
D | PrivacyIndicatorBounds.java | 50 public PrivacyIndicatorBounds(@NonNull Rect[] staticBounds, @Surface.Rotation int rotation) { in PrivacyIndicatorBounds() 67 @Surface.Rotation int rotation) { in updateBoundsForRotation() 107 public PrivacyIndicatorBounds rotate(@Surface.Rotation int rotation) { in rotate()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.h | 92 void setProjection(ui::Rotation orientation, Rect viewport, Rect frame); 94 ui::Rotation getPhysicalOrientation() const { return mPhysicalOrientation; } in getPhysicalOrientation() 95 ui::Rotation getOrientation() const { return mOrientation; } in getOrientation() 215 const ui::Rotation mPhysicalOrientation; 216 ui::Rotation mOrientation = ui::ROTATION_0; 257 ui::Rotation orientation = ui::ROTATION_0; 283 ui::Rotation physicalOrientation{ui::ROTATION_0};
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SeamlessRotator.java | 25 import android.view.Surface.Rotation; 55 public SeamlessRotator(@Rotation int oldRotation, @Rotation int newRotation, DisplayInfo info, in SeamlessRotator() 91 @Rotation
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | ProjectionSpaceTest.cpp | 28 Rect getSideStrip(const Rect& rect, ui::Rotation rotation) { in getSideStrip() 61 space.orientation = ui::Rotation(rotation); in TEST() 136 source.orientation = ui::Rotation(sourceRot); in TEST() 138 dest.orientation = ui::Rotation(destRot); in TEST()
|
/frameworks/av/services/camera/libcameraservice/hidl/ |
D | Convert.cpp | 71 int convertFromHidl(HOutputConfiguration::Rotation rotation) { in convertFromHidl() 73 case HOutputConfiguration::Rotation::R0: in convertFromHidl() 75 case HOutputConfiguration::Rotation::R90: in convertFromHidl() 77 case HOutputConfiguration::Rotation::R180: in convertFromHidl() 79 case HOutputConfiguration::Rotation::R270: in convertFromHidl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | QuickswitchOrientedNavHandle.java | 30 private @Surface.Rotation int mDeltaRotation; 37 public void setDeltaRotation(@Surface.Rotation int rotation) { in setDeltaRotation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowOrientationListenerTest.java | 127 @Surface.Rotation 137 String packageName, @Surface.Rotation int proposedRotation, in resolveRotation() 138 @Surface.Rotation int currentRotation, @DurationMillisLong long timeoutMillis, in resolveRotation()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | ProjectionSpace.h | 49 ui::Rotation orientation = ui::ROTATION_0; 54 ui::Rotation rotation = destination.orientation - orientation; in getTransform()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProviderTest.kt | 29 import com.android.systemui.util.leak.RotationUtils.Rotation 410 @Rotation currentRotation: Int, in assertRects() 411 @Rotation targetRotation: Int in assertRects()
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | utils.h | 39 using HRotation = frameworks::cameraservice::device::V2_0::OutputConfiguration::Rotation; 103 mOutputConfiguration.rotation = OutputConfiguration::Rotation::R0; in OutputConfigurationWrapper()
|