Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DITaskStackListener.aidl124 void onActivityRequestedOrientationChanged(int taskId, int requestedOrientation); in onActivityRequestedOrientationChanged() argument
197 void onTaskRequestedOrientationChanged(int taskId, int requestedOrientation); in onTaskRequestedOrientationChanged() argument
DTaskStackListener.java152 public void onActivityRequestedOrientationChanged(int taskId, int requestedOrientation) in onActivityRequestedOrientationChanged() argument
205 public void onTaskRequestedOrientationChanged(int taskId, int requestedOrientation) { in onTaskRequestedOrientationChanged() argument
DActivityClient.java334 public void setRequestedOrientation(IBinder token, int requestedOrientation) { in setRequestedOrientation() argument
336 getActivityClientController().setRequestedOrientation(token, requestedOrientation); in setRequestedOrientation()
DIActivityClientController.aidl100 void setRequestedOrientation(in IBinder token, int requestedOrientation); in setRequestedOrientation() argument
DActivity.java7577 public void setRequestedOrientation(@ActivityInfo.ScreenOrientation int requestedOrientation) {
7578 if (requestedOrientation == mLastRequestedOrientation) {
7582 ActivityClient.getInstance().setRequestedOrientation(mToken, requestedOrientation);
7584 mParent.setRequestedOrientation(requestedOrientation);
7586 mLastRequestedOrientation = requestedOrientation;
DIActivityManager.aidl322 void setRequestedOrientation(in IBinder token, int requestedOrientation); in setRequestedOrientation() argument
/frameworks/base/test-runner/src/android/test/
DActivityUnitTestCase.java291 public void setRequestedOrientation(int requestedOrientation) { in setRequestedOrientation() argument
292 mRequestedOrientation = requestedOrientation; in setRequestedOrientation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskStackChangedListenerTest.java207 int requestedOrientation) { in testActivityRequestedOrientationChanged()
209 params[1] = requestedOrientation; in testActivityRequestedOrientationChanged()
351 public void onTaskRequestedOrientationChanged(int taskId, int requestedOrientation) { in testNotifyTaskRequestedOrientationChanged()
354 taskIdAndOrientation[1] = requestedOrientation; in testNotifyTaskRequestedOrientationChanged()
DRootWindowContainerTests.java423 final int requestedOrientation = task.getConfiguration().orientation in testSingleActivityTaskEnterPip() local
426 doReturn(requestedOrientation).when(activity).getRequestedConfigurationOrientation(); in testSingleActivityTaskEnterPip()
DActivityRecordTests.java583 final int requestedOrientation; in testSetRequestedOrientationUpdatesConfiguration() local
587 requestedOrientation = SCREEN_ORIENTATION_LANDSCAPE; in testSetRequestedOrientationUpdatesConfiguration()
591 requestedOrientation = ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; in testSetRequestedOrientationUpdatesConfiguration()
602 activity.setRequestedOrientation(requestedOrientation); in testSetRequestedOrientationUpdatesConfiguration()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListener.java89 default void onActivityRequestedOrientationChanged(int taskId, int requestedOrientation) { } in onActivityRequestedOrientationChanged() argument
DTaskStackChangeListeners.java302 public void onActivityRequestedOrientationChanged(int taskId, int requestedOrientation) { in onActivityRequestedOrientationChanged() argument
304 requestedOrientation).sendToTarget(); in onActivityRequestedOrientationChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTaskStackListenerCallback.java90 default void onActivityRequestedOrientationChanged(int taskId, int requestedOrientation) { } in onActivityRequestedOrientationChanged() argument
DTaskStackListenerImpl.java252 public void onActivityRequestedOrientationChanged(int taskId, int requestedOrientation) { in onActivityRequestedOrientationChanged() argument
254 requestedOrientation).sendToTarget(); in onActivityRequestedOrientationChanged()
/frameworks/base/core/java/android/webkit/
DWebChromeClient.java110 public void onShowCustomView(View view, int requestedOrientation, in onShowCustomView() argument
/frameworks/base/services/core/java/com/android/server/wm/
DTaskChangeNotificationController.java553 void notifyTaskRequestedOrientationChanged(int taskId, int requestedOrientation) { in notifyTaskRequestedOrientationChanged() argument
555 taskId, requestedOrientation); in notifyTaskRequestedOrientationChanged()
DLetterboxUiController.java358 boolean shouldIgnoreRequestedOrientation(@ScreenOrientation int requestedOrientation) { in shouldIgnoreRequestedOrientation() argument
363 + screenOrientationToString(requestedOrientation) in shouldIgnoreRequestedOrientation()
370 + screenOrientationToString(requestedOrientation) in shouldIgnoreRequestedOrientation()
378 + screenOrientationToString(requestedOrientation) in shouldIgnoreRequestedOrientation()
DWindowContainer.java1573 @ScreenOrientation int requestedOrientation) { in getRequestedConfigurationOrientation() argument
1583 requestedOrientation = reverseOrientation(requestedOrientation); in getRequestedConfigurationOrientation()
1586 if (requestedOrientation == ActivityInfo.SCREEN_ORIENTATION_NOSENSOR) { in getRequestedConfigurationOrientation()
1591 } else if (requestedOrientation == ActivityInfo.SCREEN_ORIENTATION_LOCKED) { in getRequestedConfigurationOrientation()
1594 } else if (isFixedOrientationLandscape(requestedOrientation)) { in getRequestedConfigurationOrientation()
1596 } else if (isFixedOrientationPortrait(requestedOrientation)) { in getRequestedConfigurationOrientation()
DActivityRecord.java8101 @ActivityInfo.ScreenOrientation int requestedOrientation) { in getRequestedConfigurationOrientation() argument
8111 if (task != null && requestedOrientation == SCREEN_ORIENTATION_BEHIND) { in getRequestedConfigurationOrientation()
8122 return super.getRequestedConfigurationOrientation(forDisplay, requestedOrientation); in getRequestedConfigurationOrientation()
8160 final int requestedOrientation = getRequestedConfigurationOrientation(); in onCancelFixedRotationTransform() local
8161 if (requestedOrientation != ORIENTATION_UNDEFINED in onCancelFixedRotationTransform()
8162 && requestedOrientation != mDisplayContent.getConfiguration().orientation) { in onCancelFixedRotationTransform()
8180 void setRequestedOrientation(@ActivityInfo.ScreenOrientation int requestedOrientation) { in setRequestedOrientation() argument
8181 if (mLetterboxUiController.shouldIgnoreRequestedOrientation(requestedOrientation)) { in setRequestedOrientation()
8187 if (getRequestedConfigurationOrientation(false, requestedOrientation) in setRequestedOrientation()
8195 ActivityInfo.screenOrientationToString(requestedOrientation), this); in setRequestedOrientation()
[all …]
DActivityClientController.java822 public void setRequestedOrientation(IBinder token, int requestedOrientation) { in setRequestedOrientation() argument
828 EventLogTags.writeWmSetRequestedOrientation(requestedOrientation, in setRequestedOrientation()
830 r.setRequestedOrientation(requestedOrientation); in setRequestedOrientation()
DWindowManagerService.java4466 int mapOrientationRequest(int requestedOrientation) { in mapOrientationRequest() argument
4468 return requestedOrientation; in mapOrientationRequest()
4470 return mOrientationMapping.get(requestedOrientation, requestedOrientation); in mapOrientationRequest()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
DRotationButtonController.java703 public void onActivityRequestedOrientationChanged(int taskId, int requestedOrientation) { in onActivityRequestedOrientationChanged() argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2029 int requestedOrientation = result.get(CaptureResult.JPEG_ORIENTATION); in verifyJpegExifExtraTags() local
2046 boolean needSwap = (requestedOrientation % 180 == 90); in verifyJpegExifExtraTags()
2053 requestedOrientation, getExifOrientationInDegree(exifOrientation, in verifyJpegExifExtraTags()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java3376 public void setRequestedOrientation(IBinder token, int requestedOrientation) { in setRequestedOrientation() argument
3377 ActivityClient.getInstance().setRequestedOrientation(token, requestedOrientation); in setRequestedOrientation()