Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/pip/
DPipSurfaceTransactionHelper.java47 Rect sourceBounds, Rect destinationBounds) { in scale() argument
50 mTmpSourceRectF.set(sourceBounds); in scale()
54 final float cornerRadius = getScaledCornerRadius(sourceBounds, destinationBounds); in scale()
60 mTmpFloat9, 0 /* rotation */, cornerRadius, mShadowRadius, sourceBounds); in scale()
65 Rect sourceBounds, Rect destinationBounds, in scale() argument
67 mTmpSourceRectF.set(sourceBounds); in scale()
72 final float cornerRadius = getScaledCornerRadius(sourceBounds, destinationBounds); in scale()
78 mTmpFloat9, degree, cornerRadius, mShadowRadius, sourceBounds); in scale()
83 Rect sourceRectHint, Rect sourceBounds, Rect destinationBounds, Rect insets, in scaleAndCrop() argument
85 mTmpSourceRectF.set(sourceBounds); in scaleAndCrop()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/
DPipSurfaceTransactionHelper.java83 Rect sourceBounds, Rect destinationBounds) { in scale() argument
85 return scale(tx, leash, sourceBounds, mTmpDestinationRectF, 0 /* degrees */); in scale()
93 Rect sourceBounds, RectF destinationBounds) { in scale() argument
94 return scale(tx, leash, sourceBounds, destinationBounds, 0 /* degrees */); in scale()
102 Rect sourceBounds, Rect destinationBounds, float degrees) { in scale() argument
104 return scale(tx, leash, sourceBounds, mTmpDestinationRectF, degrees); in scale()
112 Rect sourceBounds, RectF destinationBounds, float degrees) { in scale() argument
113 mTmpSourceRectF.set(sourceBounds); in scale()
131 Rect sourceBounds, Rect destinationBounds, Rect insets, in scaleAndCrop() argument
133 mTmpDestinationRect.set(sourceBounds); in scaleAndCrop()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipSurfaceTransactionHelper.java83 Rect sourceBounds, Rect destinationBounds) { in scale() argument
85 return scale(tx, leash, sourceBounds, mTmpDestinationRectF, 0 /* degrees */); in scale()
93 Rect sourceBounds, RectF destinationBounds) { in scale() argument
94 return scale(tx, leash, sourceBounds, destinationBounds, 0 /* degrees */); in scale()
102 Rect sourceBounds, Rect destinationBounds, float degrees) { in scale() argument
104 return scale(tx, leash, sourceBounds, mTmpDestinationRectF, degrees); in scale()
112 Rect sourceBounds, RectF destinationBounds, float degrees) { in scale() argument
113 mTmpSourceRectF.set(sourceBounds); in scale()
131 Rect sourceBounds, Rect destinationBounds, Rect insets, in scaleAndCrop() argument
133 mTmpDestinationRect.set(sourceBounds); in scaleAndCrop()
[all …]
DPipAnimationController.java679 final Rect sourceBounds = new Rect(initialContainerRect); in ofBounds() local
680 sourceBounds.inset(insets); in ofBounds()
682 .round(tx, leash, sourceBounds, bounds) in ofBounds()
727 final Rect sourceBounds = new Rect(initialContainerRect); in ofBounds() local
728 sourceBounds.inset(insets); in ofBounds()
735 .round(tx, leash, sourceBounds, bounds) in ofBounds()
DPipTransition.java1156 final Rect sourceBounds = pipTaskInfo.configuration.windowConfiguration.getBounds(); in handleSwipePipToHomeTransition() local
1158 mPipAnimationController.getAnimator(pipTaskInfo, leash, sourceBounds, sourceBounds, in handleSwipePipToHomeTransition()
/frameworks/base/core/java/android/content/pm/
DILauncherApps.aidl60 in Rect sourceBounds, in Bundle opts, in UserHandle user); in startSessionDetailsActivityAsUser() argument
62 String callingFeatureId, in ComponentName component, in Rect sourceBounds, in startActivityAsUser() argument
72 String callingFeatureId, in ComponentName component, in Rect sourceBounds, in showAppDetailsAsUser() argument
91 in Rect sourceBounds, in Bundle startActivityOptions, int userId); in startShortcut() argument
DLauncherApps.java1034 public void startMainActivity(ComponentName component, UserHandle user, Rect sourceBounds, in startMainActivity() argument
1043 component, sourceBounds, opts, user); in startMainActivity() local
1057 @Nullable Rect sourceBounds, @Nullable Bundle opts) { in startPackageInstallerSessionDetailsActivity() argument
1061 sourceBounds, opts, sessionInfo.getUser()); in startPackageInstallerSessionDetailsActivity() local
1086 Rect sourceBounds, Bundle opts) { in startAppDetailsActivity() argument
1091 component, sourceBounds, opts, user); in startAppDetailsActivity() local
1877 @Nullable Rect sourceBounds, @Nullable Bundle startActivityOptions, in startShortcut() argument
1881 startShortcut(packageName, shortcutId, sourceBounds, startActivityOptions, in startShortcut()
1901 @Nullable Rect sourceBounds, @Nullable Bundle startActivityOptions) { in startShortcut() argument
1903 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/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnifierCallback.java39 void onSourceBoundsChanged(int displayId, Rect sourceBounds); in onSourceBoundsChanged() argument
DMagnificationConnectionImpl.java128 void onSourceBoundsChanged(int displayId, Rect sourceBounds) { in onSourceBoundsChanged() argument
131 mConnectionCallback.onSourceBoundsChanged(displayId, sourceBounds); in onSourceBoundsChanged()
DMagnification.java448 public void onSourceBoundsChanged(int displayId, Rect sourceBounds) {
450 mMagnificationConnectionImpl.onSourceBoundsChanged(displayId, sourceBounds);
/frameworks/base/core/java/android/app/
DSearchManager.java625 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/
DIMagnificationConnectionCallback.aidl55 void onSourceBoundsChanged(int displayId, in Rect sourceBounds); in onSourceBoundsChanged() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipBoundsAlgorithm.java179 public static Rect getValidSourceHintRect(PictureInPictureParams params, Rect sourceBounds) { in getValidSourceHintRect() argument
183 if (sourceHintRect != null && sourceBounds.contains(sourceHintRect)) { in getValidSourceHintRect()
195 public static Rect getValidSourceHintRect(PictureInPictureParams params, Rect sourceBounds, in getValidSourceHintRect() argument
197 Rect sourceRectHint = getValidSourceHintRect(params, sourceBounds); in getValidSourceHintRect()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationConnectionManager.java984 public void onSourceBoundsChanged(int displayId, Rect sourceBounds) { in onSourceBoundsChanged() argument
989 "displayId=" + displayId + ";source=" + sourceBounds); in onSourceBoundsChanged()
996 magnifier.onSourceBoundsChanged(sourceBounds); in onSourceBoundsChanged()
998 mCallback.onSourceBoundsChanged(displayId, sourceBounds); in onSourceBoundsChanged()
1273 public void onSourceBoundsChanged(Rect sourceBounds) { in onSourceBoundsChanged() argument
1274 mSourceBounds.set(sourceBounds); in onSourceBoundsChanged()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.h148 FloatRect sourceBounds() const;
DLayerSnapshot.cpp328 FloatRect LayerSnapshot::sourceBounds() const { in sourceBounds() function in android::surfaceflinger::frontend::LayerSnapshot
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java211 String packageName, String featureId, String shortcutId, Rect sourceBounds, in startShortcut() argument
1494 String shortcutId, Rect sourceBounds, Bundle startActivityOptions, in startShortcut() argument
1498 sourceBounds, startActivityOptions, targetUserId); in startShortcut()
1503 Rect sourceBounds, Bundle startActivityOptions, int targetUserId) { in startShortcutInner() argument
1546 intents[0].setSourceBounds(sourceBounds); in startShortcutInner()
1653 Rect sourceBounds, Bundle opts, UserHandle userHandle) throws RemoteException { in startSessionDetailsActivityAsUser() argument
1667 i.setSourceBounds(sourceBounds); in startSessionDetailsActivityAsUser()
1896 String callingFeatureId, ComponentName component, Rect sourceBounds, in startActivityAsUser() argument
1908 launchIntent.setSourceBounds(sourceBounds); in startActivityAsUser()
1979 Rect sourceBounds, Bundle opts, UserHandle user) throws RemoteException { in showAppDetailsAsUser() argument
[all …]
/frameworks/native/services/surfaceflinger/
DLayer.cpp410 snapshot->sourceBounds(), coveredRegion, in updateTrustedPresentationState()
453 bool Layer::computeTrustedPresentationState(const FloatRect& bounds, const FloatRect& sourceBounds, in computeTrustedPresentationState() argument
461 if (sourceBounds.getWidth() == 0 || sourceBounds.getHeight() == 0) { in computeTrustedPresentationState()
472 float boundsOverSourceW = bounds.getWidth() / (float)sourceBounds.getWidth(); in computeTrustedPresentationState()
473 float boundsOverSourceH = bounds.getHeight() / (float)sourceBounds.getHeight(); in computeTrustedPresentationState()
DLayer.h588 const FloatRect& sourceBounds,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...