Lines Matching defs:bounds

459  * 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);
5193 if (bounds.contains((int)x, (int)y)) {
5211 final Rect bounds = mScrollCache.mScrollBarBounds;
5212 getVerticalScrollBarBounds(bounds);
5216 final int thumbLength = ScrollBarUtils.getThumbLength(bounds.height(), bounds.width(),
5218 final int thumbOffset = ScrollBarUtils.getThumbOffset(bounds.height(), thumbLength,
5220 final int thumbTop = bounds.top + thumbOffset;
5221 if (x >= bounds.left && x <= bounds.right && y >= thumbTop
5236 final Rect bounds = mScrollCache.mScrollBarBounds;
5237 getHorizontalScrollBarBounds(bounds);
5241 final int thumbLength = ScrollBarUtils.getThumbLength(bounds.width(), bounds.height(),
5243 final int thumbOffset = ScrollBarUtils.getThumbOffset(bounds.width(), thumbLength,
5245 final int thumbLeft = bounds.left + thumbOffset;
5246 if (x >= thumbLeft && x <= thumbLeft + thumbLength && y >= bounds.top
5247 && y <= bounds.bottom) {
5378 * Add a listener that will be called when the bounds of the view change due to
5381 * @param listener The listener that will be called when layout bounds change.
5396 * @param listener The listener for layout bounds change.
5943 * Populates <code>outRect</code> with the hotspot bounds. By default,
5944 * the hotspot bounds are identical to the screen bounds.
5946 * @param outRect rect to populate with hotspot bounds
6558 * @param clipToParent Whether to clip child bounds to the parent ones.
6785 Rect bounds = mAttachInfo.mTmpInvalRect;
6787 getDrawingRect(bounds);
6788 info.setBoundsInParent(bounds);
6790 getBoundsOnScreen(bounds, true);
6791 info.setBoundsInScreen(bounds);
6934 * If the view's bounds haven't been set yet, layout has not completed. In that situation,
10790 * bounds of a view and the view is not currently being touched.
10797 * when the pointer enters the bounds of the view.</li>
10799 * when the pointer has already entered the bounds of the view and has moved.</li>
10801 * when the pointer has exited the bounds of the view or when the pointer is
10823 // The root view may receive hover (or touch) events that are outside the bounds of
10825 // hovers that are actually within the bounds of the root view.
10981 final Rect bounds = mScrollCache.mScrollBarBounds;
10982 getVerticalScrollBarBounds(bounds);
10988 bounds.height(), bounds.width(), extent, range);
10990 bounds.height(), thumbLength, extent, range, offset);
10993 final float maxThumbOffset = bounds.height() - thumbLength;
11010 final Rect bounds = mScrollCache.mScrollBarBounds;
11011 getHorizontalScrollBarBounds(bounds);
11017 bounds.width(), bounds.height(), extent, range);
11019 bounds.width(), thumbLength, extent, range, offset);
11022 final float maxThumbOffset = bounds.width() - thumbLength;
11593 * Interface definition for a callback to be invoked when the layout bounds of a view
11598 * Called when the layout bounds of a view changes due to layout processing.
11600 * @param v The view whose bounds have changed.
11711 * Return the visible drawing bounds of your view. Fills in the output
11713 * getWidth(), and getHeight(). These bounds do not account for any
11717 * @param outRect The (scrolled) drawing bounds of the view.
12292 * value will clip a View to its bounds, unless the View returns <code>false</code> from
13480 * @param dirty the rectangle representing the bounds of the dirty region
13664 * Tells the parent view to damage this view's bounds.
13739 * draw all the pixels overlapping its bounds using a fully opaque color.
14700 private void getHorizontalScrollBarBounds(Rect bounds) {
14709 bounds.top = mScrollY + height - size - (mUserPaddingBottom & inside);
14710 bounds.left = mScrollX + (mPaddingLeft & inside);
14711 bounds.right = mScrollX + width - (mUserPaddingRight & inside) - verticalScrollBarGap;
14712 bounds.bottom = bounds.top + size;
14715 private void getVerticalScrollBarBounds(Rect bounds) {
14728 bounds.left = mScrollX + width - size - (mUserPaddingRight & inside);
14731 bounds.left = mScrollX + (mUserPaddingLeft & inside);
14734 bounds.top = mScrollY + (mPaddingTop & inside);
14735 bounds.right = bounds.left + size;
14736 bounds.bottom = mScrollY + height - (mUserPaddingBottom & inside);
14797 final Rect bounds = cache.mScrollBarBounds;
14798 getHorizontalScrollBarBounds(bounds);
14799 onDrawHorizontalScrollBar(canvas, scrollBar, bounds.left, bounds.top,
14800 bounds.right, bounds.bottom);
14802 invalidate(bounds);
14810 final Rect bounds = cache.mScrollBarBounds;
14811 getVerticalScrollBarBounds(bounds);
14812 onDrawVerticalScrollBar(canvas, scrollBar, bounds.left, bounds.top,
14813 bounds.right, bounds.bottom);
14815 invalidate(bounds);
16586 * when it is drawn. Setting the value to null will remove the clip bounds
16587 * and the view will draw normally, using its full bounds.
16613 * @return A copy of the current clip bounds if clip bounds are set,
16622 * Populates an output rectangle with the clip bounds of the view,
16624 * clip bounds are {@code null}.
16626 * @param outRect rectangle in which to place the clip bounds of the view
16628 * clip bounds are {@code null}
16960 // clip bounds ignore scroll
17268 * Sets the correct background bounds and rebuilds the outline, if needed.
17298 final Rect bounds = drawable.getBounds();
17299 final int width = bounds.width();
17300 final int height = bounds.height();
17304 // instead be applied by rendernode's LTRB bounds below. This way, the
17305 // drawable's bounds match with its rendernode bounds and its content
17306 // will lie within those bounds in the rendernode tree.
17307 canvas.translate(-bounds.left, -bounds.top);
17316 renderNode.setLeftTopRightBottom(bounds.left, bounds.top, bounds.right, bounds.bottom);
17465 * Return true if o is a ViewGroup that is laying out using optical bounds.
17610 // parent display list may need to be recreated based on a change in the bounds
19603 * @return the offset of the baseline within the widget's bounds or -1
19835 * Sets the measured dimension without extra processing for things like optical bounds.
19837 * for optical bounds, etc. such as those from the measurement cache.
20765 * Given a Drawable whose bounds have been set to draw into this view,
22069 * given those bounds regardless of how big it wants to be.
22098 * for the child. The child is going to be given those bounds regardless
22993 * Show where the margins, bounds and layout bounds are for each view.