/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 | 39 : mFunctor(functor), mListener(listener), mBounds(canvas->getLocalClipBounds()) {} 45 virtual SkRect onGetBounds() override { return mBounds; } 51 const SkRect mBounds;
|
SkiaRecordingCanvas.cpp | 129 , mBounds(tree->stagingProperties()->getBounds()) {} 132 virtual SkRect onGetBounds() override { return mBounds; } 134 mRoot->draw(canvas, mBounds); 139 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...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleComponent.java | 36 protected final Rect mBounds; 49 mBounds = bounds; 54 mTargetRadius = getTargetRadius(mBounds); 64 mTargetRadius = getTargetRadius(mBounds); 96 mTargetRadius = getTargetRadius(mBounds);
|
/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). 86 mBounds = bounds; 110 mDelegateTargeted = mBounds.contains(x, y);
|
/frameworks/minikin/include/minikin/ |
Layout.h | 77 mBounds() { 78 mBounds.setEmpty(); 131 const MinikinRect& getBounds() const { return mBounds; } 142 sizeof(float /* mAdvance */) + sizeof(MinikinRect /* mBounds */); 191 MinikinRect mBounds;
|
/frameworks/base/services/core/java/com/android/server/am/ |
LaunchParamsController.java | 136 if (!mTmpParams.mBounds.isEmpty()) { 137 task.updateOverrideConfiguration(mTmpParams.mBounds); 164 final Rect mBounds = new Rect(); 174 mBounds.setEmpty(); 181 mBounds.set(params.mBounds); 188 return mBounds.isEmpty() && mPreferredDisplayId == INVALID_DISPLAY 209 return mBounds != null ? mBounds.equals(that.mBounds) : that.mBounds == null [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 81 private final Rect mBounds; 94 mBounds = new Rect(); 121 float iconRatio = ((float) mBounds.width()) / mBounds.height(); 135 mMatrix.setScale(mBounds.width(), mBounds.height()); 136 mMatrix.postTranslate(mBounds.left, mBounds.top); 157 int y = mBounds.top; 161 int rowSizeDiff = mMaxSize - mBounds.right [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 | 35 if (mType == Type::RoundRect && left == mBounds.left && right == mBounds.right && 36 top == mBounds.top && bottom == mBounds.bottom && radius == mRadius) { 42 mBounds.set(left, top, right, bottom); 68 mBounds.set(outline->getBounds()); 104 outRect->set(mBounds); 119 const Rect& getBounds() const { return mBounds; } 126 Rect mBounds;
|
ClipArea.h | 42 const Rect& getBounds() const { return mBounds; } 45 Rect transformedBounds(transformAndCalculateBounds(mBounds, mTransform)); 58 Rect mBounds;
|
FontRenderer.h | 181 Rect* mBounds;
|
LayerBuilder.cpp | 33 mBounds = op->computedState.clippedBounds; 38 if (!rect.intersects(mBounds)) return false; 55 mMerging, (int)mOps.size(), RECT_ARGS(mBounds)); 60 Rect mBounds; 70 mBounds.unionWith(op->computedState.clippedBounds); 152 float boundsDelta = mBounds.left - opBounds.left; 155 boundsDelta = mBounds.top - opBounds.top; 159 boundsDelta = opBounds.right - mBounds.right; 162 boundsDelta = opBounds.bottom - mBounds.bottom; 182 mBounds.unionWith(op->computedState.clippedBounds) [all...] |
VertexBuffer.h | 109 mBounds.setEmpty(); 118 mBounds.set(current->x, current->y, current->x, current->y); 120 mBounds.expandToCover(current->x, current->y); 126 const Rect& getBounds() const { return mBounds; } 141 void setBounds(Rect bounds) { mBounds = bounds; } 158 Rect mBounds;
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
DividerItemDecoration.java | 56 private final Rect mBounds = new Rect(); 132 parent.getDecoratedBoundsWithMargins(child, mBounds); 133 final int bottom = mBounds.bottom + Math.round(child.getTranslationY()); 159 parent.getLayoutManager().getDecoratedBoundsWithMargins(child, mBounds); 160 final int right = mBounds.right + Math.round(child.getTranslationX());
|
/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/app/ |
WindowConfiguration.java | 49 private Rect mBounds = new Rect(); 127 /** Bit that indicates that the {@link #mBounds} changed. 167 dest.writeParcelable(mBounds, flags); 174 mBounds = source.readParcelable(Rect.class.getClassLoader()); 204 mBounds.setEmpty(); 208 mBounds.set(rect); 245 return mBounds; 280 setBounds(other.mBounds); 311 if (!delta.mBounds.isEmpty() && !delta.mBounds.equals(mBounds)) [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 67 private RectF mBounds; 82 mBounds = new RectF(); 93 mBounds.set(x, y, x, y); 114 return mBounds; 142 return mBounds; 266 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline); 273 if (Math.abs(mBounds.right - mBounds.left) == 0) { 274 mBounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline, mBounds) [all...] |
/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;
|