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

123456

/frameworks/base/core/java/android/transition/
H A DExplode.java85 Rect bounds = (Rect) endValues.values.get(PROPNAME_SCREEN_BOUNDS);
88 calculateOut(sceneRoot, bounds, mTempLoc);
92 return TranslationAnimationCreator.createAnimation(view, endValues, bounds.left, bounds.top,
102 Rect bounds = (Rect) startValues.values.get(PROPNAME_SCREEN_BOUNDS);
103 int viewPosX = bounds.left;
104 int viewPosY = bounds.top;
113 endX += interruptedPosition[0] - bounds.left;
114 endY += interruptedPosition[1] - bounds.top;
115 bounds
125 calculateOut(View sceneRoot, Rect bounds, int[] outVector) argument
[all...]
H A DTransitionUtils.java93 RectF bounds = new RectF(0, 0, view.getWidth(), view.getHeight());
94 matrix.mapRect(bounds);
95 int left = Math.round(bounds.left);
96 int top = Math.round(bounds.top);
97 int right = Math.round(bounds.right);
98 int bottom = Math.round(bounds.bottom);
102 Bitmap bitmap = createViewBitmap(view, matrix, bounds);
151 * @param bounds The bounds of the bitmap in the destination coordinate system (where the
153 * @return A bitmap of the given view or null if bounds ha
155 createViewBitmap(View view, Matrix matrix, RectF bounds) argument
[all...]
/frameworks/base/core/java/android/view/
H A DTouchDelegate.java26 * actual view bounds. The view whose touch area is changed is called the delegate view. This
28 * instance that specifies the bounds that should be mapped to the delegate and the delegate
86 * @param bounds Bounds in local coordinates of the containing view that should be mapped to
90 public TouchDelegate(Rect bounds, View delegateView) { argument
91 mBounds = bounds;
94 mSlopBounds = new Rect(bounds);
100 * Will forward touch events to the delegate view if the event is within the bounds
115 Rect bounds = mBounds;
117 if (bounds.contains(x, y)) {
H A DView.java459 * its current bounds.
491 * <li>If in the course of processing the event, the view's bounds may need
1730 * lie outside of this view's bounds.
3313 * Current clip bounds. to which all drawing of this view are constrained.
3394 * visible edges of this view its bounds.
5184 final Rect bounds = mScrollCache.mScrollBarBounds;
5185 getVerticalScrollBarBounds(bounds);
5186 if (bounds.contains((int)x, (int)y)) {
5191 final Rect bounds = mScrollCache.mScrollBarBounds;
5192 getHorizontalScrollBarBounds(bounds);
14700 getHorizontalScrollBarBounds(Rect bounds) argument
14715 getVerticalScrollBarBounds(Rect bounds) argument
[all...]
H A DViewRootImpl.java1113 // Intersect with the bounds of the window to skip
1684 // If the activity was just relaunched, it might have unfrozen the task bounds (while
1686 // bounds.
2747 final Rect bounds = mAttachInfo.mTmpInvalRect;
2748 final boolean hasFocus = getAccessibilityFocusedRect(bounds);
2750 bounds.setEmpty();
2752 if (!bounds.equals(drawable.getBounds())) {
2946 final Rect bounds = mAttachInfo.mTmpInvalRect;
2947 if (getAccessibilityFocusedRect(bounds)) {
2950 drawable.setBounds(bounds);
2958 getAccessibilityFocusedRect(Rect bounds) argument
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java1481 * Gets the node bounds in parent coordinates.
1483 * @param outBounds The output node bounds.
1491 * Sets the node bounds in parent coordinates.
1498 * @param bounds The node bounds.
1502 public void setBoundsInParent(Rect bounds) { argument
1504 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds
1538 setBoundsInScreen(Rect bounds) argument
[all...]
H A DAccessibilityWindowInfo.java268 * Gets the bounds of this window in the screen.
270 * @param outBounds The out window bounds.
277 * Sets the bounds of this window in the screen.
279 * @param bounds The out window bounds.
283 public void setBoundsInScreen(Rect bounds) { argument
284 mBoundsInScreen.set(bounds);
534 builder.append(", bounds=").append(mBoundsInScreen);
/frameworks/base/core/java/android/widget/
H A DAbsListView.java172 * Indicates the view is being flung outside of normal content bounds
786 * itself to modify the bounds of the selection shown for that item.
790 * Called to allow the list item to adjust the bounds shown for
793 * @param bounds On call, this contains the bounds the list has
794 * selected for the item (that is the bounds of the entire view). The
797 public void adjustListItemSelectionBounds(Rect bounds); argument
2563 final Rect bounds = mSelectorRect;
2564 final float x = bounds.exactCenterX();
2565 final float y = bounds
[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...]
H A DFastScroller.java575 final Rect bounds = mTempBounds;
576 measurePreview(mPrimaryText, bounds);
577 applyLayout(mPrimaryText, bounds);
578 measurePreview(mSecondaryText, bounds);
579 applyLayout(mSecondaryText, bounds);
583 bounds.left -= mPreviewImage.getPaddingLeft();
584 bounds.top -= mPreviewImage.getPaddingTop();
585 bounds.right += mPreviewImage.getPaddingRight();
586 bounds.bottom += mPreviewImage.getPaddingBottom();
587 applyLayout(mPreviewImage, bounds);
600 applyLayout(View view, Rect bounds) argument
1666 animateBounds(View v, Rect bounds) argument
[all...]
H A DListPopupWindow.java108 * Optional anchor-relative bounds to be used as the transition epicenter.
109 * When {@code null}, the anchor bounds are used as the epicenter.
462 * Specifies the anchor-relative bounds of the popup's transition
465 * @param bounds anchor-relative bounds
468 public void setEpicenterBounds(Rect bounds) { argument
469 mEpicenterBounds = bounds;
1041 * outside of its bounds will open the popup window. Lifting will select the
H A DListView.java3295 void drawOverscrollHeader(Canvas canvas, Drawable drawable, Rect bounds) { argument
3299 canvas.clipRect(bounds);
3301 final int span = bounds.bottom - bounds.top;
3303 bounds.top = bounds.bottom - height;
3306 drawable.setBounds(bounds);
3312 void drawOverscrollFooter(Canvas canvas, Drawable drawable, Rect bounds) { argument
3316 canvas.clipRect(bounds);
3318 final int span = bounds
3515 drawDivider(Canvas canvas, Rect bounds, int childIndex) argument
[all...]
H A DPopupWindow.java435 * Sets the bounds used as the epicenter of the enter and exit transitions.
438 * the direction of travel. For popup windows, the anchor view bounds are
444 * @param bounds the epicenter bounds relative to the anchor view, or
449 public void setEpicenterBounds(Rect bounds) { argument
450 mEpicenterBounds = bounds;
805 * <p>Allows the popup window to extend beyond the bounds of the screen. By default the
1867 * Returns the window-relative epicenter bounds to be used by enter and
1873 * @return the window-relative epicenter bounds to be used by enter and
1887 final Rect bounds
[all...]
H A DRadialTimePickerView.java1274 private void getBoundsForVirtualView(int virtualViewId, Rect bounds) { argument
1306 bounds.set((int) (xCenter - radius), (int) (yCenter - radius),
H A DScrollBarDrawable.java154 protected void onBoundsChange(Rect bounds) { argument
155 super.onBoundsChange(bounds);
186 private void drawTrack(Canvas canvas, Rect bounds, boolean vertical) { argument
196 track.setBounds(bounds);
202 private void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument
208 thumb.setBounds(bounds.left, bounds.top + offset,
209 bounds.right, bounds.top + offset + length);
218 thumb.setBounds(bounds
[all...]
H A DTextView.java2292 * The Drawables' bounds will be set to their intrinsic bounds.
2320 * Drawable there. The Drawables' bounds will be set to their intrinsic
2321 * bounds.
2496 * Drawables' bounds will be set to their intrinsic bounds.
2525 * there. The Drawables' bounds will be set to their intrinsic bounds.
3084 * metrics, and also increases top and bottom bounds to provide more space.
5267 Rect bounds
5943 getLineBounds(int line, Rect bounds) argument
[all...]
/frameworks/av/services/audioflinger/
H A DFastMixerDumpState.cpp78 uint32_t bounds = mBounds; local
79 uint32_t newestOpen = bounds & 0xFFFF;
80 uint32_t oldestClosed = bounds >> 16;

Completed in 5117 milliseconds

123456