Home
last modified time | relevance | path

Searched refs:mBounds (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterColorBorder.java30 RectF mBounds = new RectF(); field in ImageFilterColorBorder
62 mBounds.set(0, 0, w, h); in applyHelper()
66 float bs = size / 100.f * mBounds.width(); in applyHelper()
67 float r = radius / 100.f * mBounds.width(); in applyHelper()
69 mInsideBounds.set(mBounds.left + bs, in applyHelper()
70 mBounds.top + bs, mBounds.right - bs, in applyHelper()
71 mBounds.bottom - bs); in applyHelper()
73 mBorderPath.moveTo(mBounds.left, mBounds.top); in applyHelper()
74 mBorderPath.lineTo(mBounds.right, mBounds.top); in applyHelper()
75 mBorderPath.lineTo(mBounds.right, mBounds.bottom); in applyHelper()
[all …]
DRedEyeCandidate.java23 RectF mBounds = new RectF(); field in RedEyeCandidate
27 mBounds.set(candidate.mBounds); in RedEyeCandidate()
32 mBounds.set(bounds); in RedEyeCandidate()
37 && candidate.mBounds.equals(mBounds)) { in equals()
DFilterRedEyeRepresentation.java61 bounds.union(r.mBounds); in addRect()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java59 protected final Rect mBounds = new Rect(); field in GLView
188 return mBounds; in bounds()
192 return mBounds.right - mBounds.left; in getWidth()
196 return mBounds.bottom - mBounds.top; in getHeight()
271 int xoffset = component.mBounds.left - mScrollX; in renderChild()
272 int yoffset = component.mBounds.top - mScrollY; in renderChild()
297 Rect rect = component.mBounds; in dispatchTouchEvent()
359 boolean sizeChanged = (right - left) != (mBounds.right - mBounds.left) in setBounds()
360 || (bottom - top) != (mBounds.bottom - mBounds.top); in setBounds()
361 mBounds.set(left, top, right, bottom); in setBounds()
[all …]
DEdgeEffect.java412 private Rect mBounds = new Rect(); field in EdgeEffect.Drawable
428 mBounds.set(left, top, right, bottom); in setBounds()
438 Rect b = mBounds; in draw()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DAutoThumbnailDrawable.java57 private Rect mBounds = new Rect(); field in AutoThumbnailDrawable
97 mBounds.set(bounds); in onBoundsChange()
98 if (mBounds.isEmpty()) { in onBoundsChange()
112 canvas.clipRect(mBounds); in draw()
122 if (mBitmap == null || mBounds.isEmpty()) { in updateDrawMatrixLocked()
132 int vwidth = mBounds.width(); in updateDrawMatrixLocked()
133 int vheight = mBounds.height(); in updateDrawMatrixLocked()
156 int vwidth = mBounds.width(); in calculateSampleSizeLocked()
157 int vheight = mBounds.height(); in calculateSampleSizeLocked()
170 if (mBounds.isEmpty() || mImageWidth == 0 || mImageHeight == 0) { in refreshSampleSizeLocked()
[all …]
/packages/apps/Browser/src/com/android/browser/
DPageProgressView.java41 private Rect mBounds; field in PageProgressView
72 mBounds = new Rect(0,0,0,0); in init()
82 mBounds.right = getWidth() * mCurrentProgress / MAX_PROGRESS; in init()
95 mBounds.left = 0; in onLayout()
96 mBounds.right = (r - l) * mCurrentProgress / MAX_PROGRESS; in onLayout()
97 mBounds.top = 0; in onLayout()
98 mBounds.bottom = b-t; in onLayout()
113 d.setBounds(mBounds); in onDraw()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DLauncherEdgeEffect.java86 private final Rect mBounds = new Rect(); field in LauncherEdgeEffect
119 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h)); in setSize()
195 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d); in onPull()
292 final float centerX = mBounds.centerX(); in draw()
293 final float centerY = mBounds.height() - mRadius; in draw()
298 float translateX = mBounds.width() * displacement / 2; in draw()
317 return (int) (mBounds.height() * MAX_GLOW_SCALE + 0.5f); in getMaxHeight()
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
DLetterTileProvider.java50 private final Rect mBounds; field in LetterTileProvider
70 mBounds = new Rect(); in LetterTileProvider()
106 mPaint.getTextBounds(mFirstChar, 0, 1, mBounds); in getLetterTile()
108 0 + dimensions.height / 2 + (mBounds.bottom - mBounds.top) / 2, mPaint); in getLetterTile()
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DTargetDrawable.java50 private Rect mBounds; field in TargetDrawable
220 if (mBounds == null) { in getBounds()
221 mBounds = new Rect(); in getBounds()
223 mBounds.set((int) (mTranslationX + mPositionX - getWidth() * 0.5), in getBounds()
227 return mBounds; in getBounds()
DGlowPadView.java1377 private Rect mBounds = new Rect(); field in GlowPadView.GlowpadExploreByTouchHelper
1433 mBounds.set(0, 0, GlowPadView.this.getWidth(), GlowPadView.this.getHeight()); in onPopulateNodeForHost()
1434 node.setBoundsInParent(mBounds); in onPopulateNodeForHost()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DRenderingRequest.java36 private Rect mBounds = null; field in RenderingRequest
167 return mBounds; in getBounds()
171 mBounds = bounds; in setBounds()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListView.java100 private RectF mBounds = new RectF(); field in PinnedHeaderListView
570 mBounds.set(0, 0, view.getWidth(), view.getHeight()); in drawHeader()
571 canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG); in drawHeader()