Searched defs:bounds (Results 51 - 75 of 142) sorted by last modified time

123456

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTask.java161 * The bounds of the task, used only if it is a freeform task.
164 public Rect bounds; field in class:Task
202 boolean isDockable, Rect bounds, ActivityManager.TaskDescription taskDescription,
219 this.bounds = bounds;
246 this.bounds = o.bounds;
198 Task(TaskKey key, int affiliationTaskId, int affiliationColor, Drawable icon, Bitmap thumbnail, String title, String titleDescription, String dismissDescription, String appInfoDescription, int colorPrimary, int colorBackground, boolean isLaunchTarget, boolean isStackTask, boolean isSystemApp, boolean isDockable, Rect bounds, ActivityManager.TaskDescription taskDescription, int resizeMode, ComponentName topActivity) argument
H A DTaskStack.java348 Rect bounds = dockAreaOverlay.getBounds();
349 int x = bounds.left + (bounds.width() - mHintTextBounds.x) / 2;
350 int y = bounds.top + (bounds.height() + mHintTextBounds.y) / 2;
354 canvas.rotate(-90f, bounds.centerX(), bounds.centerY());
364 * Creates a new bounds and alpha animation.
366 public void startAnimation(Rect bounds, int areaAlpha, int hintAlpha, int duration, argument
399 if (bounds !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
H A DRecentsTvTransitionHelper.java51 final Rect bounds, int destinationStack) {
53 if (bounds != null) {
54 opts.setLaunchBounds(bounds.isEmpty() ? null : bounds);
49 launchTaskFromRecents(final TaskStack stack, @Nullable final Task task, final TaskStackHorizontalGridView stackView, final TaskCardView taskView, final Rect bounds, int destinationStack) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java106 protected void onBoundsChange(Rect bounds) { argument
107 super.onBoundsChange(bounds);
266 private void buildComponents(Rect bounds) { argument
271 mCardBounds.set(bounds.left + mMaxShadowSize, bounds.top + verticalOffset,
272 bounds.right - mMaxShadowSize, bounds.bottom - verticalOffset);
H A DFixedSizeFrameLayout.java27 * relayout its children with the last known layout bounds when a layout is requested from a child
70 // If we are already laid out, then just reuse the same bounds to layout the children
89 protected void layoutContents(Rect bounds, boolean changed) { argument
90 super.onLayout(changed, bounds.left, bounds.top, bounds.right, bounds.bottom);
H A DRecentsTransitionHelper.java103 final boolean screenPinningRequested, final Rect bounds, final int destinationStack) {
105 if (bounds != null) {
106 opts.setLaunchBounds(bounds.isEmpty() ? null : bounds);
271 Rect bounds) {
276 bounds));
101 launchTaskFromRecents(final TaskStack stack, @Nullable final Task task, final TaskStackView stackView, final TaskView taskView, final boolean screenPinningRequested, final Rect bounds, final int destinationStack) argument
270 composeDockAnimationSpec(TaskView taskView, Rect bounds) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java206 protected void onBoundsChange(Rect bounds) { argument
207 super.onBoundsChange(bounds);
208 mGradient.setBounds(bounds);
H A DLockscreenWallpaper.java237 protected void onBoundsChange(Rect bounds) { argument
257 bounds.left,
258 bounds.top + Math.round(dy),
259 bounds.left + Math.round(dwidth * scale),
260 bounds.top + Math.round(dheight * scale + dy));
H A DPhoneStatusBar.java3722 public void setBounds(Rect bounds) { argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java204 * Gets the bounds given by x, y, width, and height as well as the internal
206 * It only considers the lower-left and upper-right corners as the bounds.
208 * @param bounds The output bounds to write to.
214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
H A DGLES20Canvas.java993 public void getBounds(Rect bounds, int x, int y, int width, int height) { argument
998 bounds.left = Math.round(mTempMatrix[MATRIX_SIZE]);
999 bounds.right = Math.round(mTempMatrix[MATRIX_SIZE + 4]);
1000 bounds.top = Math.round(mTempMatrix[MATRIX_SIZE + 1]);
1001 bounds.bottom = Math.round(mTempMatrix[MATRIX_SIZE + 5]);
1002 bounds.sort();
/frameworks/base/graphics/java/android/graphics/
H A DNinePatch.java23 * bounds of the graphic. For a thorough explanation of a NinePatch image,
252 * @param bounds The location and size of the NinePatch.
255 * report, else a {@link Region} holding the parts of the specified bounds
258 public final Region getTransparentRegion(Rect bounds) { argument
259 long r = nativeGetTransparentRegion(mBitmap, mNativeChunk, bounds);
H A DPaint.java1394 * metrics, and also increases top and bottom bounds to provide more space.
2193 * <p>The shaping bounds limit the amount of context available
2195 * These bounds typically reflect changes in bidi level or font
2260 * the bounds of the metric span enclosing the cursor in the direction of
2300 * the bounds of the metric span enclosing the cursor in the direction of
2347 * the bounds of the metric span enclosing the cursor in the direction of
2423 * Return in bounds (allocated by the caller) the smallest rectangle that
2426 * @param text String to measure and return its bounds
2429 * @param bounds Returns the unioned bounds o
2432 getTextBounds(String text, int start, int end, Rect bounds) argument
2452 getTextBounds(char[] text, int index, int count, Rect bounds) argument
2696 nGetStringBounds(long nativePaint, long typefacePtr, String text, int start, int end, int bidiFlags, Rect bounds) argument
2698 nGetCharArrayBounds(long nativePaint, long typefacePtr, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
[all...]
H A DPath.java288 * not null, set rect to the bounds of the path. If the path does not
291 * @param rect If not null, returns the bounds of the path if it specifies
300 * Compute the bounds of the control points of the path, and write the
301 * answer into bounds. If the path contains 0 or 1 points, the bounds is
304 * @param bounds Returns the computed bounds of the path's control points.
308 public void computeBounds(RectF bounds, boolean exact) { argument
309 native_computeBounds(mNativePath, bounds);
445 * @param oval The bounds o
814 native_computeBounds(long nPath, RectF bounds) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java245 protected void onBoundsChange(Rect bounds) { argument
246 mAnimatedVectorState.mVectorDrawable.setBounds(bounds);
H A DBitmapDrawable.java276 /** Get the gravity used to position/stretch the bitmap within its bounds.
284 /** Set the gravity used to position/stretch the bitmap within its bounds.
475 protected void onBoundsChange(Rect bounds) { argument
481 updateMirrorMatrix(bounds.right - bounds.left);
579 final Rect bounds = getBounds();
582 bounds, mDstRect, layoutDirection);
584 final int left = mDstRect.left - bounds.left;
585 final int top = mDstRect.top - bounds.top;
586 final int right = bounds
[all...]
H A DDrawable.java189 * Draw in its bounds (set via setBounds) respecting optional effects such
210 // first invalidate the previous bounds
222 public void setBounds(@NonNull Rect bounds) { argument
223 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
227 * Return a copy of the drawable's bounds in the specified Rect (allocated
228 * by the caller). The bounds specify where this will draw when its draw()
231 * @param bounds Rec
234 copyBounds(@onNull Rect bounds) argument
970 onBoundsChange(Rect bounds) argument
[all...]
H A DDrawableContainer.java232 protected void onBoundsChange(Rect bounds) { argument
234 mLastDrawable.setBounds(bounds);
237 mCurrDrawable.setBounds(bounds);
H A DDrawableWrapper.java346 protected void onBoundsChange(@NonNull Rect bounds) { argument
348 mDrawable.setBounds(bounds);
H A DInsetDrawable.java42 * the View's actual bounds.
210 protected void onBoundsChange(Rect bounds) { argument
212 r.set(bounds);
219 // Apply inset bounds to the wrapped drawable.
H A DLayerDrawable.java616 final Rect bounds = childDrawable.mDrawable.getBounds();
617 drawable.setBounds(bounds);
920 * Specifies how layer padding should affect the bounds of subsequent
1511 protected void onBoundsChange(Rect bounds) { argument
1512 updateLayerBounds(bounds);
1515 private void updateLayerBounds(Rect bounds) { argument
1518 updateLayerBoundsInternal(bounds);
1524 private void updateLayerBoundsInternal(Rect bounds) { argument
1556 container.set(bounds.left + insetL + paddingL, bounds
[all...]
H A DRippleBackground.java55 public RippleBackground(RippleDrawable owner, Rect bounds, boolean isBounded, argument
57 super(owner, bounds, forceSoftware);
H A DRippleComponent.java62 public RippleComponent(RippleDrawable owner, Rect bounds, boolean forceSoftware) { argument
64 mBounds = bounds;
88 private static float getTargetRadius(Rect bounds) { argument
89 final float halfWidth = bounds.width() / 2.0f;
90 final float halfHeight = bounds.height() / 2.0f;
178 * Populates {@code bounds} with the maximum drawing bounds of the ripple
179 * relative to its center. The resulting bounds should be translated into
182 * @param bounds the rect to populate with drawing bounds
184 getBounds(Rect bounds) argument
[all...]
H A DRippleDrawable.java88 * may extend outside of the Drawable bounds.
113 /** Current ripple effect bounds, used to constrain ripple effects. */
116 /** Current drawing bounds, used to compute dirty region. */
119 /** Current dirty bounds, union of current and previous drawing bounds. */
165 /** Whether bounds are being overridden. */
298 protected void onBoundsChange(Rect bounds) { argument
299 super.onBoundsChange(bounds);
302 mHotspotBounds.set(bounds);
352 // bounds the
[all...]
H A DRippleForeground.java89 public RippleForeground(RippleDrawable owner, Rect bounds, float startingX, float startingY, argument
91 super(owner, bounds, forceSoftware);
136 * Returns the maximum bounds of the ripple relative to the ripple center.
138 public void getBounds(Rect bounds) { argument
142 bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
146 * Specifies the starting position relative to the drawable bounds. No-op if
330 * Clamps the starting position to fit within the ripple bounds.

Completed in 308 milliseconds

123456