HomeSort by relevance Sort by last modified time
    Searched refs:mBounds (Results 1 - 25 of 30) 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();
178 if (mViewport.x < mBounds.x) {
179 mViewport.x = mBounds.x;
181 if (mViewport.y < mBounds.y) {
182 mViewport.y = mBounds.y;
184 if (mViewport.x + mViewport.width > mBounds.x + mBounds.width) {
185 mViewport.x = mBounds.x + mBounds.width - mViewport.width;
187 if (mViewport.y + mViewport.height > mBounds.y + mBounds.height)
    [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 41 private final Rect mBounds;
63 mBounds = bounds == null ? new Rect() : bounds.copy();
81 return mBounds;
145 if (mBounds != null && mBounds.isValid()) {
146 sb.append(String.format(",R=%d %d %d %d", mBounds.x, mBounds.y, mBounds.w, mBounds.h));
277 if ((mBounds == null && se.mBounds != null) |
    [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 53 protected final Rect mBounds = new Rect();
179 return mBounds;
183 return mBounds.right - mBounds.left;
187 return mBounds.bottom - mBounds.top;
229 int xoffset = component.mBounds.left - mScrollX;
230 int yoffset = component.mBounds.top - mScrollY;
255 Rect rect = component.mBounds;
326 boolean sizeChanged = (right - left) != (mBounds.right - mBounds.left
    [all...]
EdgeEffect.java 409 private Rect mBounds = new Rect();
425 mBounds.set(left, top, right, bottom);
435 Rect b = mBounds;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
GuidelinePainter.java 75 if (state.mBounds != null) {
86 gc.drawRect(state.mBounds);
90 int y = state.mBounds.y + feedback.dragBaseline;
91 gc.drawLine(state.mBounds.x, y, state.mBounds.x2(), y);
147 ConstraintPainter.paintConstraint(gc, state.mBounds, m);
171 fromBounds = state.mBounds;
190 toCenter = state.mBounds.center();
MoveHandler.java 174 mBounds = new Rect(offsetX, offsetY, firstBounds.w, firstBounds.h);
176 if (mBounds.x2() > layoutBounds.x2()) {
177 mBounds.x -= mBounds.x2() - layoutBounds.x2();
179 if (mBounds.y2() > layoutBounds.y2()) {
180 mBounds.y -= mBounds.y2() - layoutBounds.y2();
182 if (mBounds.x < layoutBounds.x) {
183 mBounds.x = layoutBounds.x;
185 if (mBounds.y < layoutBounds.y)
    [all...]
  /external/webkit/Source/WebKit/android/nav/
CachedNode.cpp 39 return mIsInLayer ? frame->adjustBounds(this, mBounds) : mBounds;
81 return Clip(bounds, &mBounds, &mCursorRing);
111 if (mHitBounds != mBounds && mHitBounds.contains(mBounds) &&
122 IntRect sloppyBounds = mBounds;
125 DBG_NAV_LOGD("use mBounds (%d,%d,%d,%d)", mBounds.x(),
126 mBounds.y(), mBounds.width(), mBounds.height())
    [all...]
CachedNode.h 148 const WebCore::IntRect& rawBounds() const { return mBounds; }
152 void setBounds(const WebCore::IntRect& bounds) { mBounds = bounds; }
189 WebCore::IntRect mBounds;
CacheBuilder.h 196 IntRect mBounds;
205 IntRect mBounds;
CachedRoot.cpp 272 mBounds.setEmpty();
332 if (!mBounds.isEmpty() && (mPartial.fTop > mBounds.fBottom + HIT_SLOP
333 || mPartial.fBottom < mBounds.fTop - HIT_SLOP)) {
335 " mBounds=(%d, %d, %d, %d)",
337 mBounds.fLeft, mBounds.fTop, mBounds.fRight, mBounds.fBottom);
355 if (mBounds.isEmpty()
    [all...]
CacheBuilder.cpp 801 int tx = track.mBounds.x();
802 int ty = track.mBounds.y();
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
Drawable.java 122 private Rect mBounds = ZERO_BOUNDS_RECT; // lazily becomes a new Rect()
139 Rect oldBounds = mBounds;
142 oldBounds = mBounds = new Rect();
147 mBounds.set(left, top, right, bottom);
148 onBoundsChange(mBounds);
169 bounds.set(mBounds);
181 return new Rect(mBounds);
200 if (mBounds == ZERO_BOUNDS_RECT) {
201 mBounds = new Rect();
204 return mBounds;
    [all...]
  /frameworks/base/libs/ui/
Region.cpp 52 : mBounds(0,0)
57 : mBounds(rhs.mBounds), mStorage(rhs.mStorage)
65 : mBounds(rhs)
85 mBounds = rhs.mBounds;
98 mBounds.clear();
104 mBounds = r;
110 mBounds = Rect(int(w), int(h));
251 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
TestNode.java 41 private Rect mBounds = new Rect(); // Invalid bounds initially
54 this.mBounds = bounds;
113 return mBounds;
180 + ", attributes=" + mAttributes + ", bounds=" + mBounds + "]";
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
NodeProxy.java 57 private final Rect mBounds;
81 mBounds = new Rect();
83 mBounds = SwtUtils.toRect(bounds);
88 return mBounds;
117 SwtUtils.set(mBounds, bounds);
429 return "NodeProxy [node=" + mNode + ", bounds=" + mBounds + "]";
  /frameworks/base/include/ui/
Region.h 44 inline bool isEmpty() const { return mBounds.isEmpty(); }
47 inline Rect getBounds() const { return mBounds; }
153 Rect mBounds;
  /frameworks/base/libs/hwui/
FontRenderer.cpp 652 if (mBounds) {
653 mBounds->left = fmin(mBounds->left, x1);
654 mBounds->top = fmin(mBounds->top, y3);
655 mBounds->right = fmax(mBounds->right, x3);
656 mBounds->bottom = fmax(mBounds->bottom, y1);
727 mBounds = NULL
    [all...]
SkiaShader.cpp 186 mBounds(bounds), mColors(colors), mPositions(positions), mCount(count) {
199 delete[] mBounds;
207 copy->mBounds = new float[4];
208 memcpy(copy->mBounds, mBounds, sizeof(float) * 4);
SkiaShader.h 188 float* mBounds;
FontRenderer.h 315 Rect* mBounds;
  /packages/apps/Contacts/src/com/android/contacts/widget/
PinnedHeaderListView.java 97 private RectF mBounds = new RectF();
512 mBounds.set(0, 0, mHeaderWidth, view.getHeight());
513 canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG);
  /frameworks/base/core/java/android/widget/
TabWidget.java 65 private final Rect mBounds = new Rect();
344 final Rect bounds = mBounds;

Completed in 694 milliseconds

1 2