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

1 2

  /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...]
  /frameworks/base/core/java/android/inputmethodservice/
SoftInputWindow.java 36 private final Rect mBounds = new Rect();
71 getWindow().getDecorView().getHitRect(mBounds);
73 if (ev.isWithinBoundsNoHistory(mBounds.left, mBounds.top,
74 mBounds.right - 1, mBounds.bottom - 1)) {
77 MotionEvent temp = ev.clampNoHistory(mBounds.left, mBounds.top,
78 mBounds.right - 1, mBounds.bottom - 1)
    [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/base/core/java/android/hardware/camera2/
Face.java 50 private final Rect mBounds;
99 mBounds = bounds;
145 return mBounds;
248 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;
  /external/chromium_org/ui/android/java/src/org/chromium/ui/
ColorPickerSimple.java 39 private Rect[] mBounds;
71 mBounds = null;
114 if (mBounds == null || mPaints == null) {
122 canvas.drawRect(mBounds[i], mPaints[i]);
128 mBounds[i * COLUMN_COUNT].bottom + 1,
130 mBounds[i * COLUMN_COUNT].bottom + 1,
136 canvas.drawLine(mBounds[j].right + 1,
138 mBounds[j].right + 1,
174 mBounds = new Rect[GRID_CELL_COUNT];
185 mBounds[(i * COLUMN_COUNT) + j] = rect
    [all...]
  /frameworks/base/services/java/com/android/server/wm/
FocusedStackFrame.java 44 private 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);
136 mBounds.set(bounds);
DimLayer.java 31 Rect mBounds = new Rect();
129 mBounds.set(bounds);
170 dw = mBounds.width();
171 dh = mBounds.height();
172 xPos = mBounds.left;
173 yPos = mBounds.right;
186 if (!mLastBounds.equals(mBounds) || mLayer != layer) {
194 mLastBounds.set(mBounds);
282 pw.print(" mBounds="); pw.println(mBounds.toShortString())
    [all...]
StackBox.java 71 Rect mBounds = new Rect();
76 /** Fraction of mBounds to devote to mFirst, remainder goes to mSecond */
120 * @return -1 if point is outside of mBounds, otherwise the stackId of the containing stack.
123 if (!mBounds.contains(x, y)) {
149 return mStack.mStackId == stackId ? new Rect(mBounds) : null;
301 change |= !mBounds.equals(bounds);
303 mBounds.set(bounds);
395 pw.print(prefix); pw.print("mBounds="); pw.print(mBounds.toShortString());
  /frameworks/base/core/java/android/widget/
EdgeEffect.java 126 private final Rect mBounds = new Rect();
375 mBounds.set(0, 0, mWidth, mMaxEffectHeight);
376 mBounds.offset(mX, mY - (reverse ? mMaxEffectHeight : 0));
378 return mBounds;
TabWidget.java 63 private final Rect mBounds = new Rect();
342 final Rect bounds = mBounds;
  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java 124 private Rect mBounds = ZERO_BOUNDS_RECT; // lazily becomes a new Rect()
143 Rect oldBounds = mBounds;
146 oldBounds = mBounds = new Rect();
155 mBounds.set(left, top, right, bottom);
156 onBoundsChange(mBounds);
177 bounds.set(mBounds);
189 return new Rect(mBounds);
208 if (mBounds == ZERO_BOUNDS_RECT) {
209 mBounds = new Rect();
212 return mBounds;
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
EdgeEffect.java 412 private Rect mBounds = new Rect();
428 mBounds.set(left, top, right, bottom);
438 Rect b = mBounds;
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/av/services/audioflinger/
FastMixer.h 126 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz
  /frameworks/base/libs/hwui/
DeferredDisplayList.h 57 Rect mBounds;
84 mBounds(bounds), mAvoidOverdraw(avoidOverdraw) {
88 void reset(const Rect& bounds) { mBounds.set(bounds); }
150 Rect mBounds;
FontRenderer.h 202 Rect* mBounds;
SkiaShader.h 175 float* mBounds;
DeferredDisplayList.cpp 71 mBounds.unionWith(state->mBounds);
77 if (!rect.intersects(mBounds)) return false;
80 if (rect.intersects(mOps[i].state->mBounds)) {
83 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top,
84 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom);
111 const Rect& bounds = state->mBounds;
126 if (CC_LIKELY(!mAllOpsOpaque || !mBounds.contains(bounds) || count() == 1)) return false
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
LetterTileProvider.java 55 private final Rect mBounds;
78 mBounds = new Rect();
138 mPaint.getTextBounds(mFirstChar, 0, 1, mBounds);
140 0 + dimensions.height / 2 + (mBounds.bottom - mBounds.top) / 2, mPaint);
  /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/core/jni/android/graphics/
TextLayoutCache.h 135 inline const SkRect& getBounds() const { return mBounds; }
154 SkRect mBounds;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
RenderingRequest.java 36 private Rect mBounds = null;
167 return mBounds;
171 mBounds = bounds;
  /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...]

Completed in 497 milliseconds

1 2