Searched refs:bounds (Results 176 - 200 of 267) sorted by relevance

1234567891011

/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java521 Rect bounds, AutofillValue value, int userId, boolean hasCallback, int flags,
540 autofillId, bounds, value, hasCallback, flags, packageName);
578 public void updateSession(int sessionId, AutofillId autoFillId, Rect bounds, argument
583 service.updateSessionLocked(sessionId, getCallingUid(), autoFillId, bounds,
591 AutofillId autoFillId, Rect bounds, AutofillValue value, int userId,
598 bounds, value, action, flags);
602 return startSession(activityToken, appCallback, autoFillId, bounds, value, userId,
520 startSession(IBinder activityToken, IBinder appCallback, AutofillId autofillId, Rect bounds, AutofillValue value, int userId, boolean hasCallback, int flags, String packageName) argument
590 updateOrRestartSession(IBinder activityToken, IBinder appCallback, AutofillId autoFillId, Rect bounds, AutofillValue value, int userId, boolean hasCallback, int flags, String packageName, int sessionId, int action) argument
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java455 * Sets the bounds used as the epicenter of the enter and exit transitions.
458 * the direction of travel. For popup windows, the anchor view bounds are
464 * @param bounds the epicenter bounds relative to the anchor view, or
469 public void setEpicenterBounds(Rect bounds) { argument
470 mEpicenterBounds = bounds;
825 * <p>Allows the popup window to extend beyond the bounds of the screen. By default the
1937 * Returns the window-relative epicenter bounds to be used by enter and
1943 * @return the window-relative epicenter bounds to be used by enter and
1959 final Rect bounds
[all...]
H A DImageView.java270 // updates the matrix, which is dependent on the bounds
277 * can be applied. In theory we could get the drawable's bounds
304 * True when ImageView is adjusting its bounds
307 * @return whether to adjust the bounds of this view
319 * Set this to true if you want the ImageView to adjust its bounds
323 * adjustViewBounds will allow the drawable to shrink the view bounds, but not grow
328 * @param adjustViewBounds Whether to adjust the bounds of this view
367 * the image within the bounds.
405 * the image within the bounds.
745 * Options for scaling the bounds o
[all...]
H A DExpandableListView.java173 * indicator bounds
414 // the left & right bounds
521 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument
534 divider.setBounds(bounds);
543 super.drawDivider(canvas, bounds, flatListPosition);
1162 * Sets the drawing bounds for the child indicator. For either, you can
1164 * indicator's bounds.
1167 * @param left The left position (relative to the left bounds of this View)
1169 * @param right The right position (relative to the left bounds of this
1179 * Sets the relative drawing bounds fo
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java1421 // Compute bounds for this object
1422 final Rect bounds = getBoundsForVirtualView(virtualViewId);
1423 if (DEBUG_A11Y) Log.v(TAG, "bounds:" + bounds.toString());
1424 node.setBoundsInParent(bounds);
1475 final Rect bounds = mTempRect;
1483 bounds.left = (int) (centerX - cellwidth);
1484 bounds.right = (int) (centerX + cellwidth);
1485 bounds.top = (int) (centerY - cellheight);
1486 bounds
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java293 * not null, set rect to the bounds of the path. If the path does not
296 * @param rect If not null, returns the bounds of the path if it specifies
305 * Compute the bounds of the control points of the path, and write the
306 * answer into bounds. If the path contains 0 or 1 points, the bounds is
309 * @param bounds Returns the computed bounds of the path's control points.
313 public void computeBounds(RectF bounds, boolean exact) { argument
314 nComputeBounds(mNativePath, bounds);
450 * @param oval The bounds o
825 nComputeBounds(long nPath, RectF bounds) argument
[all...]
H A DPaint.java1387 * metrics, and also increases top and bottom bounds to provide more space.
2279 * <p>The shaping bounds limit the amount of context available
2281 * These bounds typically reflect changes in bidi level or font
2346 * the bounds of the metric span enclosing the cursor in the direction of
2386 * the bounds of the metric span enclosing the cursor in the direction of
2433 * the bounds of the metric span enclosing the cursor in the direction of
2507 * Return in bounds (allocated by the caller) the smallest rectangle that
2510 * @param text string to measure and return its bounds
2513 * @param bounds returns the unioned bounds o
2515 getTextBounds(String text, int start, int end, Rect bounds) argument
2535 getTextBounds(CharSequence text, int start, int end, Rect bounds) argument
2557 getTextBounds(char[] text, int index, int count, Rect bounds) argument
2774 nGetStringBounds(long nativePaint, long typefacePtr, String text, int start, int end, int bidiFlags, Rect bounds) argument
2776 nGetCharArrayBounds(long nativePaint, long typefacePtr, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
[all...]
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtilsMatchers.java189 final Rect bounds = startDrawable.getBounds();
191 startDrawable, bounds.width(), bounds.height(), true,
/frameworks/base/libs/hwui/
H A DSnapshot.h176 void setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds,
H A DSkiaCanvas.cpp188 const SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); local
189 const SkCanvas::SaveLayerRec rec(&bounds, paint, layerFlags(flags));
361 // if we can't invert the CTM, we can't return local clip bounds
377 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom); local
378 return mCanvas->quickReject(bounds);
699 SkRect bounds = SkRect::MakeLTRB(boundsLeft + x, boundsTop + y, local
703 const SkTextBlobBuilder::RunBuffer& buffer = builder.allocRunPos(paintCopy, count, &bounds);
/frameworks/base/libs/hwui/hwui/
H A DBitmap.h103 void getBounds(SkRect* bounds) const;
H A DBitmap.cpp511 void Bitmap::getBounds(SkRect* bounds) const {
512 SkASSERT(bounds);
513 bounds->set(0, 0, SkIntToScalar(info().width()), SkIntToScalar(info().height()));
/frameworks/support/design/base/android/support/design/widget/
H A DCircularBorderDrawable.java96 // We need to inset the oval bounds by half the border width. This is because stroke draws
153 protected void onBoundsChange(Rect bounds) { argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DLayerDrawable.java622 final Rect bounds = childDrawable.mDrawable.getBounds();
623 drawable.setBounds(bounds);
926 * Specifies how layer padding should affect the bounds of subsequent
1528 protected void onBoundsChange(Rect bounds) { argument
1529 updateLayerBounds(bounds);
1532 private void updateLayerBounds(Rect bounds) { argument
1535 updateLayerBoundsInternal(bounds);
1541 private void updateLayerBoundsInternal(Rect bounds) { argument
1573 container.set(bounds.left + insetL + paddingL, bounds
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java67 public void set(Drawable object, Rect bounds) {
68 object.setBounds(bounds);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowToken.java184 // The bounds of this activity. Mainly used for aspect-ratio compatibility.
185 // TODO(b/36505427): Every level on WindowContainer now has bounds information, which directly
200 AppWindowContainerController controller, Configuration overrideConfig, Rect bounds) {
201 this(service, token, voiceInteraction, dc, fullscreen, overrideConfig, bounds);
218 DisplayContent dc, boolean fillsParent, Configuration overrideConfig, Rect bounds) {
229 if (bounds != null) {
230 mBounds.set(bounds);
234 void onOverrideConfigurationChanged(Configuration overrideConfiguration, Rect bounds) { argument
236 if (mBounds.equals(bounds)) {
239 // TODO(b/36505427): If bounds i
196 AppWindowToken(WindowManagerService service, IApplicationToken token, boolean voiceInteraction, DisplayContent dc, long inputDispatchingTimeoutNanos, boolean fullscreen, boolean showForAllUsers, int targetSdk, int orientation, int rotationAnimationHint, int configChanges, boolean launchTaskBehind, boolean alwaysFocusable, AppWindowContainerController controller, Configuration overrideConfig, Rect bounds) argument
217 AppWindowToken(WindowManagerService service, IApplicationToken token, boolean voiceInteraction, DisplayContent dc, boolean fillsParent, Configuration overrideConfig, Rect bounds) argument
[all...]
H A DBoundsAnimationController.java47 * Enables animating bounds of objects.
49 * In multi-window world bounds of both stack and tasks can change. When we need these bounds to
52 * the bounds of the resized object.
187 // If we are animating from smaller to larger, we want to change the task bounds
209 // Boost the thread priority of the animation thread while the bounds animation is
227 // Immediately update the task bounds if they have to become larger, but preserve
324 // Reset the thread priority of the animation thread after the bounds animation is done
349 * @return true if the animation target is the same as the input bounds.
351 boolean isAnimatingTo(Rect bounds) { argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
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/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java1639 * Gets the node bounds in parent coordinates.
1641 * @param outBounds The output node bounds.
1649 * Sets the node bounds in parent coordinates.
1656 * @param bounds The node bounds.
1660 public void setBoundsInParent(Rect bounds) { argument
1662 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds
1696 setBoundsInScreen(Rect bounds) argument
[all...]
/frameworks/base/core/java/android/view/
H A DView.java469 * its current bounds.
501 * <li>If in the course of processing the event, the view's bounds may need
2140 * lie outside of this view's bounds.
3781 * Current clip bounds. to which all drawing of this view are constrained.
3862 * visible edges of this view its bounds.
5854 final Rect bounds = mScrollCache.mScrollBarBounds;
5856 getVerticalScrollBarBounds(bounds, touchBounds);
5860 final int thumbLength = ScrollBarUtils.getThumbLength(bounds.height(), bounds.width(),
5862 final int thumbOffset = ScrollBarUtils.getThumbOffset(bounds
16605 getVerticalScrollBarBounds(@ullable Rect bounds, @Nullable Rect touchBounds) argument
16613 getRoundVerticalScrollBarBounds(Rect bounds) argument
[all...]
/frameworks/support/compat/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java2510 * Gets the node bounds in parent coordinates.
2512 * @param outBounds The output node bounds.
2519 * Sets the node bounds in parent coordinates.
2526 * @param bounds The node bounds.
2529 public void setBoundsInParent(Rect bounds) { argument
2530 mInfo.setBoundsInParent(bounds);
2534 * Gets the node bounds in screen coordinates.
2536 * @param outBounds The output node bounds.
2543 * Sets the node bounds i
2553 setBoundsInScreen(Rect bounds) argument
[all...]
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
H A DOctopusDrawable.java143 public void onBoundsChange(Rect bounds) { argument
144 final float w = bounds.width();
145 final float h = bounds.height();
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
H A DPipManager.java271 // and this could clobber the existing animation to the new bounds calculated by WM.
282 // Reset the PIP bounds and apply. PIP bounds can be changed by two reasons.
629 Rect bounds = isSettingsShown() ? mSettingsPipBounds : mDefaultPipBounds;
630 if (mPipBounds != bounds) {
631 mPipBounds = bounds;
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java291 protected void onBoundsChange(Rect bounds) { argument
293 mDelegateDrawable.setBounds(bounds);
296 mAnimatedVectorState.mVectorDrawable.setBounds(bounds);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp230 Rect bounds(mCropWidth, mCropHeight);
234 buf->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, &dst));

Completed in 857 milliseconds

1234567891011