Home
last modified time | relevance | path

Searched refs:requestedOrientation (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/securitybulletin/test-apps/TestOverlayRequestManageCredentials/src/android/security/cts/overlay/RequestManageCredentials/
DPocActivity.java40 int requestedOrientation = SCREEN_ORIENTATION_LANDSCAPE; in onCreate() local
42 requestedOrientation = SCREEN_ORIENTATION_PORTRAIT; in onCreate()
45 setRequestedOrientation(requestedOrientation); in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java72 final int requestedOrientation = ORIENTATIONS[mCurrentOrientation]; in onDraw() local
74 requestedOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT in onDraw()
75 || requestedOrientation == ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT; in onDraw()
DPixelCopyViewProducerActivity.java90 final int requestedOrientation = ORIENTATIONS[mCurrentOrientation]; in onDraw() local
92 requestedOrientation == ActivityInfo.SCREEN_ORIENTATION_PORTRAIT in onDraw()
93 || requestedOrientation == ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT; in onDraw()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DAttachedSurfaceControlTest.java172 int requestedOrientation = getRequestedOrientation(mActivity); in testOnBufferTransformHintChangedListener() local
174 requestedOrientation, hint -> transformHintResult[0] = hint); in testOnBufferTransformHintChangedListener()
178 setRequestedOrientation(mActivity, requestedOrientation); in testOnBufferTransformHintChangedListener()
183 requestedOrientation = getRequestedOrientation(mActivity); in testOnBufferTransformHintChangedListener()
185 requestedOrientation, hint -> transformHintResult[1] = hint); in testOnBufferTransformHintChangedListener()
189 setRequestedOrientation(mActivity, requestedOrientation); in testOnBufferTransformHintChangedListener()
205 /* @Configuration.Orientation */ int requestedOrientation) { in setRequestedOrientation() argument
207 Log.d(TAG, "setRequestedOrientation: requestedOrientation=" + requestedOrientation); in setRequestedOrientation()
209 requestedOrientation == ORIENTATION_LANDSCAPE in setRequestedOrientation()
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DRoundedCornerTests.java168 private static int getRotation(@NonNull Activity activity, int requestedOrientation) { in getRotation() argument
173 switch (requestedOrientation) { in getRotation()
188 switch (requestedOrientation) { in getRotation()
203 throw new IllegalArgumentException("Unknown orientation value:" + requestedOrientation); in getRotation()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java3085 public DeviceOrientationCloseable(int requestedOrientation) {
3092 if (ORIENTATION_PORTRAIT == requestedOrientation) {
3094 } else if (ORIENTATION_LANDSCAPE == requestedOrientation) {
3198 public DisplayAspectRatioCloseable(int requestedOrientation, double aspectRatio) {
3199 super(/* sizeScaleFactor */ 1, /* densityScaleFactor */ 1, requestedOrientation,
3208 public DisplayAspectRatioCloseable(int requestedOrientation, double aspectRatio,
3210 super(/* sizeScaleFactor */ 1, /* densityScaleFactor */ 1, requestedOrientation,
3233 final int requestedOrientation, final double aspectRatio,
3255 if (ORIENTATION_UNDEFINED != requestedOrientation && aspectRatio > 0) {
3261 if (ORIENTATION_LANDSCAPE == requestedOrientation) {
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java1809 private void verifyJpegOrientation(Image img, Size jpegSize, int requestedOrientation, in verifyJpegOrientation() argument
1836 boolean needSwap = (requestedOrientation % 180 == 90); in verifyJpegOrientation()
1843 requestedOrientation, getExifOrientationInDegree(exifOrientation)); in verifyJpegOrientation()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java3712 int requestedOrientation = result.get(CaptureResult.JPEG_ORIENTATION); in verifyJpegExifExtraTags() local
3729 boolean needSwap = (requestedOrientation % 180 == 90); in verifyJpegExifExtraTags()
3736 requestedOrientation, getExifOrientationInDegree(exifOrientation, in verifyJpegExifExtraTags()