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

12

/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchParamsController.java136 if (!mTmpParams.mBounds.isEmpty()) {
137 task.updateOverrideConfiguration(mTmpParams.mBounds);
164 final Rect mBounds = new Rect(); field in class:LaunchParamsController.LaunchParams
174 mBounds.setEmpty();
181 mBounds.set(params.mBounds);
188 return mBounds.isEmpty() && mPreferredDisplayId == INVALID_DISPLAY
209 return mBounds != null ? mBounds.equals(that.mBounds)
[all...]
H A DActivityLaunchParamsModifier.java59 outParams.mBounds.set(bounds);
/frameworks/base/libs/hwui/
H A DOutline.h35 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; member in class:android::uirenderer::Outline::Type
H A DVertexBuffer.h109 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; member in class:android::uirenderer::VertexBuffer
H A DLayerBuilder.cpp33 mBounds = op->computedState.clippedBounds;
38 if (!rect.intersects(mBounds)) return false;
55 mMerging, (int)mOps.size(), RECT_ARGS(mBounds));
60 Rect mBounds; member in class:android::uirenderer::BatchBase
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
[all...]
H A DFontRenderer.cpp92 , mBounds(nullptr)
522 if (mBounds) {
523 mBounds->left = std::min(mBounds->left, x1);
524 mBounds->top = std::min(mBounds->top, y3);
525 mBounds->right = std::max(mBounds->right, x3);
526 mBounds->bottom = std::max(mBounds
[all...]
H A DClipArea.h42 const Rect& getBounds() const { return mBounds; }
45 Rect transformedBounds(transformAndCalculateBounds(mBounds, mTransform));
58 Rect mBounds; member in class:android::uirenderer::TransformedRectangle
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleComponent.java36 protected final Rect mBounds; field in class:RippleComponent
49 mBounds = bounds;
54 mTargetRadius = getTargetRadius(mBounds);
64 mTargetRadius = getTargetRadius(mBounds);
96 mTargetRadius = getTargetRadius(mBounds);
/frameworks/base/libs/hwui/pipeline/skia/
H A DGLFunctorDrawable.h39 : mFunctor(functor), mListener(listener), mBounds(canvas->getLocalClipBounds()) {}
45 virtual SkRect onGetBounds() override { return mBounds; }
51 const SkRect mBounds; member in class:android::uirenderer::skiapipeline::GLFunctorDrawable
/frameworks/base/core/java/android/app/
H A DWindowConfiguration.java49 private Rect mBounds = new Rect(); field in class:WindowConfiguration
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
[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
127 mBounds.set(stackInfo.bounds);
140 mBounds.set(toBounds);
191 return mBounds;
211 if (mBounds.left < 0) {
212 float offscreenFraction = (float) -mBounds.left / mBounds.width();
214 } else if (mBounds.right > displaySize.x) {
215 float offscreenFraction = (float) (mBounds.right - displaySize.x) /
216 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).
86 mBounds = bounds;
110 mDelegateTargeted = mBounds.contains(x, y);
H A DDisplayCutout.java96 private final Region mBounds; field in class:DisplayCutout
122 mBounds = bounds == null ? Region.obtain() :
142 return mBounds.isEmpty();
196 return Region.obtain(mBounds);
212 bounds.set(mBounds);
218 bounds.set(mBounds);
224 bounds.set(mBounds);
237 result = result * 31 + mBounds.getBounds().hashCode();
249 && mBounds.equals(c.mBounds);
[all...]
/frameworks/av/services/audioflinger/
H A DFastThread.cpp59 mBounds(0),
190 mBounds = 0;
297 size_t i = mBounds & (mDumpState->mSamplingN - 1);
298 mBounds = (mBounds & 0xFFFF0000) | ((mBounds + 1) & 0xFFFF);
300 //mBounds += 0x10000;
301 __builtin_add_overflow(mBounds, 0x10000, &mBounds);
302 } else if (!(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.java108 private final Rect mBounds = new Rect(); field in class:EdgeEffect
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
[all...]
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java67 private RectF mBounds; field in class:BidiRenderer
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
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java161 item.mBounds = new RectF(left, top, right, bottom);
189 item.mBoundsInRoot = new RectF(item.mBounds);
193 item.mBoundsInRoot.set(parent.mBounds.left + bounds.left * parent.mBounds.width(),
194 parent.mBounds.top + bounds.top * parent.mBounds.height(),
195 parent.mBounds.left + bounds.right * parent.mBounds.width(),
196 parent.mBounds.top + bounds.bottom * parent.mBounds
392 private RectF mBounds; field in class:ExploreByTouchHelperActivity.CustomView.CustomItem
[all...]
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java161 item.mBounds = new RectF(left, top, right, bottom);
189 item.mBoundsInRoot = new RectF(item.mBounds);
193 item.mBoundsInRoot.set(parent.mBounds.left + bounds.left * parent.mBounds.width(),
194 parent.mBounds.top + bounds.top * parent.mBounds.height(),
195 parent.mBounds.left + bounds.right * parent.mBounds.width(),
196 parent.mBounds.top + bounds.bottom * parent.mBounds
392 private RectF mBounds; field in class:ExploreByTouchHelperActivity.CustomView.CustomItem
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDividerItemDecoration.java56 private final Rect mBounds = new Rect(); field in class:DividerItemDecoration
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());
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/
H A DArcSwipe.java69 private final RectF mBounds; field in class:ArcSwipe
75 mBounds = bounds;
100 path.arcTo(mBounds, startAngle, getSweepAngle(startAngle, endAngle, isClockwise));
159 double relativeX = x - (mBounds.width() / 2);
160 double relativeY = y - (mBounds.height() / 2);
/frameworks/minikin/include/minikin/
H A DLayout.h77 mBounds() {
78 mBounds.setEmpty();
131 const MinikinRect& getBounds() const { return mBounds; }
142 sizeof(float /* mAdvance */) + sizeof(MinikinRect /* mBounds */);
191 MinikinRect mBounds; member in class:minikin::Layout

Completed in 371 milliseconds

12