HomeSort by relevance Sort by last modified time
    Searched refs:mBounds (Results 1 - 25 of 56) sorted by null

1 2 3

  /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/Browser/src/com/android/browser/
PageProgressView.java 41 private Rect mBounds;
72 mBounds = new Rect(0,0,0,0);
82 mBounds.right = getWidth() * mCurrentProgress / MAX_PROGRESS;
95 mBounds.left = 0;
96 mBounds.right = (r - l) * mCurrentProgress / MAX_PROGRESS;
97 mBounds.top = 0;
98 mBounds.bottom = b-t;
113 d.setBounds(mBounds);
  /frameworks/support/v4/java/android/support/v4/widget/
SwipeProgressBar.java 67 private Rect mBounds = new Rect();
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.left, mBounds.top, mBounds.right, mBounds.bottom)
    [all...]
  /frameworks/av/services/audioflinger/
FastThreadState.cpp 38 , mSamplingN(1), mBounds(0)
FastThreadState.h 75 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz
  /frameworks/base/libs/hwui/
Outline.h 36 mBounds.set(left, top, right, bottom);
51 mBounds.set(outline->getBounds());
90 outRect->set(mBounds);
113 Rect mBounds;
DeferredDisplayList.cpp 72 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.contains(bounds) || count() == 1)) return false
    [all...]
VertexBuffer.h 111 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;
DeferredDisplayList.h 56 Rect mBounds;
85 mBounds(bounds), mAvoidOverdraw(avoidOverdraw) {
152 Rect mBounds;
  /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...]
  /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/base/services/core/java/com/android/server/wm/
FocusedStackFrame.java 44 final Rect mBounds = new Rect();
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);
DimLayer.java 45 Rect mBounds = new Rect();
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.toShortString())
    [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 46 private Rect mBounds;
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;
  /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 107 private final Rect mBounds = new Rect();
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.height() * MAX_GLOW_SCALE + 0.5f)
    [all...]
  /frameworks/minikin/include/minikin/
Layout.h 68 Layout() : mGlyphs(), mAdvances(), mCollection(0), mFaces(), mAdvance(0), mBounds() {
69 mBounds.setEmpty();
133 MinikinRect mBounds;
  /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...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BidiRenderer.java 68 private RectF mBounds;
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 = bounds
    [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...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
LetterTileProvider.java 50 private final Rect mBounds;
70 mBounds = new Rect();
106 mPaint.getTextBounds(mFirstChar, 0, 1, mBounds);
108 0 + dimensions.height / 2 + (mBounds.bottom - mBounds.top) / 2, mPaint);
  /frameworks/base/graphics/java/android/graphics/drawable/
Ripple.java 55 private final Rect mBounds;
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.exactCenterY(), mOuterY, mTweenY)
    [all...]

Completed in 698 milliseconds

1 2 3