Searched refs:mBounds (Results 1 - 25 of 45) 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 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 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.cpp93 , 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/base/libs/hwui/pipeline/skia/
H A DGLFunctorDrawable.h41 , mBounds(canvas->getLocalClipBounds())
48 virtual SkRect onGetBounds() override { return mBounds; }
54 const SkRect mBounds; member in class:android::uirenderer::skiapipeline::GLFunctorDrawable
/frameworks/support/core-ui/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/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipMotionHelper.java91 private final Rect mBounds = new Rect(); field in class:PipMotionHelper
126 mBounds.set(stackInfo.bounds);
139 mBounds.set(toBounds);
196 return mBounds;
216 if (mBounds.left < 0) {
217 float offscreenFraction = (float) -mBounds.left / mBounds.width();
219 } else if (mBounds.right > displaySize.x) {
220 float offscreenFraction = (float) (mBounds.right - displaySize.x) /
221 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.java43 private Rect mBounds; field in class:TouchDelegate
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/av/services/audioflinger/
H A DFastThread.cpp58 mBounds(0),
185 mBounds = 0;
293 size_t i = mBounds & (mDumpState->mSamplingN - 1);
294 mBounds = (mBounds & 0xFFFF0000) | ((mBounds + 1) & 0xFFFF);
296 mBounds += 0x10000;
297 } else if (!(mBounds & (mDumpState->mSamplingN - 1))) {
343 mDumpState->mBounds = mBounds;
[all...]
H A DFastThreadDumpState.h56 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz member in struct:android::FastThreadDumpState
H A DFastThreadDumpState.cpp27 , mSamplingN(0), mBounds(0)
/frameworks/base/core/java/android/widget/
H A DEdgeEffect.java106 private final Rect mBounds = new Rect(); field in class:EdgeEffect
147 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h));
223 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d);
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...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayer.java49 private final Rect mBounds = new Rect(); field in class:DimLayer
194 getBoundsForFullscreen(mBounds);
198 mDimSurface.setPosition(mBounds.left, mBounds.top);
199 mDimSurface.setSize(mBounds.width(), mBounds.height());
201 "adjustBounds user=" + mUser.toShortString() + " mBounds=" + mBounds);
204 mLastBounds.set(mBounds);
223 getBoundsForFullscreen(mBounds);
[all...]
H A DTaskStack.java84 private Rect mBounds = new Rect(); field in class:TaskStack
95 /** Whether mBounds is fullscreen */
98 // Device rotation as of the last time {@link #mBounds} was set.
101 /** Density as of last time {@link #mBounds} was set. */
224 insetBounds = mBounds;
227 insetBounds = mBounds;
232 alignTasksToAdjustedBounds(adjusted ? mAdjustedBounds : mBounds, insetBounds);
268 if (mBounds.equals(bounds) && oldFullscreen == mFillsParent && mRotation == rotation) {
277 mBounds.set(bounds);
291 out.set(mBounds);
[all...]
H A DTask.java63 private Rect mBounds = new Rect(); field in class:Task
70 // Device rotation as of the last time {@link #mBounds} was set.
73 // Whether mBounds is fullscreen
299 if (mBounds.equals(bounds) && oldFullscreen == mFillsParent && mRotation == rotation) {
304 if (mBounds.left != bounds.left || mBounds.top != bounds.top) {
307 if (mBounds.width() != bounds.width() || mBounds.height() != bounds.height()) {
311 mBounds.set(bounds);
390 mPreparedFrozenBounds.set(mBounds);
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java163 item.mBounds = new RectF(left, top, right, bottom);
191 item.mBoundsInRoot = new RectF(item.mBounds);
195 item.mBoundsInRoot.set(parent.mBounds.left + bounds.left * parent.mBounds.width(),
196 parent.mBounds.top + bounds.top * parent.mBounds.height(),
197 parent.mBounds.left + bounds.right * parent.mBounds.width(),
198 parent.mBounds.top + bounds.bottom * parent.mBounds
394 private RectF mBounds; field in class:ExploreByTouchHelperActivity.CustomView.CustomItem
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java163 item.mBounds = new RectF(left, top, right, bottom);
191 item.mBoundsInRoot = new RectF(item.mBounds);
195 item.mBoundsInRoot.set(parent.mBounds.left + bounds.left * parent.mBounds.width(),
196 parent.mBounds.top + bounds.top * parent.mBounds.height(),
197 parent.mBounds.left + bounds.right * parent.mBounds.width(),
198 parent.mBounds.top + bounds.bottom * parent.mBounds
394 private RectF mBounds; field in class:ExploreByTouchHelperActivity.CustomView.CustomItem
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java69 private RectF mBounds; field in class:BidiRenderer
90 mBounds = new RectF();
101 mBounds = new RectF(x, y, x, y);
121 return mBounds;
149 return mBounds;
247 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline);
252 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline);
255 if (Math.abs(mBounds.right - mBounds.left) == 0) {
256 mBounds
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DDividerItemDecoration.java55 private final Rect mBounds = new Rect(); field in class:DividerItemDecoration
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/tests/src/android/support/wear/widget/util/
H A DArcSwipe.java68 private final RectF mBounds; field in class:ArcSwipe
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);
/frameworks/minikin/include/minikin/
H A DLayout.h62 Layout() : mGlyphs(), mAdvances(), mFaces(), mAdvance(0), mBounds() {
63 mBounds.setEmpty();
138 MinikinRect mBounds; member in class:minikin::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;

Completed in 1228 milliseconds

12