Searched refs:mBounds (Results 1 - 25 of 39) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DOutline.h45 && 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; member in class:android::uirenderer::Outline::Type
H A DDeferredDisplayList.cpp74 mBounds.unionWith(state->mBounds);
80 if (!rect.intersects(mBounds)) return false;
83 if (rect.intersects(mOps[i].state->mBounds)) {
86 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top,
87 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom);
111 const Rect& bounds = state->mBounds;
125 if (CC_LIKELY(!mAllOpsOpaque || !mBounds
141 Rect mBounds; // union of bounds of contained ops member in class:android::uirenderer::DrawBatch
[all...]
H A DVertexBuffer.h110 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; member in class:android::uirenderer::VertexBuffer
H A DDeferredDisplayList.h53 Rect mBounds; member in class:android::uirenderer::DeferredDisplayState
81 : mBounds(bounds) {
148 Rect mBounds; member in class:android::uirenderer::DeferredDisplayList
H A DLayerBuilder.cpp34 mBounds = op->computedState.clippedBounds;
39 if (!rect.intersects(mBounds)) return false;
56 this, mBatchId, mMerging, (int) mOps.size(), RECT_ARGS(mBounds));
60 Rect mBounds; member in class:android::uirenderer::BatchBase
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
[all...]
H A DFontRenderer.cpp106 , mBounds(nullptr)
526 if (mBounds) {
527 mBounds->left = std::min(mBounds->left, x1);
528 mBounds->top = std::min(mBounds->top, y3);
529 mBounds->right = std::max(mBounds->right, x3);
530 mBounds->bottom = std::max(mBounds
[all...]
H A DClipArea.h43 return mBounds;
47 Rect transformedBounds(transformAndCalculateBounds(mBounds, mTransform));
62 Rect mBounds; member in class:android::uirenderer::TransformedRectangle
/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeProgressBar.java68 private Rect mBounds = new Rect(); field in class:SwipeProgressBar
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
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java43 private final Rect mBounds = new Rect(); field in class:SoftInputWindow
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
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DFace.java53 private final Rect mBounds; field in class:Face
102 mBounds = bounds;
148 return mBounds;
251 mBounds, mScore, mId, mLeftEye, mRightEye, mMouth);
/frameworks/base/core/java/android/view/
H A DTouchDelegate.java46 private Rect mBounds; field in class:TouchDelegate
49 * mBounds inflated to include some slop. This rect is to track whether the motion events
55 * True if the delegate had been targeted on a down event (intersected mBounds).
91 mBounds = bounds;
115 Rect bounds = mBounds;
/frameworks/av/services/audioflinger/
H A DFastThread.cpp57 mBounds(0),
180 mBounds = 0;
288 size_t i = mBounds & (mDumpState->mSamplingN - 1);
289 mBounds = (mBounds & 0xFFFF0000) | ((mBounds + 1) & 0xFFFF);
291 mBounds += 0x10000;
292 } else if (!(mBounds & (mDumpState->mSamplingN - 1))) {
338 mDumpState->mBounds = mBounds;
[all...]
H A DFastThreadDumpState.cpp26 , mSamplingN(0), mBounds(0)
H A DFastThreadDumpState.h56 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz member in struct:android::FastThreadDumpState
H A DFastThread.h72 uint32_t mBounds; member in class:android::FastThread
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java107 private final Rect mBounds = new Rect(); field in class:EdgeEffect
148 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h));
224 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d);
324 final float centerX = mBounds.centerX();
325 final float centerY = mBounds.height() - mRadius;
330 float translateX = mBounds.width() * displacement / 2;
332 canvas.clipRect(mBounds);
353 return (int) (mBounds
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayer.java49 private final Rect mBounds = new Rect(); field in class:DimLayer
192 getBoundsForFullscreen(mBounds);
196 mDimSurface.setPosition(mBounds.left, mBounds.top);
197 mDimSurface.setSize(mBounds.width(), mBounds.height());
199 "adjustBounds user=" + mUser.toShortString() + " mBounds=" + mBounds);
202 mLastBounds.set(mBounds);
221 getBoundsForFullscreen(mBounds);
[all...]
H A DTaskStack.java83 private Rect mBounds = new Rect(); field in class:TaskStack
94 /** Whether mBounds is fullscreen */
97 // Device rotation as of the last time {@link #mBounds} was set.
100 /** Density as of last time {@link #mBounds} was set. */
237 insetBounds = mBounds;
240 insetBounds = mBounds;
245 alignTasksToAdjustedBounds(adjusted ? mAdjustedBounds : mBounds, insetBounds);
287 if (mBounds.equals(bounds) && oldFullscreen == mFullscreen && mRotation == rotation) {
296 mBounds.set(bounds);
310 out.set(mBounds);
[all...]
H A DTask.java64 private Rect mBounds = new Rect(); field in class:Task
74 // Device rotation as of the last time {@link #mBounds} was set.
77 // Whether mBounds is fullscreen
324 mPreparedFrozenBounds.set(mBounds);
360 mBounds.set(mPreScrollBounds);
376 win.mXOffset = mBounds.left;
377 win.mYOffset = mBounds.top;
387 bounds.right = mTmpRect.left + mBounds.width();
389 bounds.left = mTmpRect.right - mBounds.width();
395 bounds.bottom = mTmpRect.top + mBounds
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java67 private RectF mBounds; field in class:BidiRenderer
88 mBounds = new RectF();
99 mBounds = new RectF(x, y, x, y);
119 return mBounds;
147 return mBounds;
238 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline);
243 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline);
246 if (Math.abs(mBounds.right - mBounds.left) == 0) {
247 mBounds
[all...]
/frameworks/minikin/include/minikin/
H A DLayout.h83 Layout() : mGlyphs(), mAdvances(), mCollection(0), mFaces(), mAdvance(0), mBounds() {
84 mBounds.setEmpty();
160 MinikinRect mBounds; member in class:android::Layout
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleComponent.java37 protected final Rect mBounds; field in class:RippleComponent
64 mBounds = bounds;
70 mTargetRadius = getTargetRadius(mBounds);
80 mTargetRadius = getTargetRadius(mBounds);
262 final float halfWidth = mBounds.width() / 2.0f;
263 final float halfHeight = mBounds.height() / 2.0f;
H A DRippleForeground.java197 return MathUtils.lerp(mClampedStartingX - mBounds.exactCenterX(), mTargetX, mTweenX);
201 return MathUtils.lerp(mClampedStartingY - mBounds.exactCenterY(), mTargetY, mTweenY);
222 mTargetX = (mClampedStartingX - mBounds.exactCenterX()) * .7f;
223 mTargetY = (mClampedStartingY - mBounds.exactCenterY()) * .7f;
333 final float cX = mBounds.exactCenterX();
334 final float cY = mBounds.exactCenterY();
H A DDrawable.java182 private Rect mBounds = ZERO_BOUNDS_RECT; // lazily becomes a new Rect() field in class:Drawable
201 Rect oldBounds = mBounds;
204 oldBounds = mBounds = new Rect();
213 mBounds.set(left, top, right, bottom);
214 onBoundsChange(mBounds);
235 bounds.set(mBounds);
248 return new Rect(mBounds);
268 if (mBounds == ZERO_BOUNDS_RECT) {
269 mBounds = new Rect();
272 return mBounds;
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskRecord.java252 Rect mBounds = null; field in class:TaskRecord
577 if (mBounds != null) {
579 taskWidth = mBounds.width();
580 taskHeight = mBounds.height();
1418 if (mBounds != null && bounds.right == mBounds.right) {
1427 if (mBounds != null && bounds.bottom == mBounds.bottom) {
1455 if (Objects.equals(mBounds, bounds)) {
1463 if (mBounds !
[all...]

Completed in 3334 milliseconds

12