Lines Matching defs:rect

153         Rect rect = sRectPool.acquire();
154 if (rect == null) {
155 rect = new Rect();
157 return rect;
160 private static void releaseTempRect(@NonNull Rect rect) {
161 rect.setEmpty();
162 sRectPool.release(rect);
679 * Retrieve the transformed bounding rect of an arbitrary descendant view.
683 * @param out rect to set to the bounds of the descendant view
894 * Mark the last known child position rect for the given child view.
896 * The rect used here should be one returned by
901 * @param r rect to set
909 * Get the last known child rect recorded by
913 * @param out rect to set to the outpur values
921 * Get the position rect for the given child. If the child has currently requested layout
925 * @param transform true to include transformation in the output rect, false to
927 * @param out rect to set to the output values
1032 * Calculate the desired child rect relative to an anchor rect, respecting both
1035 * @param child child view to calculate a rect for
1037 * @param anchorRect rect in CoordinatorLayout coordinates of the anchor view area
1038 * @param out rect to set to the output values
1272 // Get the current draw rect of the view
1371 // Make sure that the rect is within the view's bounds
1381 // We can release the bounds rect now
1583 * Adjust the child left, top, right, bottom rect to the correct anchor view position,
2646 * @param rect the rect to update with the dodge rectangle
2647 * @return true the rect was updated, false if we should use the child's bounds
2650 @NonNull Rect rect) {
2838 * Set the last known position rect for this child view
2839 * @param r the rect to set
2846 * Get the last known position rect for this child view.