/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 | 41 , mBounds(canvas->getLocalClipBounds()) 48 virtual SkRect onGetBounds() override { return mBounds; } 54 const SkRect mBounds;
|
/frameworks/base/libs/hwui/ |
Outline.h | 45 && 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;
|
VertexBuffer.h | 110 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;
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
SwipeProgressBar.java | 68 private Rect mBounds = new Rect(); 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.left, mBounds.top, mBounds.right, mBounds.bottom) [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(); 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.width() [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
IconNormalizer.java | 82 private final Rect mBounds; 101 mBounds = new Rect(); 137 float iconRatio = ((float) mBounds.width()) / mBounds.height(); 162 mMatrix.setScale(mBounds.width(), mBounds.height()); 163 mMatrix.postTranslate(mBounds.left, mBounds.top); 196 int w = mBounds.width(); 197 int h = mBounds.height() [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 } else if (!(mBounds & (mDumpState->mSamplingN - 1))) { 347 mDumpState->mBounds = mBounds; [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). 88 mBounds = bounds; 112 Rect bounds = mBounds;
|
/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/base/services/core/java/com/android/server/wm/ |
DimLayer.java | 49 private final Rect mBounds = new Rect(); 200 getBoundsForFullscreen(mBounds); 204 mDimSurface.setPosition(mBounds.left, mBounds.top); 205 mDimSurface.setSize(mBounds.width(), mBounds.height()); 207 "adjustBounds user=" + mUser.toShortString() + " mBounds=" + mBounds); 210 mLastBounds.set(mBounds); 229 getBoundsForFullscreen(mBounds); [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 63 private RectF mBounds; 76 mBounds = new RectF(); 87 mBounds.set(x, y, x, y); 108 return mBounds; 136 return mBounds; 237 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline); 244 if (Math.abs(mBounds.right - mBounds.left) == 0) { 245 mBounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline, mBounds) [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
ExploreByTouchHelperActivity.java | 163 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.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...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
DividerItemDecoration.java | 55 private final Rect mBounds = new Rect(); 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/ |
ArcSwipe.java | 68 private final RectF mBounds; 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);
|