Home
last modified time | relevance | path

Searched refs:sourceBounds (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipSurfaceTransactionHelper.java89 Rect sourceBounds, Rect destinationBounds) { in scale() argument
90 mTmpSourceRectF.set(sourceBounds); in scale()
103 Rect sourceBounds, Rect destinationBounds, Rect insets) { in scaleAndCrop() argument
104 mTmpSourceRectF.set(sourceBounds); in scaleAndCrop()
105 mTmpDestinationRect.set(sourceBounds); in scaleAndCrop()
109 final float scale = sourceBounds.width() <= sourceBounds.height() in scaleAndCrop()
110 ? (float) destinationBounds.width() / sourceBounds.width() in scaleAndCrop()
111 : (float) destinationBounds.height() / sourceBounds.height(); in scaleAndCrop()
DPipTaskOrganizer.java402 private Rect getValidSourceHintRect(ActivityManager.RunningTaskInfo info, Rect sourceBounds) { in getValidSourceHintRect() argument
407 if (sourceHintRect != null && sourceBounds.contains(sourceHintRect)) { in getValidSourceHintRect()
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl54 in Rect sourceBounds, in Bundle opts, in UserHandle user); in startSessionDetailsActivityAsUser() argument
56 String callingFeatureId, in ComponentName component, in Rect sourceBounds, in startActivityAsUser() argument
59 String callingFeatureId, in ComponentName component, in Rect sourceBounds, in showAppDetailsAsUser() argument
76 in Rect sourceBounds, in Bundle startActivityOptions, int userId); in startShortcut() argument
DLauncherApps.java738 public void startMainActivity(ComponentName component, UserHandle user, Rect sourceBounds, in startMainActivity() argument
747 component, sourceBounds, opts, user); in startMainActivity() local
761 @Nullable Rect sourceBounds, @Nullable Bundle opts) { in startPackageInstallerSessionDetailsActivity() argument
765 sourceBounds, opts, sessionInfo.getUser()); in startPackageInstallerSessionDetailsActivity() local
781 Rect sourceBounds, Bundle opts) { in startAppDetailsActivity() argument
786 component, sourceBounds, opts, user); in startAppDetailsActivity() local
1437 @Nullable Rect sourceBounds, @Nullable Bundle startActivityOptions, in startShortcut() argument
1441 startShortcut(packageName, shortcutId, sourceBounds, startActivityOptions, in startShortcut()
1461 @Nullable Rect sourceBounds, @Nullable Bundle startActivityOptions) { in startShortcut() argument
1463 sourceBounds, startActivityOptions, in startShortcut() local
[all …]
/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/
DMirrorSurfaceActivity.java313 Rect sourceBounds = getSourceBounds(displayFrame, scale); in updateMirror() local
315 mTransaction.setGeometry(mSurfaceControl, sourceBounds, displayFrame, Surface.ROTATION_0) in updateMirror()
316 .setPosition(mBorderSc, sourceBounds.left, sourceBounds.top) in updateMirror()
322 mSourcePositionText.setText(sourceBounds.left + ", " + sourceBounds.top); in updateMirror()
/frameworks/base/core/java/android/app/
DSearchManager.java624 Rect sourceBounds) { in startSearch() argument
626 startGlobalSearch(initialQuery, selectInitialQuery, appSearchData, sourceBounds); in startSearch()
651 Bundle appSearchData, Rect sourceBounds) { in startGlobalSearch() argument
677 intent.setSourceBounds(sourceBounds); in startGlobalSearch()
DActivityView.java280 @NonNull ActivityOptions options, @Nullable Rect sourceBounds) { in startShortcutActivity() argument
281 mTaskEmbedder.startShortcutActivity(shortcut, options, sourceBounds); in startShortcutActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleTaskView.java74 @NonNull ActivityOptions options, @Nullable Rect sourceBounds) { in startShortcutActivity() argument
75 mTaskEmbedder.startShortcutActivity(shortcut, options, sourceBounds); in startShortcutActivity()
/frameworks/base/core/java/android/window/
DTaskEmbedder.java425 @NonNull ActivityOptions options, @Nullable Rect sourceBounds) { in startShortcutActivity() argument
429 service.startShortcut(shortcut, sourceBounds, options.toBundle()); in startShortcutActivity()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java855 String shortcutId, Rect sourceBounds, Bundle startActivityOptions, in startShortcut() argument
885 intents[0].setSourceBounds(sourceBounds); in startShortcut()
953 Rect sourceBounds, Bundle opts, UserHandle userHandle) throws RemoteException { in startSessionDetailsActivityAsUser() argument
967 i.setSourceBounds(sourceBounds); in startSessionDetailsActivityAsUser()
976 String callingFeatureId, ComponentName component, Rect sourceBounds, in startActivityAsUser() argument
984 launchIntent.setSourceBounds(sourceBounds); in startActivityAsUser()
1037 Rect sourceBounds, Bundle opts, UserHandle user) throws RemoteException { in showAppDetailsAsUser() argument
1049 intent.setSourceBounds(sourceBounds); in showAppDetailsAsUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationController.java277 Rect sourceBounds = getSourceBounds(mMagnificationFrame, mScale); in modifyWindowMagnification() local
288 t.setGeometry(mMirrorSurface, sourceBounds, mTmpRect, Surface.ROTATION_0); in modifyWindowMagnification()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...