/packages/apps/Launcher3/src/com/android/launcher3/util/ |
TransformingTouchDelegate.java | 34 private final RectF mBounds; 47 mBounds = new RectF(); 52 mBounds.set(left, top, right, bottom); 62 mTouchCheckBounds.set(mBounds); 83 mWasTouchOutsideBounds = !mBounds.contains(event.getX(), event.getY()); 101 event.setLocation(mBounds.centerX(), mBounds.centerY()); 103 event.offsetLocation(-mBounds.left, -mBounds.top);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
GLFunctorDrawable.h | 41 , mBounds(canvas->getLocalClipBounds()) 48 virtual SkRect onGetBounds() override { return mBounds; } 54 const SkRect mBounds;
|
/frameworks/av/services/audioflinger/ |
FastThreadDumpState.h | 56 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz
|
FastThread.h | 72 uint32_t mBounds;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
RedEyeCandidate.java | 23 RectF mBounds = new RectF(); 27 mBounds.set(candidate.mBounds); 32 mBounds.set(bounds); 37 && candidate.mBounds.equals(mBounds)) {
|
ImageFilterColorBorder.java | 30 RectF mBounds = new RectF(); 62 mBounds.set(0, 0, w, h); 66 float bs = size / 100.f * mBounds.width(); 67 float r = radius / 100.f * mBounds.width(); 69 mInsideBounds.set(mBounds.left + bs, 70 mBounds.top + bs, mBounds.right - bs, 71 mBounds.bottom - bs); 73 mBorderPath.moveTo(mBounds.left, mBounds.top) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 82 private final Rect mBounds; 101 mBounds = new Rect(); 137 float iconRatio = ((float) mBounds.width()) / mBounds.height(); 162 mMatrix.setScale(mBounds.width(), mBounds.height()); 163 mMatrix.postTranslate(mBounds.left, mBounds.top); 196 int w = mBounds.width(); 197 int h = mBounds.height() [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
Face.java | 53 private final Rect mBounds; 102 mBounds = bounds; 148 return mBounds; 251 mBounds, mScore, mId, mLeftEye, mRightEye, mMouth);
|
/frameworks/base/core/java/android/view/ |
TouchDelegate.java | 43 private Rect mBounds; 46 * mBounds inflated to include some slop. This rect is to track whether the motion events 52 * True if the delegate had been targeted on a down event (intersected mBounds). 88 mBounds = bounds; 112 Rect bounds = mBounds;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
DimLayer.java | 49 private final Rect mBounds = new Rect(); 200 getBoundsForFullscreen(mBounds); 204 mDimSurface.setPosition(mBounds.left, mBounds.top); 205 mDimSurface.setSize(mBounds.width(), mBounds.height()); 207 "adjustBounds user=" + mUser.toShortString() + " mBounds=" + mBounds); 210 mLastBounds.set(mBounds); 229 getBoundsForFullscreen(mBounds); [all...] |
/frameworks/minikin/include/minikin/ |
Layout.h | 62 Layout() : mGlyphs(), mAdvances(), mFaces(), mAdvance(0), mBounds() { 63 mBounds.setEmpty(); 138 MinikinRect mBounds;
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 63 private RectF mBounds; 76 mBounds = new RectF(); 87 mBounds.set(x, y, x, y); 108 return mBounds; 136 return mBounds; 237 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline); 244 if (Math.abs(mBounds.right - mBounds.left) == 0) { 245 mBounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline, mBounds) [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
SoftInputWindow.java | 43 private final Rect mBounds = new Rect(); 89 getWindow().getDecorView().getHitRect(mBounds); 91 if (ev.isWithinBoundsNoHistory(mBounds.left, mBounds.top, 92 mBounds.right - 1, mBounds.bottom - 1)) { 95 MotionEvent temp = ev.clampNoHistory(mBounds.left, mBounds.top, 96 mBounds.right - 1, mBounds.bottom - 1) [all...] |
/frameworks/base/libs/hwui/ |
Outline.h | 45 && left == mBounds.left 46 && right == mBounds.right 47 && top == mBounds.top 48 && bottom == mBounds.bottom 55 mBounds.set(left, top, right, bottom); 75 mBounds.set(outline->getBounds()); 119 outRect->set(mBounds); 137 return mBounds; 147 Rect mBounds;
|
ClipArea.h | 43 return mBounds; 47 Rect transformedBounds(transformAndCalculateBounds(mBounds, mTransform)); 62 Rect mBounds;
|
FontRenderer.h | 191 Rect* mBounds;
|
LayerBuilder.cpp | 34 mBounds = op->computedState.clippedBounds; 39 if (!rect.intersects(mBounds)) return false; 56 this, mBatchId, mMerging, (int) mOps.size(), RECT_ARGS(mBounds)); 60 Rect mBounds; 72 mBounds.unionWith(op->computedState.clippedBounds); 157 float boundsDelta = mBounds.left - opBounds.left; 159 boundsDelta = mBounds.top - opBounds.top; 163 boundsDelta = opBounds.right - mBounds.right; 165 boundsDelta = opBounds.bottom - mBounds.bottom; 184 mBounds.unionWith(op->computedState.clippedBounds) [all...] |
VertexBuffer.h | 110 mBounds.setEmpty(); 119 mBounds.set(current->x, current->y, current->x, current->y); 121 mBounds.expandToCover(current->x, current->y); 127 const Rect& getBounds() const { return mBounds; } 142 void setBounds(Rect bounds) { mBounds = bounds; } 159 Rect mBounds;
|
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/ |
LetterTileProvider.java | 50 private final Rect mBounds; 70 mBounds = new Rect(); 106 mPaint.getTextBounds(mFirstChar, 0, 1, mBounds); 108 0 + dimensions.height / 2 + (mBounds.bottom - mBounds.top) / 2, mPaint);
|
/frameworks/base/core/java/android/widget/ |
EdgeEffect.java | 108 private final Rect mBounds = new Rect(); 149 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h)); 225 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d); 325 final float centerX = mBounds.centerX(); 326 final float centerY = mBounds.height() - mRadius; 331 float translateX = mBounds.width() * displacement / 2; 333 canvas.clipRect(mBounds); 354 return (int) (mBounds.height() * MAX_GLOW_SCALE + 0.5f) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
EdgeEffect.java | 412 private Rect mBounds = new Rect(); 428 mBounds.set(left, top, right, bottom); 438 Rect b = mBounds;
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SwipeProgressBar.java | 68 private Rect mBounds = new Rect(); 104 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom); 139 final int width = mBounds.width(); 140 final int height = mBounds.height(); 145 canvas.clipRect(mBounds); 228 canvas.clipRect(mBounds); 233 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom) [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
DividerItemDecoration.java | 55 private final Rect mBounds = new Rect(); 131 parent.getDecoratedBoundsWithMargins(child, mBounds); 132 final int bottom = mBounds.bottom + Math.round(child.getTranslationY()); 158 parent.getLayoutManager().getDecoratedBoundsWithMargins(child, mBounds); 159 final int right = mBounds.right + Math.round(child.getTranslationX());
|
/frameworks/support/wear/src/android/support/wear/widget/ |
CircledImageView.java | 728 private final RectF mBounds = new RectF(); 757 canvas.drawCircle(mBounds.centerX(), mBounds.centerY(), mShadowRadius, 763 mBounds.set(left, top, right, bottom); 793 mBounds.centerX(), 794 mBounds.centerY(),
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
ArcSwipe.java | 68 private final RectF mBounds; 74 mBounds = bounds; 99 path.arcTo(mBounds, startAngle, getSweepAngle(startAngle, endAngle, isClockwise)); 158 double relativeX = x - (mBounds.width() / 2); 159 double relativeY = y - (mBounds.height() / 2);
|