/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...] |
/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;
|
/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...] |
/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;
|
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/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);
|
/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/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/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/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipMotionHelper.java | 91 private final Rect mBounds = new Rect(); 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.width() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElement.java | 44 private final Rect mBounds; 67 mBounds = bounds == null ? new Rect() : bounds.copy(); 87 return mBounds; 151 return node.getBounds().equals(mBounds); 193 if (mBounds != null && mBounds.isValid()) { 194 sb.append(String.format(",R=%d %d %d %d", mBounds.x, mBounds.y, mBounds.w, mBounds.h)) [all...] |
/frameworks/av/services/audioflinger/ |
FastThreadDumpState.h | 56 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz
|
FastThread.cpp | 59 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 & (mDumpState->mSamplingN - 1))) [all...] |
/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);
|
DisplayCutout.java | 96 private final Region mBounds; 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...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
AutoThumbnailDrawable.java | 57 private Rect mBounds = new Rect(); 97 mBounds.set(bounds); 98 if (mBounds.isEmpty()) { 112 canvas.clipRect(mBounds); 122 if (mBitmap == null || mBounds.isEmpty()) { 132 int vwidth = mBounds.width(); 133 int vheight = mBounds.height(); 156 int vwidth = mBounds.width(); 157 int vheight = mBounds.height(); 170 if (mBounds.isEmpty() || mImageWidth == 0 || mImageHeight == 0) [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...] |
/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/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/widget/ |
ExploreByTouchHelperActivity.java | 161 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.height()) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLView.java | 59 protected final Rect mBounds = new Rect(); 188 return mBounds; 192 return mBounds.right - mBounds.left; 196 return mBounds.bottom - mBounds.top; 271 int xoffset = component.mBounds.left - mScrollX; 272 int yoffset = component.mBounds.top - mScrollY; 297 Rect rect = component.mBounds; 359 boolean sizeChanged = (right - left) != (mBounds.right - mBounds.left [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 77 if (state.mBounds != null) { 88 gc.drawRect(state.mBounds); 92 int y = state.mBounds.y + feedback.dragBaseline; 93 gc.drawLine(state.mBounds.x, y, state.mBounds.x2(), y); 149 ConstraintPainter.paintConstraint(gc, state.mBounds, m); 174 fromBounds = state.mBounds; 193 toCenter = state.mBounds.center();
|
MoveHandler.java | 192 mBounds = new Rect(offsetX, offsetY, firstBounds.w, firstBounds.h); 194 if (mBounds.x2() > layoutBounds.x2()) { 195 mBounds.x -= mBounds.x2() - layoutBounds.x2(); 197 if (mBounds.y2() > layoutBounds.y2()) { 198 mBounds.y -= mBounds.y2() - layoutBounds.y2(); 200 if (mBounds.x < layoutBounds.x) { 201 mBounds.x = layoutBounds.x; 203 if (mBounds.y < layoutBounds.y) [all...] |