Searched refs:bounds (Results 76 - 100 of 161) sorted by relevance

1234567

/frameworks/base/libs/hwui/
H A DDeferredDisplayList.h55 // global op bounds, mapped by mMatrix to be in screen space coordinates, clipped
61 int mClipSideFlags; // specifies which sides of the bounds are clipped, unclipped if cleared
84 DeferredDisplayList(const Rect& bounds, bool avoidOverdraw = true) : argument
85 mBounds(bounds), mAvoidOverdraw(avoidOverdraw) {
151 // layer space bounds of rendering
199 bool opaqueOverBounds; // opaque over bounds in DeferredDisplayState - can skip ops below
H A DVertexBuffer.h105 * Brute force bounds computation, used only if the producer of this
106 * vertex buffer can't determine bounds more simply/efficiently
140 void setBounds(Rect bounds) { mBounds = bounds; } argument
H A DFontRenderer.h103 // bounds is an out parameter
106 Rect* bounds, Functor* functor, bool forceFinish = true);
108 // bounds is an out parameter
111 float hOffset, float vOffset, Rect* bounds, Functor* functor);
157 void initRender(const Rect* clip, Rect* bounds, Functor* functor);
H A DPathCache.cpp89 const SkRect& bounds = path->getBounds(); local
90 PathCache::computeBounds(bounds, paint, left, top, offset, width, height);
93 void PathCache::computeBounds(const SkRect& bounds, const SkPaint* paint, argument
95 const float pathWidth = fmax(bounds.width(), 1.0f);
96 const float pathHeight = fmax(bounds.height(), 1.0f);
98 left = bounds.fLeft;
99 top = bounds.fTop;
H A DSnapshot.h173 void setClippingRoundRect(LinearAllocator& allocator, const Rect& bounds,
213 * bounds and is passed to subsequent snapshots.
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DDrawerArrowDrawable.java112 Rect bounds = getBounds();
150 canvas.translate(bounds.centerX(), mCenterOffset);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleBackground.java103 public RippleBackground(RippleDrawable owner, Rect bounds) { argument
105 mBounds = bounds;
197 * Returns the maximum bounds of the ripple relative to the ripple center.
199 public void getBounds(Rect bounds) { argument
203 bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
H A DBitmapDrawable.java274 /** Get the gravity used to position/stretch the bitmap within its bounds.
282 /** Set the gravity used to position/stretch the bitmap within its bounds.
468 protected void onBoundsChange(Rect bounds) { argument
474 updateMirrorMatrix(bounds.right - bounds.left);
572 final Rect bounds = getBounds();
575 bounds, mDstRect, layoutDirection);
577 final int left = mDstRect.left - bounds.left;
578 final int top = mDstRect.top - bounds.top;
579 final int right = bounds
[all...]
H A DRipple.java112 public Ripple(RippleDrawable owner, Rect bounds, float startingX, float startingY) { argument
114 mBounds = bounds;
263 * Returns the maximum bounds of the ripple relative to the ripple center.
265 public void getBounds(Rect bounds) { argument
269 bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
273 * Specifies the starting position relative to the drawable bounds. No-op if
H A DScaleDrawable.java291 protected void onBoundsChange(Rect bounds) { argument
295 int w = bounds.width();
300 int h = bounds.height();
306 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection);
/frameworks/minikin/include/minikin/
H A DMinikinFont.h90 virtual void GetBounds(MinikinRect* bounds, uint32_t glyph_id,
/frameworks/minikin/libs/minikin/
H A DMinikinFontFreeType.cpp56 void MinikinFontFreeType::GetBounds(MinikinRect* bounds, uint32_t glyph_id, argument
/frameworks/native/services/surfaceflinger/
H A DTransform.h82 Rect transform(const Rect& bounds) const;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java168 protected void onBoundsChange(Rect bounds) { argument
169 super.onBoundsChange(bounds);
170 mGradient.setBounds(bounds);
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayer.java185 void setBounds(Rect bounds) { argument
186 mBounds.set(bounds);
187 if (isDimming() && !mLastBounds.equals(bounds)) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DListViewCompat.java189 final Rect bounds = mSelectorRect;
190 final float x = bounds.exactCenterX();
191 final float y = bounds.exactCenterY();
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java347 public boolean getClipBounds(Rect bounds) { argument
348 return nGetClipBounds(mRenderer, bounds);
351 private static native boolean nGetClipBounds(long renderer, Rect bounds); argument
445 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { argument
446 if (bounds != null) {
447 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
470 public int saveLayerAlpha(RectF bounds, in argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java202 /*package*/ static void native_computeBounds(long nPath, RectF bounds) { argument
208 pathDelegate.fillBounds(bounds);
565 * Fills the given {@link RectF} with the path bounds.
566 * @param bounds the RectF to be filled.
568 private void fillBounds(RectF bounds) { argument
570 bounds.left = (float)rect.getMinX();
571 bounds.right = (float)rect.getMaxX();
572 bounds.top = (float)rect.getMinY();
573 bounds.bottom = (float)rect.getMaxY();
H A DBidiRenderer.java136 * @return A rectangle specifying the bounds of the text drawn.
152 * Render a script run to the right of the bounds passed. Use the preferred font to render as
214 * Renders the text to the right of the bounds with the given font.
242 // Update the bounds.
244 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline);
245 // If the width of the bounds is zero, no text had been drawn earlier. Hence, use the
246 // coordinates from the bounds as an offset.
248 mBounds = bounds;
250 mBounds.union(bounds);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java166 Region bounds = (Region) message.obj;
167 handleOnMagnifiedBoundsChanged(bounds);
168 bounds.recycle();
214 public void onMagnifedBoundsChanged(Region bounds) { argument
215 Region newBounds = Region.obtain(bounds);
218 bounds.recycle();
222 private void handleOnMagnifiedBoundsChanged(Region bounds) { argument
237 mMagnifiedBounds.set(bounds);
995 Rect bounds = mTempRect;
996 bounds
[all...]
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp139 static jboolean getClipBounds(JNIEnv* env, jobject, jlong canvasHandle, jobject bounds) { argument
149 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds);
414 const SkPaint& paint, float x, float y, MinikinRect& bounds)
416 x(x), y(y), bounds(bounds) { }
435 bounds.mLeft , bounds.mTop , bounds.mRight , bounds.mBottom);
445 MinikinRect& bounds; member in class:android::CanvasJNI::DrawTextFunctor
413 DrawTextFunctor(const Layout& layout, Canvas* canvas, uint16_t* glyphs, float* pos, const SkPaint& paint, float x, float y, MinikinRect& bounds) argument
495 MinikinRect bounds; local
[all...]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java217 public void setBoundsInParent(Object info, Rect bounds); argument
219 public void setBoundsInScreen(Object info, Rect bounds); argument
481 public void setBoundsInParent(Object info, Rect bounds) { argument
486 public void setBoundsInScreen(Object info, Rect bounds) { argument
879 public void setBoundsInParent(Object info, Rect bounds) { argument
880 AccessibilityNodeInfoCompatIcs.setBoundsInParent(info, bounds);
884 public void setBoundsInScreen(Object info, Rect bounds) { argument
885 AccessibilityNodeInfoCompatIcs.setBoundsInScreen(info, bounds);
1958 * Gets the node bounds in parent coordinates.
1960 * @param outBounds The output node bounds
1977 setBoundsInParent(Rect bounds) argument
2001 setBoundsInScreen(Rect bounds) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java294 final RectF bounds = new RectF();
295 path.computeBounds(bounds, true);
299 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f,
300 -bounds.top + (getHeight() - bounds.height()) / 2.0f);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java204 * Gets the bounds given by x, y, width, and height as well as the internal
206 * It only considers the lower-left and upper-right corners as the bounds.
208 * @param bounds The output bounds to write to.
214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp198 Rect bounds(mCropWidth, mCropHeight);
202 buf->handle, GRALLOC_USAGE_SW_WRITE_OFTEN, bounds, &dst));

Completed in 7909 milliseconds

1234567