/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
H A D | PipSnapAlgorithmTest.java | 57 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_topEdge() local 68 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_rightEdge() local 79 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_bottomEdge() local 90 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_leftEdge() local 101 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_notStashed_isNotOffBounds() local 114 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_stashedLeft() local 128 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_stashedRight() local 141 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testApplySnapFraction_stashedRight_withInset() local 154 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testSnapRectToClosestEdge_rightEdge() local 166 final Rect bounds = new Rect(STACK_BOUNDS_CENTERED); in testSnapRectToClosestEdge_leftEdge() local [all …]
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
H A D | DisplayRotationUtilTest.java | 103 Rect[] bounds = new Rect[] {ZERO_RECT, new Rect(50, 0, 150, 10), ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_top_rot0() local 111 Rect[] bounds = new Rect[] {ZERO_RECT, new Rect(50, 0, 150, 10), ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_top_rot90() local 119 Rect[] bounds = new Rect[] {ZERO_RECT, new Rect(50, 0, 150, 10), ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_top_rot180() local 127 Rect[] bounds = new Rect[] {ZERO_RECT, new Rect(50, 0, 150, 10), ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_top_rot270() local 135 Rect[] bounds = new Rect[] {new Rect(0, 50, 10, 150), ZERO_RECT, ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_left_rot0() local 143 Rect[] bounds = new Rect[] {new Rect(0, 50, 10, 150), ZERO_RECT, ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_left_rot90() local 151 Rect[] bounds = new Rect[] {new Rect(0, 50, 10, 150), ZERO_RECT, ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_left_rot180() local 159 Rect[] bounds = new Rect[] {new Rect(0, 50, 10, 150), ZERO_RECT, ZERO_RECT, ZERO_RECT}; in testGetRotatedBounds_left_rot270() local
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | ScreenDecorationsTest.java | 410 final Rect[] bounds = {new Rect(0, 50, 1, 60), null, null, null}; in testRoundingTopBottomRadius_OnLeftRightOverlay() local 518 final Rect[] bounds = {null, new Rect(9, 0, 10, 1), null, null}; in testNoRounding_CutoutShortEdge_NoPrivacyDot() local 541 final Rect[] bounds = {null, new Rect(9, 0, 10, 1), null, null}; in testNoRounding_CutoutShortEdge_PrivacyDot() local 573 final Rect[] bounds = {new Rect(0, 50, 1, 60), null, null, null}; in testNoRounding_CutoutLongEdge_NoPrivacyDot() local 600 final Rect[] bounds = {new Rect(0, 50, 1, 60), null, null, null}; in testNoRounding_CutoutLongEdge_PrivacyDot() local 625 final Rect[] bounds = {null, new Rect(9, 0, 10, 1), null, null}; in testRounding_CutoutShortEdge_NoPrivacyDot() local 653 final Rect[] bounds = {null, new Rect(9, 0, 10, 1), null, null}; in testRounding_CutoutShortEdge_PrivacyDot() local 756 final Rect[] bounds = {null, new Rect(9, 0, 10, 1), null, null}; in testNoRounding_SwitchFrom_ShortEdgeCutout_To_LongCutout_NoPrivacyDot() local 779 final Rect[] bounds = {null, new Rect(9, 0, 10, 1), null, null}; in testNoRounding_SwitchFrom_ShortEdgeCutout_To_LongCutout_PrivacyDot() local 802 final Rect[] bounds = {null, new Rect(9, 0, 10, 1), null, null}; in testDelayedCutout_NoPrivacyDot() local [all …]
|
/aosp12/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
H A D | LinkAccessibilityHelperTest.java | 123 Rect bounds = new Rect(); in testOnPopulateNodeForVirtualView() local 142 Rect bounds = new Rect(); in testNullLayout() local 160 Rect bounds = new Rect(); in testRtlLayout() local 186 Rect bounds = new Rect(); in testMultilineLink() local 213 Rect bounds = new Rect(); in testRtlMultilineLink() local 246 Rect bounds = new Rect(); in testBidiMultilineLink() local
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A D | OneHandedTransitionCallback.java | 35 default void onStartFinished(Rect bounds) { in onStartFinished() 41 default void onStopFinished(Rect bounds) { in onStopFinished()
|
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/displayarea/ |
H A D | CarLauncherDisplayAreaTransitionCallback.java | 34 default void onStartFinished(Rect bounds) { in onStartFinished() 40 default void onStopFinished(Rect bounds) { in onStopFinished()
|
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleComponent.java | 40 public RippleComponent(RippleDrawable owner, Rect bounds) { in RippleComponent() 65 private static float getTargetRadius(Rect bounds) { in getTargetRadius() 78 public void getBounds(Rect bounds) { in getBounds()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipControllerTest.java | 159 final Rect bounds = new Rect(0, 0, 10, 10); in saveReentryState_noUserResize_doesNotSaveSize() local 170 final Rect bounds = new Rect(0, 0, 10, 10); in saveReentryState_userHasResized_savesSize() local 184 final Rect bounds = new Rect(0, 0, 10, 10); in onDisplayConfigurationChanged_inPip_movePip() local 200 final Rect bounds = new Rect(0, 0, 10, 10); in onDisplayConfigurationChanged_notInPip_doesNotMovePip() local
|
/aosp12/frameworks/base/core/java/android/view/accessibility/ |
H A D | IAccessibilityInteractionConnection.aidl | 34 void findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, in Region bounds, in findAccessibilityNodeInfoByAccessibilityId() 40 in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback, in findAccessibilityNodeInfosByViewId() 43 void findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, in Region bounds, in findAccessibilityNodeInfosByText() 47 void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId, in findFocus() 51 void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId, in focusSearch()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
H A D | DraggableView.java | 63 default void getWorkspaceVisualDragBounds(Rect bounds) { } in getWorkspaceVisualDragBounds() 70 default void getSourceVisualDragBounds(Rect bounds) { in getSourceVisualDragBounds()
|
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/ |
H A D | vendor_graphicbuffer_mapper.cpp | 23 …tus_t VendorGraphicBufferMapper::lock64(buffer_handle_t handle, uint64_t usage, const Rect& bounds, in lock64() 31 uint64_t usage, const Rect& bounds, android_ycbcr *ycbcr) in lockYCbCr64()
|
/aosp12/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
H A D | JetpackTaskFragmentOrganizer.java | 177 IBinder ownerToken, @NonNull Rect bounds, @WindowingMode int windowingMode) { in createTaskFragment() 189 @NonNull Rect bounds, @WindowingMode int windowingMode, Activity activity) { in createTaskFragmentAndReparentActivity() 200 @NonNull Rect bounds, @WindowingMode int windowingMode, Intent activityIntent, in createTaskFragmentAndStartActivity() 222 Rect bounds, @WindowingMode int windowingMode) { in createFragmentOptions() 238 @Nullable Rect bounds) { in resizeTaskFragment() 246 wct.setBounds(mFragmentInfos.get(fragmentToken).getToken(), bounds); in resizeTaskFragment() local
|
/aosp12/packages/modules/ExtServices/java/src/android/ext/services/displayhash/ |
H A D | HmacKeyManager.java | 40 byte[] generateHmac(byte[] salt, long timestamp, Rect bounds, int hashAlgorithm, in generateHmac() 58 boolean verifyHmac(byte[] salt, long timestamp, Rect bounds, in verifyHmac() 75 VerificationObject(long timestamp, Rect bounds, int hashAlgorithm, byte[] imageHash) { in VerificationObject()
|
/aosp12/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/ |
H A D | vendor_graphicbuffer_mapper.cpp | 29 …tus_t VendorGraphicBufferMapper::lock64(buffer_handle_t handle, uint64_t usage, const Rect& bounds, in lock64() 37 uint64_t usage, const Rect& bounds, android_ycbcr *ycbcr) in lockYCbCr64()
|
/aosp12/packages/apps/Gallery2/src/com/android/photos/shims/ |
H A D | BitmapJobDrawable.java | 78 protected void onBoundsChange(Rect bounds) { in onBoundsChange() 85 Rect bounds = getBounds(); in draw() local 100 Rect bounds = getBounds(); in updateDrawMatrix() local
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropDrawingUtils.java | 30 public static void drawRuleOfThird(Canvas canvas, RectF bounds) { in drawRuleOfThird() 49 public static void drawCropRect(Canvas canvas, RectF bounds) { in drawCropRect() 57 public static void drawShade(Canvas canvas, RectF bounds) { in drawShade() 84 RectF bounds, boolean fixedAspect, int selection) { in drawIndicators()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
H A D | SplitScreenBounds.java | 52 public void setSecondaryWindowBounds(@NonNull WindowBounds bounds) { in setSecondaryWindowBounds() 73 WindowBounds bounds = WindowBounds.fromWindowMetrics(wm); in createDefaultWindowBounds() local
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | WindowBounds.java | 33 public final Rect bounds; field in WindowBounds 37 public WindowBounds(Rect bounds, Rect insets) { in WindowBounds()
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarContentInsetsProviderTest.kt | 82 var bounds = calculateInsetsForRotationWithRotatedResources( regex 166 var bounds = calculateInsetsForRotationWithRotatedResources( regex 267 var bounds = calculateInsetsForRotationWithRotatedResources( regex 357 var bounds = calculateInsetsForRotationWithRotatedResources( regex 446 var bounds = calculateInsetsForRotationWithRotatedResources( regex
|
/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | AppearanceRegion.java | 69 @NonNull Rect bounds) { in AppearanceRegion() 110 Rect bounds = (Rect) in.readTypedObject(Rect.CREATOR); in AppearanceRegion() local
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
H A D | PipBoundsState.java | 111 public void setBounds(@NonNull Rect bounds) { in setBounds() 131 public void setNormalBounds(@NonNull Rect bounds) { in setNormalBounds() 142 public void setExpandedBounds(@NonNull Rect bounds) { in setExpandedBounds() 153 public void setNormalMovementBounds(@NonNull Rect bounds) { in setNormalMovementBounds() 164 public void setExpandedMovementBounds(@NonNull Rect bounds) { in setExpandedMovementBounds() 444 public void setBoundsInMotion(@NonNull Rect bounds) { in setBoundsInMotion() 449 public void setAnimatingToBounds(@NonNull Rect bounds) { in setAnimatingToBounds()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | ConfigurationContainer.java | 258 public boolean equivalentRequestedOverrideBounds(Rect bounds) { in equivalentRequestedOverrideBounds() 263 public boolean equivalentRequestedOverrideMaxBounds(Rect bounds) { in equivalentRequestedOverrideMaxBounds() 270 public static boolean equivalentBounds(Rect bounds, Rect other) { in equivalentBounds() 299 Rect bounds = getBounds(); in getPosition() local 353 public int setBounds(Rect bounds) { in setBounds() 385 int diffRequestedOverrideMaxBounds(Rect bounds) { in diffRequestedOverrideMaxBounds() 407 int diffRequestedOverrideBounds(Rect bounds) { in diffRequestedOverrideBounds()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | UdfpsDrawable.java | 71 final Rect bounds = new Rect((int) sensorRect.left + margin, in onSensorRectUpdated() local 81 protected void updateFingerprintIconBounds(@NonNull Rect bounds) { in updateFingerprintIconBounds()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
H A D | ShortcutDragPreviewProvider.java | 61 Rect bounds = getDrawableBounds(d); in createDragBitmapLegacy() local 77 Rect bounds = getDrawableBounds(d); in drawDragViewOnBackground() local
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | TouchDelegate.java | 96 public TouchDelegate(Rect bounds, View delegateView) { in TouchDelegate() 220 Rect bounds = mBounds; in getTouchDelegateInfo() local
|