HomeSort by relevance Sort by last modified time
    Searched refs:mBounds (Results 1 - 25 of 45) 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...]
FilterRedEyeRepresentation.java 61 bounds.union(r.mBounds);
  /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);
  /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/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...]
  /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/libs/hwui/
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...]
DeferredDisplayList.h 57 Rect mBounds;
84 mBounds(bounds), mAvoidOverdraw(avoidOverdraw) {
88 void reset(const Rect& bounds) { mBounds.set(bounds); }
150 Rect mBounds;
FontRenderer.cpp 559 if (mBounds) {
560 mBounds->left = fmin(mBounds->left, x1);
561 mBounds->top = fmin(mBounds->top, y3);
562 mBounds->right = fmax(mBounds->right, x3);
563 mBounds->bottom = fmax(mBounds->bottom, y1);
577 if (mBounds) {
    [all...]
  /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/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;
297 change |= !mBounds.equals(bounds);
299 mBounds.set(bounds);
391 pw.print(prefix); pw.print("mBounds="); pw.print(mBounds.toShortString());
  /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/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/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/gre/
NodeProxy.java 61 private final Rect mBounds;
85 mBounds = new Rect();
87 mBounds = SwtUtils.toRect(bounds);
93 return mBounds;
127 SwtUtils.set(mBounds, bounds);
469 return "NodeProxy [node=" + mNode + ", bounds=" + mBounds + "]";
  /frameworks/av/services/audioflinger/
FastMixer.h 126 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz
  /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;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
RenderingRequest.java 36 private Rect mBounds = null;
167 return mBounds;
171 mBounds = bounds;

Completed in 974 milliseconds

1 2