Searched refs:bounds (Results 201 - 225 of 276) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java1641 * Gets the node bounds in parent coordinates.
1643 * @param outBounds The output node bounds.
1651 * Sets the node bounds in parent coordinates.
1658 * @param bounds The node bounds.
1662 public void setBoundsInParent(Rect bounds) { argument
1664 mBoundsInParent.set(bounds.left, bounds.top, bounds.right, bounds
1698 setBoundsInScreen(Rect bounds) argument
[all...]
H A DAccessibilityWindowInfo.java306 * Gets the bounds of this window in the screen.
308 * @param outBounds The out window bounds.
315 * Sets the bounds of this window in the screen.
317 * @param bounds The out window bounds.
321 public void setBoundsInScreen(Rect bounds) { argument
322 mBoundsInScreen.set(bounds);
593 builder.append(", bounds=").append(mBoundsInScreen);
/frameworks/base/core/java/android/view/
H A DView.java470 * its current bounds.
502 * <li>If in the course of processing the event, the view's bounds may need
2178 * lie outside of this view's bounds.
3819 * Current clip bounds. to which all drawing of this view are constrained.
3900 * visible edges of this view its bounds.
5892 final Rect bounds = mScrollCache.mScrollBarBounds;
5894 getVerticalScrollBarBounds(bounds, touchBounds);
5898 final int thumbLength = ScrollBarUtils.getThumbLength(bounds.height(), bounds.width(),
5900 final int thumbOffset = ScrollBarUtils.getThumbOffset(bounds
16673 getVerticalScrollBarBounds(@ullable Rect bounds, @Nullable Rect touchBounds) argument
16681 getRoundVerticalScrollBarBounds(Rect bounds) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java455 * Sets the bounds used as the epicenter of the enter and exit transitions.
458 * the direction of travel. For popup windows, the anchor view bounds are
464 * @param bounds the epicenter bounds relative to the anchor view, or
469 public void setEpicenterBounds(Rect bounds) { argument
470 mEpicenterBounds = bounds;
825 * <p>Allows the popup window to extend beyond the bounds of the screen. By default the
1941 * Returns the window-relative epicenter bounds to be used by enter and
1947 * @return the window-relative epicenter bounds to be used by enter and
1963 final Rect bounds
[all...]
H A DExpandableListView.java173 * indicator bounds
414 // the left & right bounds
521 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument
534 divider.setBounds(bounds);
543 super.drawDivider(canvas, bounds, flatListPosition);
1162 * Sets the drawing bounds for the child indicator. For either, you can
1164 * indicator's bounds.
1167 * @param left The left position (relative to the left bounds of this View)
1169 * @param right The right position (relative to the left bounds of this
1179 * Sets the relative drawing bounds fo
[all...]
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
H A DOctopusDrawable.java143 public void onBoundsChange(Rect bounds) { argument
144 final float w = bounds.width();
145 final float h = bounds.height();
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
H A DPipManager.java290 // and this could clobber the existing animation to the new bounds calculated by WM.
301 // Reset the PIP bounds and apply. PIP bounds can be changed by two reasons.
648 Rect bounds = isSettingsShown() ? mSettingsPipBounds : mDefaultPipBounds;
649 if (mPipBounds != bounds) {
650 mPipBounds = bounds;
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java291 protected void onBoundsChange(Rect bounds) { argument
293 mDelegateDrawable.setBounds(bounds);
296 mAnimatedVectorState.mVectorDrawable.setBounds(bounds);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp226 Rect bounds(mCropWidth, mCropHeight);
230 buf->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, &dst));
/frameworks/base/core/java/android/app/
H A DExitTransitionCoordinator.java411 RectF bounds = new RectF();
420 captureSharedElementState(view, name, bundle, matrix, bounds);
H A DActivityManager.java733 /** Returns true if the task bounds should persist across power cycles. */
792 * are laid out differently as they are allowed to extend past the display bounds
860 * Returns true if the stack should be resized to match the bounds specified by
954 * that the resize doesn't need to preserve the window, and can be skipped if bounds
969 * that the resize should be performed even if the bounds appears unchanged.
991 * even if the bounds is unchanged. Usually used to force a resizing when a drag action
1648 * The bounds of the task.
1651 public Rect bounds; field in class:ActivityManager.RecentTaskInfo
1702 if (bounds != null) {
1704 bounds
2785 public Rect bounds = new Rect(); field in class:ActivityManager.StackInfo
[all...]
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java38 * EpicenterTranslateClipReveal captures the clip bounds and translation values
40 * epicenter bounds during a visibility transition.
44 private static final String PROPNAME_BOUNDS = "android:epicenterReveal:bounds";
111 final Rect bounds = new Rect(0, 0, view.getWidth(), view.getHeight());
112 values.values.put(PROPNAME_BOUNDS, bounds);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableWrapper.java351 protected void onBoundsChange(@NonNull Rect bounds) { argument
353 mDrawable.setBounds(bounds);
H A DShapeDrawable.java347 protected void onBoundsChange(Rect bounds) { argument
348 super.onBoundsChange(bounds);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaPipeline.cpp116 const SkRect bounds = SkRect::MakeWH(properties.getWidth(), properties.getHeight()); local
117 if (properties.getClipToBounds() && layerCanvas->quickReject(bounds)) {
275 // #1 - content (local bounds are at (0,0), will be translated and clipped to backdrop)
284 // Usually the contents bounds should be mContentDrawBounds - however - we will
286 // If there is no content bounds we ignore the layering as stated above and start with 2.
288 // Backdrop bounds in render target space
291 // Bounds that content will fill in render target space (note content node bounds may be bigger)
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsTransitionHelper.java301 Rect bounds) {
306 bounds));
300 composeDockAnimationSpec(TaskView taskView, Rect bounds) argument
/frameworks/native/libs/gui/
H A DSurface.cpp667 if (mConnectedToCpu || mDirtyRegion.bounds() == Rect::INVALID_RECT) {
1555 err = src->lock(GRALLOC_USAGE_SW_READ_OFTEN, reg.bounds(),
1560 err = dst->lockAsync(GRALLOC_USAGE_SW_WRITE_OFTEN, reg.bounds(),
1627 const Rect bounds(backBuffer->width, backBuffer->height);
1632 newDirtyRegion.andSelf(bounds);
1634 newDirtyRegion.set(bounds);
1653 newDirtyRegion.set(bounds);
1680 newDirtyRegion.bounds(), &vaddr, fenceFd);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerBaseConfigSetTest.java127 final Rect bounds = mLayoutManager.getViewBounds(child);
129 Log.d(TAG, logPrefix + " post scroll to invisible mPosition " + bounds + " in "
203 // set a new adapter with huge items to test full bounds check
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp466 // Now we need to calculate the parent bounds, so we can clip ourselves to those.
467 // When calculating the parent bounds for purposes of clipping,
476 Rect bounds = p->computeScreenBounds(false); local
477 bounds.intersect(win, &win);
501 Rect bounds = win; local
506 bounds = p->computeScreenBounds(false /* reduceTransparentRegion */);
512 win.intersect(bounds, &win);
516 // subtract the transparent region and snap to the bounds
574 // display bounds.
579 // subtract the transparent region and snap to the bounds
997 Rect bounds = reduce(win, s.activeTransparentRegion); local
1046 Rect bounds = reduce(win, s.activeTransparentRegion); local
[all...]
H A DDisplayDevice.h173 inline Rect bounds() const { return getBounds(); } function in class:android::DisplayDevice
/frameworks/base/libs/hwui/
H A DFontRenderer.h146 void initRender(const Rect* clip, Rect* bounds, TextDrawFunctor* functor);
/frameworks/native/include/ui/
H A DRegion.h52 inline Rect bounds() const { return getBounds(); } function in class:android::Region
57 // the region becomes its bounds
175 // bounds of the region. However, if the region is
/frameworks/native/libs/ui/include/ui/
H A DRegion.h52 inline Rect bounds() const { return getBounds(); } function in class:android::Region
57 // the region becomes its bounds
175 // bounds of the region. However, if the region is
/frameworks/base/core/java/android/text/
H A DLayout.java651 * Return the start position of the line, given the left and right bounds
655 * @param left the left bounds (0, or leading margin if ltr para)
656 * @param right the right bounds (width, minus leading margin if rtl para)
805 * If bounds is not null, return the top, left, right, bottom extents
808 * @param bounds Optional. If not null, it returns the extent of the line
811 public int getLineBounds(int line, Rect bounds) { argument
812 if (bounds != null) {
813 bounds.left = 0; // ???
814 bounds.top = getLineTop(line);
815 bounds
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp350 static void doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, argument
364 GraphicsJNI::irect_to_jrect(ir, env, bounds);
368 jstring text, jint start, jint end, jint bidiFlags, jobject bounds) {
372 doTextBounds(env, textArray + start, end - start, bounds, *paint, typeface, bidiFlags);
377 jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) {
381 doTextBounds(env, textArray + index, count, bounds, *paint, typeface, bidiFlags);
367 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
376 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument

Completed in 1251 milliseconds

1234567891011>>