/frameworks/native/services/surfaceflinger/ |
H A D | BufferLayer.cpp | 605 // FIXME: postedRegion should be dirty & bounds 845 const Rect bounds{computeBounds()}; // Rounds from FloatRect 848 Rect win = bounds; 855 if (!win.intersect(bounds, &win)) {
|
H A D | Layer.cpp | 313 // Now we need to calculate the parent bounds, so we can clip ourselves to those. 314 // When calculating the parent bounds for purposes of clipping, 323 Rect bounds = p->computeScreenBounds(false); local 324 bounds.intersect(win, &win); 348 Rect bounds = win; local 353 bounds = p->computeScreenBounds(false /* reduceTransparentRegion */); 361 floatWin = floatWin.intersect(bounds.toFloatRect()); 365 // subtract the transparent region and snap to the bounds 425 // display bounds. 430 // subtract the transparent region and snap to the bounds 684 Rect bounds = reduce(win, s.activeTransparentRegion); local [all...] |
H A D | SurfaceFlinger.cpp | 1831 const Rect bounds(displayDevice->getBounds()); 1841 drawRegion.andSelf(bounds); 1873 displayDevice->undefinedRegion.set(bounds); 2715 Rect bounds(layer->computeScreenBounds()); 2716 visibleRegion.set(bounds); 2893 const Region bounds(displayDevice->bounds()); 2952 const Region letterbox(bounds.subtract(displayDevice->getScissor())); 2968 const Rect& bounds(displayDevice->getBounds()); 2970 if (scissor != bounds) { 4774 Rect bounds = getBounds(); local [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | SwitchCompat.java | 142 * optical bounds for both the track and thumb. 148 * optical bounds for both the track and thumb. 154 * optical bounds. 712 * the thumb's optical bounds will be clipped out of the track drawable, 1243 final Rect bounds = thumbDrawable.getBounds(); 1244 cX = bounds.left + bounds.right;
|
H A D | ListPopupWindow.java | 147 * Optional anchor-relative bounds to be used as the transition epicenter. 148 * When {@code null}, the anchor bounds are used as the epicenter. 504 * Specifies the anchor-relative bounds of the popup's transition 507 * @param bounds anchor-relative bounds 511 public void setEpicenterBounds(Rect bounds) { argument 512 mEpicenterBounds = bounds; 1105 * outside of its bounds will open the popup window. Lifting will select the
|
/frameworks/base/core/java/android/app/ |
H A D | IActivityManager.aidl | 404 * Resizes the input stack id to the given bounds. 407 * @param bounds Bounds to resize the stack to or {@code null} for fullscreen. 417 void resizeStack(int stackId, in Rect bounds, boolean allowResizeInDockedMode, 488 void resizeTask(int taskId, in Rect bounds, int resizeMode); 544 boolean moveTopActivityToPinnedStack(int stackId, in Rect bounds); 557 * Resizes the docked stack, and all other stacks as the result of the dock stack bounds change. 559 * @param dockedBounds The bounds for the docked stack. 560 * @param tempDockedTaskBounds The temporary bounds for the tasks in the docked stack, which 561 * might be different from the stack bounds to allow more 563 * same as the stack bounds [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 680 * Return the start position of the line, given the left and right bounds 684 * @param left the left bounds (0, or leading margin if ltr para) 685 * @param right the right bounds (width, minus leading margin if rtl para) 834 * If bounds is not null, return the top, left, right, bottom extents 837 * @param bounds Optional. If not null, it returns the extent of the line 840 public int getLineBounds(int line, Rect bounds) { argument 841 if (bounds != null) { 842 bounds.left = 0; // ??? 843 bounds.top = getLineTop(line); 844 bounds [all...] |
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/ |
H A D | CoordinatorLayout.java | 702 * @param out rect to set to the bounds of the descendant view 1381 // The view has not been laid out yet, so we can't obtain its bounds. 1393 final Rect bounds = acquireTempRect(); 1394 bounds.set(child.getLeft(), child.getTop(), child.getRight(), child.getBottom()); 1397 // Make sure that the rect is within the view's bounds 1398 if (!bounds.contains(dodgeRect)) { 1399 throw new IllegalArgumentException("Rect should be within the child's bounds." 1401 + " | Bounds:" + bounds.toShortString()); 1404 dodgeRect.set(bounds); 1407 // We can release the bounds rec [all...] |
/frameworks/base/libs/hwui/ |
H A D | FrameBuilder.cpp | 140 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop) 149 // Usually the contents bounds should be mContentDrawBounds - however - we will 151 // If there is no content bounds we ignore the layering as stated above and start with 2. 153 // Backdrop bounds in render target space 156 // Bounds that content will fill in render target space (note content node bounds may be bigger) 238 clipFlags &= ~CLIP_TO_BOUNDS; // bounds clipping done by layer 266 Rect bounds; local 267 properties.getRevealClip().getBounds(&bounds); 268 mCanvasState.setClippingRoundRect(mAllocator, bounds, 548 * for paint's style on the bounds bein [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsView.java | 109 * to their SpaceNode bounds. 468 // even when bounds change. 840 // This state is now visible, update the bounds and show it 847 Rect bounds = isDefaultDockState 854 viewState.dockAreaOverlay.setBounds(bounds); 856 viewState.startAnimation(bounds, areaAlpha, hintAlpha, 893 * @return the bounds of the stack action button.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
H A D | PipMenuActivityController.java | 423 // Fetch the pinned stack bounds 429 stackBounds = pinnedStackInfo.bounds;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 414 // Use the recents stack bounds, fallback to fullscreen stack if it is null 421 windowRect.set(stackInfo.bounds);
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | RecyclerView.java | 1197 * @return the offset of the baseline within the RecyclerView's bounds or -1 1865 * Does not perform bounds checking. Used by internal methods that have already validated input. 3918 // bounds, we run a change animation. Both views will be cleaned automatically 4778 * Offset the bounds of all child views by <code>dy</code> pixels. 4781 * @param dy Vertical pixel offset to apply to the bounds of all child views 4816 * Offset the bounds of all child views by <code>dx</code> pixels. 4819 * @param dx Horizontal pixel offset to apply to the bounds of all child views 4829 * Returns the bounds of the view including its decoration and margins. 4832 * @param outBounds A rect that will receive the bounds of the element including its 7422 * @param pixelDistance Distance from the current viewport to the bounds o [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 1306 // Intersect with the bounds of the window to skip 1933 // If the activity was just relaunched, it might have unfrozen the task bounds (while 1935 // bounds. 3257 final Rect bounds = mAttachInfo.mTmpInvalRect; 3258 final boolean hasFocus = getAccessibilityFocusedRect(bounds); 3260 bounds.setEmpty(); 3262 if (!bounds.equals(drawable.getBounds())) { 3478 final Rect bounds = mAttachInfo.mTmpInvalRect; 3479 if (getAccessibilityFocusedRect(bounds)) { 3482 drawable.setBounds(bounds); 3490 getAccessibilityFocusedRect(Rect bounds) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ListPopupWindow.java | 111 * Optional anchor-relative bounds to be used as the transition epicenter. 112 * When {@code null}, the anchor bounds are used as the epicenter. 465 * Specifies the anchor-relative bounds of the popup's transition 468 * @param bounds anchor-relative bounds 471 public void setEpicenterBounds(Rect bounds) { argument 472 mEpicenterBounds = bounds; 1067 * outside of its bounds will open the popup window. Lifting will select the
|
H A D | GridLayout.java | 233 * the bounds of each view are extended outwards, according 380 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}. 413 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}. 1308 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds(); 1309 assoc.put(spec, bounds); 1359 Bounds[] bounds = getGroupBounds().values; 1360 for (int i = 0; i < bounds.length; i++) { 1361 int size = bounds[i].size(min);
|
H A D | TextView.java | 1630 * within the layout bounds by using the default auto-size configuration. 1677 * within the layout bounds. If all the configuration params are valid the type of auto-size is 1726 * within the layout bounds. If at least one value from the <code>presetSizes</code> is valid 2793 * The Drawables' bounds will be set to their intrinsic bounds. 2821 * Drawable there. The Drawables' bounds will be set to their intrinsic 2822 * bounds. 2997 * Drawables' bounds will be set to their intrinsic bounds. 3026 * there. The Drawables' bounds wil 7316 getLineBounds(int line, Rect bounds) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 71 const SkRect& bounds = obj->getBounds(); local 72 GraphicsJNI::rect_to_jrectf(bounds, env, jbounds);
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 152 static jboolean getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) { argument 162 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | ColorSpace.java | 4209 Rect bounds = new Rect(); 4212 paint.getTextBounds(text, 0, text.length(), bounds); 4218 canvas.drawText(text, -0.05f * width + 10, y + bounds.height() / 2.0f, paint); 4219 canvas.drawText(text, x - bounds.width() / 2.0f, 4220 height + bounds.height() + 16, paint);
|
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/ |
H A D | GridLayout.java | 214 * the bounds of each view are extended outwards, according 365 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}. 398 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}. 1196 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds(); 1197 assoc.put(spec, bounds); 1247 Bounds[] bounds = getGroupBounds().values; 1248 for (int i = 0; i < bounds.length; i++) { 1249 int size = bounds[i].size(min);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 224 // The thickness of a window resize handle outside the window bounds on the free form workspace 324 * these in the bounds animation to ensure we only observe inset changes 868 // If the task has temp inset bounds set, we have to make sure all its windows uses 901 // If the bounds are frozen, we still want to translate the window freely and only 918 // were given smaller bounds for the purposes of layout. Skip adjustments for 1001 // way since SystemUI controls the bounds. For freeform however 1424 * Retrieves the visible bounds of the window. 1425 * @param bounds The rect which gets the bounds. 1427 void getVisibleBounds(Rect bounds) { argument [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
H A D | MediaRouteControllerDialog.java | 862 final Rect bounds = previousRouteBoundMap.get(route); 865 object = new OverlayObject(bitmap, bounds).setAlphaAnimation(1.0f, 0.0f) 870 object = new OverlayObject(bitmap, bounds).setTranslateYAnimation(deltaY)
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 702 final Rect bounds = keyBackground.getBounds(); 703 if (key.width != bounds.right || 704 key.height != bounds.bottom) {
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
H A D | MediaRouteControllerDialog.java | 859 final Rect bounds = previousRouteBoundMap.get(route); 862 object = new OverlayListView.OverlayObject(bitmap, bounds).setAlphaAnimation(1.0f, 0.0f) 867 object = new OverlayListView.OverlayObject(bitmap, bounds).setTranslateYAnimation(deltaY)
|