Searched defs:bounds (Results 26 - 50 of 101) sorted by relevance

12345

/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)) {
H A DTaskStack.java50 /** For comparison with DisplayContent bounds. */
84 // TODO: remove bounds from log, they are always 0.
118 boolean setBounds(Rect bounds) { argument
122 mFullscreen = mTmpRect.equals(bounds);
125 if (mBounds.equals(bounds) && oldFullscreen == mFullscreen) {
129 mDimLayer.setBounds(bounds);
130 mAnimationBackgroundSurface.setBounds(bounds);
131 mBounds.set(bounds);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h143 inline Rect bounds() const { return getBounds(); } function in class:android::DisplayDevice
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DStyledCornersBitmapDrawable.java39 * {@link #CORNER_STYLE_FLAP} corners have a colored flap drawn within the bounds.
210 protected void onBoundsChange(Rect bounds) { argument
211 super.onBoundsChange(bounds);
222 final Rect bounds = getBounds();
223 if (bounds.isEmpty()) {
240 float left = bounds.left + mBorderWidth / 2;
241 float top = bounds.top + mBorderWidth / 2;
242 float right = bounds.right - mBorderWidth / 2;
243 float bottom = bounds.bottom - mBorderWidth / 2;
282 final Rect bounds
[all...]
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DRoundedBitmapDrawable.java125 * Get the gravity used to position/stretch the bitmap within its bounds.
136 * Set the gravity used to position/stretch the bitmap within its bounds.
214 Rect bounds, Rect outRect) {
213 gravityCompatApply(int gravity, int bitmapWidth, int bitmapHeight, Rect bounds, Rect outRect) argument
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityWindowInfo.java212 * Gets the bounds of this window in the screen.
214 * @param outBounds The out window bounds.
221 * Sets the bounds of this window in the screen.
223 * @param bounds The out window bounds.
227 public void setBoundsInScreen(Rect bounds) { argument
228 mBoundsInScreen.set(bounds);
471 builder.append(", bounds=").append(mBoundsInScreen);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java185 protected void onBoundsChange(Rect bounds) { argument
186 mAnimatedVectorState.mVectorDrawable.setBounds(bounds);
H A DClipDrawable.java270 protected void onBoundsChange(Rect bounds) { argument
271 mState.mDrawable.setBounds(bounds);
282 final Rect bounds = getBounds();
284 int w = bounds.width();
289 int h = bounds.height();
295 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection);
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 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);
H A DAnimatedRotateDrawable.java81 final Rect bounds = drawable.getBounds();
83 int w = bounds.right - bounds.left;
84 int h = bounds.bottom - bounds.top;
89 canvas.rotate(mCurrentDegrees, px + bounds.left, py + bounds.top);
231 protected void onBoundsChange(Rect bounds) { argument
232 mState.mDrawable.setBounds(bounds.left, bounds
[all...]
H A DInsetDrawable.java47 * the View's actual bounds.
352 protected void onBoundsChange(Rect bounds) { argument
354 r.set(bounds);
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 DRotateDrawable.java83 final Rect bounds = d.getBounds();
84 final int w = bounds.right - bounds.left;
85 final int h = bounds.bottom - bounds.top;
90 canvas.rotate(st.mCurrentDegrees, px + bounds.left, py + bounds.top);
381 protected void onBoundsChange(Rect bounds) { argument
382 mState.mDrawable.setBounds(bounds.left, bounds
[all...]
H A DShapeDrawable.java332 protected void onBoundsChange(Rect bounds) { argument
333 super.onBoundsChange(bounds);
614 // a bitmap to fill the bounds without needing any other special casing.
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp454 Rect bounds; local
455 bounds.set(0.0f, 0.0f, bitmap->width(), bitmap->height());
456 renderer.drawTextureLayer(layer, bounds);
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 DDeferredDisplayList.cpp58 virtual bool coversBounds(const Rect& bounds) { return false; } argument
71 // NOTE: ignore empty bounds special case, since we don't merge across those ops
83 DEFER_LOGD("op intersects with op %p with bounds %f %f %f %f:", mOps[i].op,
112 const Rect& bounds = state->mBounds; local
117 renderer.drawScreenSpaceColorRect(bounds.left, bounds.top, bounds.right, bounds.bottom,
126 virtual bool coversBounds(const Rect& bounds) { argument
127 if (CC_LIKELY(!mAllOpsOpaque || !mBounds.contains(bounds) || coun
[all...]
H A DLayer.h91 const android::Rect& bounds = region.getBounds(); local
92 regionRect.set(bounds.leftTop().x, bounds.leftTop().y,
93 bounds.rightBottom().x, bounds.rightBottom().y);
/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/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java144 public static void setBoundsInParent(Object info, Rect bounds) { argument
145 ((AccessibilityNodeInfo) info).setBoundsInParent(bounds);
148 public static void setBoundsInScreen(Object info, Rect bounds) { argument
149 ((AccessibilityNodeInfo) info).setBoundsInScreen(bounds);
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
H A DRoundRectDrawableWithShadow.java128 protected void onBoundsChange(Rect bounds) { argument
129 super.onBoundsChange(bounds);
300 private void buildComponents(Rect bounds) { argument
305 mCardBounds.set(bounds.left + mRawMaxShadowSize, bounds.top + verticalOffset,
306 bounds.right - mRawMaxShadowSize, bounds.bottom - verticalOffset);
352 void drawRoundRect(Canvas canvas, RectF bounds, float cornerRadius, Paint paint); argument
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp481 // sample arrays aren't accessed atomically with respect to the bounds,
557 uint32_t bounds = mBounds; local
558 uint32_t newestOpen = bounds & 0xFFFF;
559 uint32_t oldestClosed = bounds >> 16;
/frameworks/base/libs/hwui/font/
H A DFont.cpp142 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) {
149 if (bounds->bottom > nPenY) {
150 bounds->bottom = nPenY;
152 if (bounds->left > nPenX) {
153 bounds->left = nPenX;
155 if (bounds->right < nPenX + width) {
156 bounds->right = nPenX + width;
158 if (bounds->top < nPenY + height) {
159 bounds->top = nPenY + height;
164 uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, cons
141 measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument
163 drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument
182 drawCachedGlyphTransformed(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* pos) argument
212 drawCachedGlyphBitmap(CachedGlyphInfo* glyph, int x, int y, uint8_t* bitmap, uint32_t bitmapWidth, uint32_t bitmapHeight, Rect* bounds, const float* pos) argument
355 measure(const SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, Rect *bounds, const float* positions) argument
386 render(const SkPaint* paint, const char* text, uint32_t start, uint32_t len, int numGlyphs, int x, int y, RenderMode mode, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH, Rect* bounds, const float* positions) argument
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp196 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds
218 const Rect bounds(getBounds());
220 mStorage.add(bounds);
409 Rect bounds; member in class:android::Region::rasterizer
417 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
426 bounds.top = storage.itemAt(0).top;
427 bounds.bottom = storage.top().bottom;
432 bounds.left = 0;
433 bounds.right = 0;
435 storage.add(bounds);
[all...]

Completed in 527 milliseconds

12345