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

12

/frameworks/support/v4/java/android/support/v4/widget/
H A DSwipeProgressBar.java67 private Rect mBounds = new Rect(); field in class:SwipeProgressBar
103 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom);
138 final int width = mBounds.width();
139 final int height = mBounds.height();
144 canvas.clipRect(mBounds);
227 canvas.clipRect(mBounds);
232 mParent, mBounds
[all...]
/frameworks/av/services/audioflinger/
H A DFastThreadState.cpp38 , mSamplingN(1), mBounds(0)
H A DFastThreadState.h75 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz member in struct:android::FastThreadDumpState
H A DFastThread.cpp324 dumpState->mBounds = bounds;
/frameworks/base/libs/hwui/
H A DOutline.h36 mBounds.set(left, top, right, bottom);
51 mBounds.set(outline->getBounds());
90 outRect->set(mBounds);
113 Rect mBounds; member in class:android::uirenderer::Outline
H A DDeferredDisplayList.cpp72 mBounds.unionWith(state->mBounds);
78 if (!rect.intersects(mBounds)) return false;
81 if (rect.intersects(mOps[i].state->mBounds)) {
84 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top,
85 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom);
112 const Rect& bounds = state->mBounds;
127 if (CC_LIKELY(!mAllOpsOpaque || !mBounds
143 Rect mBounds; // union of bounds of contained ops member in class:android::uirenderer::DrawBatch
[all...]
H A DVertexBuffer.h111 mBounds.setEmpty();
120 mBounds.set(current->x, current->y, current->x, current->y);
122 mBounds.expandToCoverVertex(current->x, current->y);
128 const Rect& getBounds() const { return mBounds; }
140 void setBounds(Rect bounds) { mBounds = bounds; }
158 Rect mBounds; member in class:android::uirenderer::VertexBuffer
H A DFontRenderer.cpp560 if (mBounds) {
561 mBounds->left = fmin(mBounds->left, x1);
562 mBounds->top = fmin(mBounds->top, y3);
563 mBounds->right = fmax(mBounds->right, x3);
564 mBounds->bottom = fmax(mBounds->bottom, y1);
578 if (mBounds) {
[all...]
H A DDeferredDisplayList.h56 Rect mBounds; member in class:android::uirenderer::DeferredDisplayState
85 mBounds(bounds), mAvoidOverdraw(avoidOverdraw) {
152 Rect mBounds; member in class:android::uirenderer::DeferredDisplayList
/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/services/core/java/com/android/server/wm/
H A DFocusedStackFrame.java44 final Rect mBounds = new Rect(); field in class:FocusedStackFrame
113 " mBounds=" + mBounds.toShortString());
118 if (!mLastBounds.equals(mBounds)) {
123 positionSurface(mBounds);
124 draw(mBounds, Color.WHITE);
126 mLastBounds.set(mBounds);
135 stack.getBounds(mBounds);
136 if (false && DEBUG_STACK) Slog.i(TAG, "setBounds: bounds=" + mBounds);
H A DDimLayer.java45 Rect mBounds = new Rect(); field in class:DimLayer
150 dw = mBounds.width();
151 dh = mBounds.height();
152 xPos = mBounds.left;
153 yPos = mBounds.top;
180 mLastBounds.set(mBounds);
186 mBounds.set(bounds);
227 if (!mLastBounds.equals(mBounds) || mLayer != layer) {
315 pw.print(" mBounds="); pw.println(mBounds
[all...]
H A DTaskStack.java54 private Rect mBounds = new Rect(); field in class:TaskStack
56 /** Whether mBounds is fullscreen */
85 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId, mBounds.left, mBounds.top,
86 mBounds.right, mBounds.bottom);
98 final boolean underStatusBar = mBounds.top == 0;
125 if (mBounds.equals(bounds) && oldFullscreen == mFullscreen) {
131 mBounds.set(bounds);
137 out.set(mBounds);
[all...]
H A DAccessibilityController.java620 private final Region mBounds = new Region(); field in class:AccessibilityController.DisplayMagnifier.MagnifiedViewport.ViewportWindow
704 if (mBounds.equals(bounds)) {
707 mBounds.set(bounds);
744 mBounds.getBounds(mDirtyRect);
760 Slog.i(LOG_TAG, "Bounds: " + mBounds);
764 Path path = mBounds.getBoundaryPath();
/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/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 FloatMath.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3f) / 0.7f;
323 final float centerX = mBounds.centerX();
324 final float centerY = mBounds.height() - mRadius;
329 float translateX = mBounds.width() * displacement / 2;
331 canvas.clipRect(mBounds);
352 return (int) (mBounds
[all...]
H A DTabWidget.java63 private final Rect mBounds = new Rect(); field in class:TabWidget
345 final Rect bounds = mBounds;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java68 private RectF mBounds; field in class:BidiRenderer
89 mBounds = new RectF();
100 mBounds = new RectF(x, y, x, y);
120 return mBounds;
148 return mBounds;
239 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline);
244 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline);
247 if (Math.abs(mBounds.right - mBounds.left) == 0) {
248 mBounds
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRipple.java55 private final Rect mBounds; field in class:Ripple
114 mBounds = bounds;
125 final float halfWidth = mBounds.width() / 2.0f;
126 final float halfHeight = mBounds.height() / 2.0f;
142 final float cX = mBounds.exactCenterX();
143 final float cY = mBounds.exactCenterY();
160 final float halfWidth = mBounds.width() / 2.0f;
161 final float halfHeight = mBounds.height() / 2.0f;
250 mClampedStartingX - mBounds.exactCenterX(), mOuterX, mTweenX);
252 mClampedStartingY - mBounds
[all...]
H A DRippleBackground.java58 private final Rect mBounds; field in class:RippleBackground
105 mBounds = bounds;
113 final float halfWidth = mBounds.width() / 2.0f;
114 final float halfHeight = mBounds.height() / 2.0f;
125 final float halfWidth = mBounds.width() / 2.0f;
126 final float halfHeight = mBounds.height() / 2.0f;
H A DDrawable.java134 private Rect mBounds = ZERO_BOUNDS_RECT; // lazily becomes a new Rect() field in class:Drawable
153 Rect oldBounds = mBounds;
156 oldBounds = mBounds = new Rect();
165 mBounds.set(left, top, right, bottom);
166 onBoundsChange(mBounds);
187 bounds.set(mBounds);
199 return new Rect(mBounds);
218 if (mBounds == ZERO_BOUNDS_RECT) {
219 mBounds = new Rect();
222 return mBounds;
[all...]
/frameworks/minikin/include/minikin/
H A DLayout.h68 Layout() : mGlyphs(), mAdvances(), mCollection(0), mFaces(), mAdvance(0), mBounds() {
69 mBounds.setEmpty();
133 MinikinRect mBounds; member in class:android::Layout
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java70 private Rect mBounds = new Rect();
74 object.copyBounds(mBounds);
75 mBounds.offsetTo(Math.round(value.x), Math.round(value.y));
76 object.setBounds(mBounds);
81 object.copyBounds(mBounds);
82 return new PointF(mBounds.left, mBounds.top);
/frameworks/minikin/libs/minikin/
H A DLayout.cpp277 mBounds.setEmpty();
758 mBounds.join(glyphBounds);
797 MinikinRect srcBounds(src->mBounds);
799 mBounds.join(srcBounds);
871 bounds->set(mBounds);

Completed in 5572 milliseconds

12