Lines Matching refs:outRect

135      * @param outRect Receives the computed frame of the object in its
138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) {
139 apply(gravity, w, h, container, 0, 0, outRect);
152 * @param outRect Receives the computed frame of the object in its
160 Rect outRect, int layoutDirection) {
162 apply(absGravity, w, h, container, 0, 0, outRect);
183 * @param outRect Receives the computed frame of the object in its
187 int xAdj, int yAdj, Rect outRect) {
190 outRect.left = container.left
192 outRect.right = outRect.left + w;
195 if (outRect.left < container.left) {
196 outRect.left = container.left;
198 if (outRect.right > container.right) {
199 outRect.right = container.right;
204 outRect.left = container.left + xAdj;
205 outRect.right = outRect.left + w;
208 if (outRect.right > container.right) {
209 outRect.right = container.right;
214 outRect.right = container.right - xAdj;
215 outRect.left = outRect.right - w;
218 if (outRect.left < container.left) {
219 outRect.left = container.left;
224 outRect.left = container.left + xAdj;
225 outRect.right = container.right + xAdj;
231 outRect.top = container.top
233 outRect.bottom = outRect.top + h;
236 if (outRect.top < container.top) {
237 outRect.top = container.top;
239 if (outRect.bottom > container.bottom) {
240 outRect.bottom = container.bottom;
245 outRect.top = container.top + yAdj;
246 outRect.bottom = outRect.top + h;
249 if (outRect.bottom > container.bottom) {
250 outRect.bottom = container.bottom;
255 outRect.bottom = container.bottom - yAdj;
256 outRect.top = outRect.bottom - h;
259 if (outRect.top < container.top) {
260 outRect.top = container.top;
265 outRect.top = container.top + yAdj;
266 outRect.bottom = container.bottom + yAdj;
289 * @param outRect Receives the computed frame of the object in its
297 int xAdj, int yAdj, Rect outRect, int layoutDirection) {
299 apply(absGravity, w, h, container, xAdj, yAdj, outRect);