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

1 2

  /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);
  /sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
TreeViewOverview.java 56 private Rectangle mBounds = new Rectangle();
183 if (mViewport.x < mBounds.x) {
184 mViewport.x = mBounds.x;
186 if (mViewport.y < mBounds.y) {
187 mViewport.y = mBounds.y;
189 if (mViewport.x + mViewport.width > mBounds.x + mBounds.width) {
190 mViewport.x = mBounds.x + mBounds.width - mViewport.width;
192 if (mViewport.y + mViewport.height > mBounds.y + mBounds.height)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ZoomCache.java 28 private Rect mBounds = null;
32 if (mBounds != bounds) {
46 mBounds = bounds;
  /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/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/gallery3d/ui/
GLView.java 58 protected final Rect mBounds = new Rect();
187 return mBounds;
191 return mBounds.right - mBounds.left;
195 return mBounds.bottom - mBounds.top;
270 int xoffset = component.mBounds.left - mScrollX;
271 int yoffset = component.mBounds.top - mScrollY;
296 Rect rect = component.mBounds;
358 boolean sizeChanged = (right - left) != (mBounds.right - mBounds.left
    [all...]
EdgeEffect.java 410 private Rect mBounds = new Rect();
426 mBounds.set(left, top, right, bottom);
436 Rect b = mBounds;
  /external/webkit/Source/WebCore/platform/graphics/android/context/
PlatformGraphicsContextRecording.h 109 virtual SkIRect getTotalClipBounds() { return enclosingIntRect(mRecordingStateStack.last().mBounds); }
177 , mBounds(parent ? parent->mBounds : FloatRect())
185 , mBounds(other.mBounds)
193 mBounds.intersect(rect);
195 mBounds = rect;
204 FloatRect mBounds;
PlatformGraphicsContextRecording.cpp 994 return enclosingIntRect(mRecordingStateStack.last().mBounds);
    [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 122 private Rect mBounds = ZERO_BOUNDS_RECT; // lazily becomes a new Rect()
141 Rect oldBounds = mBounds;
144 oldBounds = mBounds = new Rect();
149 mBounds.set(left, top, right, bottom);
150 onBoundsChange(mBounds);
171 bounds.set(mBounds);
183 return new Rect(mBounds);
202 if (mBounds == ZERO_BOUNDS_RECT) {
203 mBounds = new Rect();
206 return mBounds;
    [all...]
  /frameworks/base/libs/hwui/
FontRenderer.cpp 437 if (mBounds) {
438 mBounds->left = fmin(mBounds->left, x1);
439 mBounds->top = fmin(mBounds->top, y3);
440 mBounds->right = fmax(mBounds->right, x3);
441 mBounds->bottom = fmax(mBounds->bottom, y1);
456 if (mBounds) {
    [all...]
SkiaShader.cpp 185 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) {
200 delete[] mBounds;
208 copy->mBounds = new float[4];
209 memcpy(copy->mBounds, mBounds, sizeof(float) * 4);
FontRenderer.h 170 Rect* mBounds;
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
AccessibilityNodeProviderActivity.java 128 Rect childBounds = child.mBounds;
187 Rect childBounds = child.mBounds;
206 width += child.mBounds.width();
207 height = Math.max(height, child.mBounds.height());
224 drawingRect.set(child.mBounds);
332 public final Rect mBounds;
339 mBounds = bounds;
388 info.setBoundsInParent(virtualView.mBounds);
  /frameworks/av/services/audioflinger/
FastMixer.h 115 uint32_t mBounds; // bounds for mMonotonicNs, mThreadCpuNs, and mCpukHz
  /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/base/core/java/android/widget/
EdgeEffect.java 124 private final Rect mBounds = new Rect();
373 mBounds.set(0, 0, mWidth, mMaxEffectHeight);
374 mBounds.offset(mX, mY - (reverse ? mMaxEffectHeight : 0));
376 return mBounds;
TabWidget.java 63 private final Rect mBounds = new Rect();
342 final Rect bounds = mBounds;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
TestNode.java 66 private Rect mBounds = new Rect(); // Invalid bounds initially
79 this.mBounds = bounds;
142 return mBounds;
221 + mAttributeInfos + ", attributes=" + mAttributes + ", bounds=" + mBounds + "]";
467 mBounds = new Rect(left, top, right - left, bottom - top);
  /packages/apps/Contacts/src/com/android/contacts/widget/
PinnedHeaderListView.java 97 private RectF mBounds = new RectF();
515 mBounds.set(0, 0, mHeaderWidth, view.getHeight());
516 canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
GeometryMetadata.java 39 private RectF mBounds = new RectF();
91 mBounds = g.mBounds;
  /frameworks/base/services/java/com/android/server/accessibility/
ScreenMagnifier.java     [all...]

Completed in 2789 milliseconds

1 2