Searched refs:bounds (Results 226 - 250 of 267) sorted by relevance

1234567891011

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java85 * to their SpaceNode bounds.
745 // This state is now visible, update the bounds and show it
752 Rect bounds = isDefaultDockState
759 viewState.dockAreaOverlay.setBounds(bounds);
761 viewState.startAnimation(bounds, areaAlpha, hintAlpha,
786 * @return the bounds of the stack action button.
H A DTaskViewThumbnail.java125 // Return early if the bounds have not changed
248 // We consider this a stack task if it is not freeform (ie. has no bounds) or has been
250 boolean isStackTask = !mTask.isFreeformTask() || mTask.bounds == null;
287 // Otherwise, if this is a freeform task with task bounds, then scale the thumbnail
288 // to fit the entire bitmap into the task bounds
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java143 * optical bounds for both the track and thumb.
149 * optical bounds for both the track and thumb.
155 * optical bounds.
713 * the thumb's optical bounds will be clipped out of the track drawable,
1244 final Rect bounds = thumbDrawable.getBounds();
1245 cX = bounds.left + bounds.right;
H A DListPopupWindow.java146 * Optional anchor-relative bounds to be used as the transition epicenter.
147 * When {@code null}, the anchor bounds are used as the epicenter.
503 * Specifies the anchor-relative bounds of the popup's transition
506 * @param bounds anchor-relative bounds
510 public void setEpicenterBounds(Rect bounds) { argument
511 mEpicenterBounds = bounds;
1104 * outside of its bounds will open the popup window. Lifting will select the
/frameworks/base/core/java/android/app/
H A DIActivityManager.aidl362 * Resizes the input stack id to the given bounds.
365 * @param bounds Bounds to resize the stack to or {@code null} for fullscreen.
375 void resizeStack(int stackId, in Rect bounds, boolean allowResizeInDockedMode,
448 void resizeTask(int taskId, in Rect bounds, int resizeMode);
496 boolean moveTopActivityToPinnedStack(int stackId, in Rect bounds);
509 * Resizes the docked stack, and all other stacks as the result of the dock stack bounds change.
511 * @param dockedBounds The bounds for the docked stack.
512 * @param tempDockedTaskBounds The temporary bounds for the tasks in the docked stack, which
513 * might be different from the stack bounds to allow more
515 * same as the stack bounds
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DCoordinatorLayout.java683 * @param out rect to set to the bounds of the descendant view
1355 // The view has not been laid out yet, so we can't obtain its bounds.
1367 final Rect bounds = acquireTempRect();
1368 bounds.set(child.getLeft(), child.getTop(), child.getRight(), child.getBottom());
1371 // Make sure that the rect is within the view's bounds
1372 if (!bounds.contains(dodgeRect)) {
1373 throw new IllegalArgumentException("Rect should be within the child's bounds."
1375 + " | Bounds:" + bounds.toShortString());
1378 dodgeRect.set(bounds);
1381 // We can release the bounds rec
[all...]
/frameworks/base/libs/hwui/
H A DFrameBuilder.cpp146 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop)
155 // Usually the contents bounds should be mContentDrawBounds - however - we will
157 // If there is no content bounds we ignore the layering as stated above and start with 2.
159 // Backdrop bounds in render target space
162 // Bounds that content will fill in render target space (note content node bounds may be bigger)
244 clipFlags &= ~CLIP_TO_BOUNDS; // bounds clipping done by layer
272 Rect bounds; local
273 properties.getRevealClip().getBounds(&bounds);
275 bounds, properties.getRevealClip().getRadius());
562 * for paint's style on the bounds bein
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipMenuActivityController.java386 // Fetch the pinned stack bounds
391 stackBounds = pinnedStackInfo.bounds;
H A DPipMotionHelper.java119 * Synchronizes the current bounds with the pinned stack.
126 mBounds.set(stackInfo.bounds);
129 Log.w(TAG, "Failed to get pinned stack bounds");
134 * Tries to the move the pinned stack to the given {@param bounds}.
164 mActivityManager.resizeStack(PINNED_STACK_ID, null /* bounds */,
193 * @return the PiP bounds.
200 * @return the closest minimized PiP bounds.
211 * @return whether the PiP at the current bounds should be minimized.
229 * @return whether the PiP at the current bounds should be dismissed.
247 // movement bounds t
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java1142 * @return the offset of the baseline within the RecyclerView's bounds or -1
1739 * Does not perform bounds checking. Used by internal methods that have already validated input.
3731 // bounds, we run a change animation. Both views will be cleaned automatically
4583 * Offset the bounds of all child views by <code>dy</code> pixels.
4586 * @param dy Vertical pixel offset to apply to the bounds of all child views
4621 * Offset the bounds of all child views by <code>dx</code> pixels.
4624 * @param dx Horizontal pixel offset to apply to the bounds of all child views
4634 * Returns the bounds of the view including its decoration and margins.
4637 * @param outBounds A rect that will receive the bounds of the element including its
7147 * @param pixelDistance Distance from the current viewport to the bounds o
[all...]
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java1236 // Intersect with the bounds of the window to skip
1828 // If the activity was just relaunched, it might have unfrozen the task bounds (while
1830 // bounds.
2931 final Rect bounds = mAttachInfo.mTmpInvalRect;
2932 final boolean hasFocus = getAccessibilityFocusedRect(bounds);
2934 bounds.setEmpty();
2936 if (!bounds.equals(drawable.getBounds())) {
3130 final Rect bounds = mAttachInfo.mTmpInvalRect;
3131 if (getAccessibilityFocusedRect(bounds)) {
3134 drawable.setBounds(bounds);
3142 getAccessibilityFocusedRect(Rect bounds) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DListPopupWindow.java111 * 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;
1065 * outside of its bounds will open the popup window. Lifting will select the
H A DGridLayout.java227 * the bounds of each view are extended outwards, according
374 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}.
407 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}.
1302 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds();
1303 assoc.put(spec, bounds);
1353 Bounds[] bounds = getGroupBounds().values;
1354 for (int i = 0; i < bounds.length; i++) {
1355 int size = bounds[i].size(min);
H A DTextView.java1727 * within the layout bounds by using the default auto-size configuration.
1774 * within the layout bounds. If all the configuration params are valid the type of auto-size is
1823 * within the layout bounds. If at least one value from the <code>presetSizes</code> is valid
2878 * The Drawables' bounds will be set to their intrinsic bounds.
2906 * Drawable there. The Drawables' bounds will be set to their intrinsic
2907 * bounds.
3082 * Drawables' bounds will be set to their intrinsic bounds.
3111 * there. The Drawables' bounds wil
6967 getLineBounds(int line, Rect bounds) argument
[all...]
H A DRadialTimePickerView.java1311 private void getBoundsForVirtualView(int virtualViewId, Rect bounds) { argument
1343 bounds.set((int) (xCenter - radius), (int) (yCenter - radius),
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp68 const SkRect& bounds = obj->getBounds(); local
69 GraphicsJNI::rect_to_jrectf(bounds, env, jbounds);
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp151 static jboolean getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) { argument
161 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds);
/frameworks/base/services/core/java/com/android/server/wm/
H A DDockedStackDividerController.java151 int getSmallestWidthDpForBounds(Rect bounds) { argument
161 mTmpRect.set(bounds);
H A DWindowState.java160 // The thickness of a window resize handle outside the window bounds on the free form workspace
267 * these in the bounds animation to ensure we only observe inset changes
726 // If the task has temp inset bounds set, we have to make sure all its windows uses
757 // If the bounds are frozen, we still want to translate the window freely and only
775 // were given smaller bounds for the purposes of layout. Skip adjustments for
847 // way since SystemUI controls the bounds. For freeform however
1221 * Retrieves the visible bounds of the window.
1222 * @param bounds The rect which gets the bounds.
1224 void getVisibleBounds(Rect bounds) { argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java4209 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/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java212 * the bounds of each view are extended outwards, according
363 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}.
396 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}.
1193 Bounds bounds = spec.getAbsoluteAlignment(horizontal).getBounds();
1194 assoc.put(spec, bounds);
1244 Bounds[] bounds = getGroupBounds().values;
1245 for (int i = 0; i < bounds.length; i++) {
1246 int size = bounds[i].size(min);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java702 final Rect bounds = keyBackground.getBounds();
703 if (key.width != bounds.right ||
704 key.height != bounds.bottom) {
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteControllerDialog.java858 final Rect bounds = previousRouteBoundMap.get(route);
861 object = new OverlayObject(bitmap, bounds).setAlphaAnimation(1.0f, 0.0f)
866 object = new OverlayObject(bitmap, bounds).setTranslateYAnimation(deltaY)
/frameworks/native/opengl/libagl/
H A Dcontext.h193 GLsizei bounds; member in struct:android::gl::array_t
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java409 protected void onBoundsChange(Rect bounds) { argument
410 mAnimatedVectorState.mVectorDrawable.setBounds(bounds);

Completed in 781 milliseconds

1234567891011