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

1 2 3

  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
RecentsResizeTaskDialog.java 76 private Rect[] mBounds = {new Rect(), new Rect(), new Rect(), new Rect()};
126 for (int i = 0; i < mBounds.length; ++i) {
127 mBounds[i].set(rect);
135 mBounds[0].right = mBounds[0].centerX();
136 mBounds[1].left = mBounds[0].right;
140 mBounds[1].right = mBounds[1].centerX();
141 mBounds[0].left = mBounds[1].right
    [all...]
  /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/base/services/core/java/com/android/server/wm/
FocusedStackFrame.java 46 private final Rect mBounds = new Rect();
78 mLastBounds.set(mBounds);
81 if (DEBUG) Slog.i(TAG, "draw: mBounds=" + mBounds + " mLastBounds=" + mLastBounds);
96 c.drawRect(0, 0, mBounds.width(), mBounds.height(), mOuterPaint);
97 c.drawRect(THICKNESS, THICKNESS, mBounds.width() - THICKNESS, mBounds.height() - THICKNESS,
102 mLastBounds.set(mBounds);
113 mSurfaceControl.setPosition(mBounds.left, mBounds.top)
    [all...]
TaskStack.java 60 private Rect mBounds = new Rect();
62 /** Whether mBounds is fullscreen */
92 // The {@link #mBounds} before the stack was forced to fullscreen. Will be restored as the
96 // Device rotation as of the last time {@link #mBounds} was set.
106 EventLog.writeEvent(EventLogTags.WM_STACK_CREATED, stackId, mBounds.left, mBounds.top,
107 mBounds.right, mBounds.bottom);
160 if (mBounds.equals(bounds) && oldFullscreen == mFullscreen && mRotation == rotation) {
166 mBounds.set(bounds)
    [all...]
DimLayer.java 45 Rect mBounds = new Rect();
149 dw = mBounds.width();
150 dh = mBounds.height();
151 xPos = mBounds.left;
152 yPos = mBounds.top;
168 mLastBounds.set(mBounds);
173 mBounds.set(bounds);
221 if (!mLastBounds.equals(mBounds)) {
310 pw.print(" mBounds="); pw.println(mBounds.toShortString())
    [all...]
  /frameworks/support/v4/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/libs/hwui/
Outline.h 37 mBounds.set(left, top, right, bottom);
52 mBounds.set(outline->getBounds());
96 outRect->set(mBounds);
119 Rect mBounds;
DeferredDisplayList.cpp 73 mBounds.unionWith(state->mBounds);
79 if (!rect.intersects(mBounds)) return false;
82 if (rect.intersects(mOps[i].state->mBounds)) {
85 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top,
86 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom);
110 const Rect& bounds = state->mBounds;
124 if (CC_LIKELY(!mAllOpsOpaque || !mBounds.contains(bounds) || count() == 1)) return false
    [all...]
VertexBuffer.h 110 mBounds.setEmpty();
119 mBounds.set(current->x, current->y, current->x, current->y);
121 mBounds.expandToCoverVertex(current->x, current->y);
127 const Rect& getBounds() const { return mBounds; }
142 void setBounds(Rect bounds) { mBounds = bounds; }
159 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/av/services/audioflinger/
FastThreadDumpState.h 56 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz
FastThread.cpp 57 mBounds(0),
180 mBounds = 0;
288 size_t i = mBounds & (mDumpState->mSamplingN - 1);
289 mBounds = (mBounds & 0xFFFF0000) | ((mBounds + 1) & 0xFFFF);
291 mBounds += 0x10000;
292 } else if (!(mBounds & (mDumpState->mSamplingN - 1))) {
338 mDumpState->mBounds = mBounds;
    [all...]
FastThreadDumpState.cpp 26 , mSamplingN(0), mBounds(0)
  /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 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d);
324 final float centerX = mBounds.centerX();
325 final float centerY = mBounds.height() - mRadius;
330 float translateX = mBounds.width() * displacement / 2;
332 canvas.clipRect(mBounds);
353 return (int) (mBounds.height() * MAX_GLOW_SCALE + 0.5f)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/util/
LauncherEdgeEffect.java 86 private final Rect mBounds = new Rect();
119 mBounds.set(mBounds.left, mBounds.top, width, (int) Math.min(height, h));
195 Math.sqrt(Math.abs(mPullDistance) * mBounds.height()) - 0.3d) / 0.7d);
292 final float centerX = mBounds.centerX();
293 final float centerY = mBounds.height() - mRadius;
298 float translateX = mBounds.width() * displacement / 2;
317 return (int) (mBounds.height() * MAX_GLOW_SCALE + 0.5f);
  /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 67 private RectF mBounds;
88 mBounds = new RectF();
99 mBounds = new RectF(x, y, x, y);
119 return mBounds;
147 return mBounds;
238 mGraphics.drawGlyphVector(gv, mBounds.right, mBaseline);
243 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline);
246 if (Math.abs(mBounds.right - mBounds.left) == 0) {
247 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...]

Completed in 613 milliseconds

1 2 3