/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/ |
D | PipSurfaceTransactionHelper.java | 45 Rect sourceBounds, Rect destinationBounds) { in scale() argument 48 mTmpSourceRectF.set(sourceBounds); in scale() 52 final float cornerRadius = getScaledCornerRadius(sourceBounds, destinationBounds); in scale() 57 positionX, positionY, mTmpFloat9, 0 /* rotation */, cornerRadius, sourceBounds); in scale() 62 Rect sourceBounds, Rect destinationBounds, in scale() argument 64 mTmpSourceRectF.set(sourceBounds); in scale() 69 final float cornerRadius = getScaledCornerRadius(sourceBounds, destinationBounds); in scale() 74 positionX, positionY, mTmpFloat9, degree, cornerRadius, sourceBounds); in scale() 79 Rect sourceBounds, Rect destinationBounds, Rect insets) { in scaleAndCrop() argument 80 mTmpSourceRectF.set(sourceBounds); in scaleAndCrop() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipSurfaceTransactionHelper.java | 75 Rect sourceBounds, Rect destinationBounds) { in scale() argument 76 return scale(tx, leash, sourceBounds, destinationBounds, 0 /* degrees */); in scale() 84 Rect sourceBounds, Rect destinationBounds, float degrees) { in scale() argument 85 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() [all …]
|
D | PipBoundsAlgorithm.java | 175 public static Rect getValidSourceHintRect(PictureInPictureParams params, Rect sourceBounds) { in getValidSourceHintRect() argument 179 if (sourceHintRect != null && sourceBounds.contains(sourceHintRect)) { in getValidSourceHintRect()
|
/frameworks/base/core/java/android/content/pm/ |
D | ILauncherApps.aidl | 55 in Rect sourceBounds, in Bundle opts, in UserHandle user); in startSessionDetailsActivityAsUser() argument 57 String callingFeatureId, in ComponentName component, in Rect sourceBounds, in startActivityAsUser() argument 62 String callingFeatureId, in ComponentName component, in Rect sourceBounds, in showAppDetailsAsUser() argument 79 in Rect sourceBounds, in Bundle startActivityOptions, int userId); in startShortcut() argument
|
D | LauncherApps.java | 790 public void startMainActivity(ComponentName component, UserHandle user, Rect sourceBounds, in startMainActivity() argument 799 component, sourceBounds, opts, user); in startMainActivity() local 813 @Nullable Rect sourceBounds, @Nullable Bundle opts) { in startPackageInstallerSessionDetailsActivity() argument 817 sourceBounds, opts, sessionInfo.getUser()); in startPackageInstallerSessionDetailsActivity() local 833 Rect sourceBounds, Bundle opts) { in startAppDetailsActivity() argument 838 component, sourceBounds, opts, user); in startAppDetailsActivity() local 1515 @Nullable Rect sourceBounds, @Nullable Bundle startActivityOptions, in startShortcut() argument 1519 startShortcut(packageName, shortcutId, sourceBounds, startActivityOptions, in startShortcut() 1539 @Nullable Rect sourceBounds, @Nullable Bundle startActivityOptions) { in startShortcut() argument 1541 sourceBounds, startActivityOptions, in startShortcut() local [all …]
|
/frameworks/base/tests/MirrorSurfaceTest/src/com/google/android/test/mirrorsurface/ |
D | MirrorSurfaceActivity.java | 313 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/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | WindowMagnificationConnectionImpl.java | 104 void onSourceBoundsChanged(int displayId, Rect sourceBounds) { in onSourceBoundsChanged() argument 107 mConnectionCallback.onSourceBoundsChanged(displayId, sourceBounds); in onSourceBoundsChanged()
|
D | WindowMagnifierCallback.java | 39 void onSourceBoundsChanged(int displayId, Rect sourceBounds); in onSourceBoundsChanged() argument
|
D | WindowMagnification.java | 205 public void onSourceBoundsChanged(int displayId, Rect sourceBounds) { in onSourceBoundsChanged() argument 207 mWindowMagnificationConnectionImpl.onSourceBoundsChanged(displayId, sourceBounds); in onSourceBoundsChanged()
|
/frameworks/base/core/java/android/app/ |
D | SearchManager.java | 625 Rect sourceBounds) { in startSearch() argument 627 startGlobalSearch(initialQuery, selectInitialQuery, appSearchData, sourceBounds); in startSearch() 652 Bundle appSearchData, Rect sourceBounds) { in startGlobalSearch() argument 678 intent.setSourceBounds(sourceBounds); in startGlobalSearch()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | IWindowMagnificationConnectionCallback.aidl | 52 void onSourceBoundsChanged(int displayId, in Rect sourceBounds); in onSourceBoundsChanged() argument
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | WindowMagnificationManager.java | 534 public void onSourceBoundsChanged(int displayId, Rect sourceBounds) { in onSourceBoundsChanged() argument 540 magnifier.onSourceBoundsChanged(sourceBounds); in onSourceBoundsChanged() 674 public void onSourceBoundsChanged(Rect sourceBounds) { in onSourceBoundsChanged() argument 675 mSourceBounds.set(sourceBounds); in onSourceBoundsChanged()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 971 String shortcutId, Rect sourceBounds, Bundle startActivityOptions, in startShortcut() argument 1001 intents[0].setSourceBounds(sourceBounds); in startShortcut() 1079 Rect sourceBounds, Bundle opts, UserHandle userHandle) throws RemoteException { in startSessionDetailsActivityAsUser() argument 1093 i.setSourceBounds(sourceBounds); in startSessionDetailsActivityAsUser() 1128 String callingFeatureId, ComponentName component, Rect sourceBounds, in startActivityAsUser() argument 1139 launchIntent.setSourceBounds(sourceBounds); in startActivityAsUser() 1200 Rect sourceBounds, Bundle opts, UserHandle user) throws RemoteException { in showAppDetailsAsUser() argument 1220 intent.setSourceBounds(sourceBounds); in showAppDetailsAsUser()
|