Searched refs:bounds (Results 151 - 175 of 276) sorted by relevance

1234567891011>>

/frameworks/av/services/audioflinger/
H A DFastMixerDumpState.cpp78 uint32_t bounds = mBounds; local
79 uint32_t newestOpen = bounds & 0xFFFF;
80 uint32_t oldestClosed = bounds >> 16;
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp88 Rect bounds; local
105 // compute bounds
109 bounds.unionWith(glyphBounds);
116 *outBounds = bounds;
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaDisplayListTests.cpp96 SkRect bounds = SkRect::MakeWH(200, 200); local
98 vectorDrawable.mutateStagingProperties()->setBounds(bounds);
105 ASSERT_EQ(vectorDrawable.mutateProperties()->getBounds(), bounds);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DSlashDrawable.java82 protected void onBoundsChange(Rect bounds) { argument
83 super.onBoundsChange(bounds);
84 mDrawable.setBounds(bounds);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBarTransitions.java205 protected void onBoundsChange(Rect bounds) { argument
206 super.onBoundsChange(bounds);
207 mGradient.setBounds(bounds);
H A DLightBarController.java212 Rect bounds = mFullscreenLight ? fullscreenStackBounds : dockedStackBounds;
213 if (bounds.isEmpty()) {
216 mStatusBarIconController.setIconsDarkArea(bounds);
/frameworks/layoutlib/bridge/src/android/text/
H A DStaticLayout_Delegate.java220 RectF bounds = new BidiRenderer(null, paint, text)
222 return bounds.right - bounds.left;
/frameworks/support/core-utils/gingerbread/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java130 * Get the gravity used to position/stretch the bitmap within its bounds.
141 * Set the gravity used to position/stretch the bitmap within its bounds.
219 Rect bounds, Rect outRect) {
341 protected void onBoundsChange(Rect bounds) { argument
342 super.onBoundsChange(bounds);
218 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawerArrowDrawable.java325 Rect bounds = getBounds();
387 final int remainingSpace = (int) (bounds.height() - barThickness * 3 - mBarGap * 2);
391 canvas.translate(bounds.centerX(), yOffset);
/frameworks/base/libs/hwui/
H A DRecordingCanvas.cpp133 // determine clipped bounds relative to previous viewport.
150 // Map visible bounds back to layer space, and intersect with parameter bounds
163 // layerBounds is in original bounds space, but clipped by current recording clip
234 SkRect bounds = path.getBounds(); local
235 return mState.quickRejectConservative(bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom);
255 SkRect bounds; local
[all...]
H A DBakedOpDispatcher.cpp39 static void storeTexturedRect(TextureVertex* vertices, const Rect& bounds) { argument
40 vertices[0] = { bounds.left, bounds.top, 0, 0 };
41 vertices[1] = { bounds.right, bounds.top, 1, 0 };
42 vertices[2] = { bounds.left, bounds.bottom, 0, 1 };
43 vertices[3] = { bounds.right, bounds.bottom, 1, 1 };
61 // calculate unclipped bounds, sinc
385 SkRect bounds = op.unmappedBounds.toSkRect(); local
[all...]
H A DLayerBuilder.cpp55 ALOGD(" Batch %p, id %d, merging %d, count %d, bounds " RECT_STRING,
85 * Helper for determining if a new op can merge with a MergingDrawBatch based on their bounds
86 * and clip side flags. Positive bounds delta means new bounds fit in old.
93 // if current is clipped, we must be able to fit new bounds in current
96 // if new is clipped, we must be able to fit current bounds in new
150 * Exploits the fact that if a op or batch is clipped on a side, its bounds will equal its
189 // Therefore it's safe to simply always merge flags, and use the bounds as the clip rect.
264 Rect bounds = mClearRects[0]; local
266 bounds
[all...]
/frameworks/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java209 /*package*/ static void nComputeBounds(long nPath, RectF bounds) { argument
215 pathDelegate.fillBounds(bounds);
628 * Fills the given {@link RectF} with the path bounds.
629 * @param bounds the RectF to be filled.
631 public void fillBounds(RectF bounds) { argument
633 bounds.left = (float)rect.getMinX();
634 bounds.right = (float)rect.getMaxX();
635 bounds.top = (float)rect.getMinY();
636 bounds.bottom = (float)rect.getMaxY();
H A DBaseCanvas_Delegate.java327 Rectangle2D bounds = shape.getBounds2D();
328 if (bounds.isEmpty()) {
338 // The stroke width is not consider for the size of the bounds so,
347 bounds.setRect(bounds.getX(), bounds.getY(),
348 Math.max(strokeWidth, bounds.getWidth()),
349 Math.max(strokeWidth, bounds.getHeight()));
594 RectF bounds =
596 float m = bounds
[all...]
H A DPaint_Delegate.java636 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags);
637 float res = bounds.right - bounds.left;
949 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, bidiFlags);
950 return bounds.right - bounds.left;
1003 String text, int start, int end, int bidiFlags, Rect bounds) {
1005 end - start, bidiFlags, bounds);
1010 char[] text, int index, int count, int bidiFlags, Rect bounds) {
1021 delegate.measureText(text, index, count, null, 0, bidiFlags).roundOut(bounds);
1002 nGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument
1009 nGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
[all...]
/frameworks/base/core/java/android/gesture/
H A DGestureOverlayView.java297 final RectF bounds = new RectF();
298 path.computeBounds(bounds, true);
302 mPath.addPath(path, -bounds.left + (getWidth() - bounds.width()) / 2.0f,
303 -bounds.top + (getHeight() - bounds.height()) / 2.0f);
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayer.java82 /** Gets the bounds of the dim layer user. */
233 /** @param bounds The new bounds to set */
234 void setBounds(Rect bounds) { argument
235 mBounds.set(bounds);
236 if (isDimming() && !mLastBounds.equals(bounds)) {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DListViewCompat.java213 final Rect bounds = mSelectorRect;
214 final float x = bounds.exactCenterX();
215 final float y = bounds.exactCenterY();
/frameworks/base/libs/hwui/hwui/
H A DBitmap.h91 void getBounds(SkRect* bounds) const;
/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/base/tools/aapt2/compile/
H A DImage.h134 * Optical layout bounds/insets. This overrides the padding for
181 * Optical layout bounds and round rect outline data must be serialized
188 * Serializes the layout bounds.
204 ::std::ostream& operator<<(::std::ostream& out, const Bounds& bounds);
/frameworks/native/libs/nativewindow/
H A DAHardwareBuffer.cpp124 Rect bounds; local
126 bounds.set(Rect(gBuffer->getWidth(), gBuffer->getHeight()));
128 bounds.set(Rect(rect->left, rect->top, rect->right, rect->bottom));
130 return gBuffer->lockAsync(usage, usage, bounds, outVirtualAddress, fence);
/frameworks/support/wear/tests/src/android/support/wear/widget/
H A DSwipeDismissFrameLayoutTest.java270 RectF bounds = new RectF(0, center - halfBound, mLayoutWidth, center + halfBound);
272 onView(withId(R.id.swipe_dismiss_root)).perform(swipeTopFromBottomOnArc(bounds));
444 private static ViewAction swipeTopFromBottomOnArc(RectF bounds) { argument
446 new ArcSwipe(ArcSwipe.Gesture.SLOW_ANTICLOCKWISE, bounds),
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java142 long colorFilterPtr, Rect bounds, boolean needsMirroring, boolean canReuseCache) {
146 Canvas_Delegate.nTranslate(canvasWrapperPtr, bounds.left, bounds.top);
149 Canvas_Delegate.nTranslate(canvasWrapperPtr, bounds.width(), 0);
156 bounds.offsetTo(0, 0);
157 nativePathRenderer.draw(canvasWrapperPtr, colorFilterPtr, bounds.width(), bounds.height());
161 return bounds.width() * bounds.height();
141 nDraw(long rendererPtr, long canvasWrapperPtr, long colorFilterPtr, Rect bounds, boolean needsMirroring, boolean canReuseCache) argument
/frameworks/support/compat/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java1722 * Gets the node bounds in parent coordinates.
1724 * @param outBounds The output node bounds.
1731 * Sets the node bounds in parent coordinates.
1738 * @param bounds The node bounds.
1741 public void setBoundsInParent(Rect bounds) { argument
1742 mInfo.setBoundsInParent(bounds);
1746 * Gets the node bounds in screen coordinates.
1748 * @param outBounds The output node bounds.
1755 * Sets the node bounds i
1765 setBoundsInScreen(Rect bounds) argument
[all...]

Completed in 4914 milliseconds

1234567891011>>