/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...] |
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/app/ |
CustomVirtualView.java | 207 child.setDimens(item.line.mBounds.left, item.line.mBounds.top, 0, 0, 208 item.line.mBounds.width(), item.line.mBounds.height()); 211 child.setDimens(item.line.mBounds.left, item.line.mBounds.top, 0, 0, 212 item.line.mBounds.width(), item.line.mBounds.height()); 238 line.mBounds.set((int) x, (int) (y - mLineLength), 240 if (VERBOSE) Log.v(TAG, "setBounds(" + x + ", " + y + "): " + line.mBounds); [all...] |
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofillframework/app/ |
CustomVirtualView.java | 207 child.setDimens(item.line.mBounds.left, item.line.mBounds.top, 0, 0, 208 item.line.mBounds.width(), item.line.mBounds.height()); 211 child.setDimens(item.line.mBounds.left, item.line.mBounds.top, 0, 0, 212 item.line.mBounds.width(), item.line.mBounds.height()); 238 line.mBounds.set((int) x, (int) (y - mLineLength), 240 if (VERBOSE) Log.v(TAG, "setBounds(" + x + ", " + y + "): " + line.mBounds); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
Drawable.java | 185 private Rect mBounds = ZERO_BOUNDS_RECT; // lazily becomes a new Rect() 219 Rect oldBounds = mBounds; 222 oldBounds = mBounds = new Rect(); 231 mBounds.set(left, top, right, bottom); 232 onBoundsChange(mBounds); 253 bounds.set(mBounds); 266 return new Rect(mBounds); 286 if (mBounds == ZERO_BOUNDS_RECT) { 287 mBounds = new Rect(); 290 return mBounds; [all...] |
RippleComponent.java | 37 protected final Rect mBounds; 64 mBounds = bounds; 70 mTargetRadius = getTargetRadius(mBounds); 80 mTargetRadius = getTargetRadius(mBounds); 262 final float halfWidth = mBounds.width() / 2.0f; 263 final float halfHeight = mBounds.height() / 2.0f;
|
/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/support/samples/Support4Demos/src/com/example/android/supportv4/widget/ |
ExploreByTouchHelperActivity.java | 163 item.mBounds = new RectF(left, top, right, bottom); 191 item.mBoundsInRoot = new RectF(item.mBounds); 195 item.mBoundsInRoot.set(parent.mBounds.left + bounds.left * parent.mBounds.width(), 196 parent.mBounds.top + bounds.top * parent.mBounds.height(), 197 parent.mBounds.left + bounds.right * parent.mBounds.width(), 198 parent.mBounds.top + bounds.bottom * parent.mBounds.height()) [all...] |
/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...] |
/frameworks/base/core/java/android/widget/ |
TabWidget.java | 57 private final Rect mBounds = new Rect(); 388 final Rect bounds = mBounds;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
WindowFrameTests.java | 74 final Rect mBounds; 79 mBounds = bounds; 83 outBounds.set(mBounds);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelineHandler.java | 93 protected Rect mBounds; [all...] |
/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 + "]";
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestNode.java | 65 private Rect mBounds = new Rect(); // Invalid bounds initially 78 this.mBounds = bounds; 141 return mBounds; 220 + mAttributeInfos + ", attributes=" + mAttributes + ", bounds=" + mBounds + "]"; 466 mBounds = new Rect(left, top, right - left, bottom - top);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
PipMotionHelper.java | 91 private final Rect mBounds = new Rect(); 126 mBounds.set(stackInfo.bounds); 139 mBounds.set(toBounds); 196 return mBounds; 216 if (mBounds.left < 0) { 217 float offscreenFraction = (float) -mBounds.left / mBounds.width(); 219 } else if (mBounds.right > displaySize.x) { 220 float offscreenFraction = (float) (mBounds.right - displaySize.x) / 221 mBounds.width() [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
Task.java | 66 private Rect mBounds = new Rect(); 73 // Device rotation as of the last time {@link #mBounds} was set. 76 // Whether mBounds is fullscreen 302 if (mBounds.equals(bounds) && oldFullscreen == mFillsParent && mRotation == rotation) { 307 if (mBounds.left != bounds.left || mBounds.top != bounds.top) { 310 if (mBounds.width() != bounds.width() || mBounds.height() != bounds.height()) { 314 mBounds.set(bounds); 393 mPreparedFrozenBounds.set(mBounds); [all...] |
AccessibilityController.java | 690 private final Region mBounds = new Region(); [all...] |
AppWindowToken.java | 186 private final Rect mBounds = new Rect(); 234 mBounds.set(bounds); 240 if (mBounds.equals(bounds)) { 244 mBounds.set(bounds); 249 outBounds.set(mBounds); 253 return !mBounds.isEmpty(); [all...] |
TaskStack.java | 84 private Rect mBounds = new Rect(); 95 /** Whether mBounds is fullscreen */ 98 // Device rotation as of the last time {@link #mBounds} was set. 101 /** Density as of last time {@link #mBounds} was set. */ 224 insetBounds = mBounds; 227 insetBounds = mBounds; 232 alignTasksToAdjustedBounds(adjusted ? mAdjustedBounds : mBounds, insetBounds); 268 if (mBounds.equals(bounds) && oldFullscreen == mFillsParent && mRotation == rotation) { 277 mBounds.set(bounds); 291 out.set(mBounds); [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
PinnedHeaderListView.java | 101 private RectF mBounds = new RectF(); 574 mBounds.set(0, 0, view.getWidth(), view.getHeight()); 575 canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG);
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
PinnedHeaderListView.java | 49 private RectF mBounds = new RectF(); 515 mBounds.set(0, 0, view.getWidth(), view.getHeight()); 516 canvas.saveLayerAlpha(mBounds, header.alpha, Canvas.ALL_SAVE_FLAG);
|
/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
ActivityManagerState.java | 763 Pattern.compile("mBounds=Rect\\((\\d+), (\\d+) - (\\d+), (\\d+)\\)"); 770 protected Rectangle mBounds; 792 mBounds = extractBounds(matcher); 824 return mBounds;
|
WindowManagerState.java | 745 Pattern.compile("mBounds=\\[(-?\\d+),(-?\\d+)\\]\\[(-?\\d+),(-?\\d+)\\]"); 748 protected Rectangle mBounds; 782 mBounds = extractBounds(matcher); 811 return mBounds; [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
BandController.java | 71 @Nullable private Rect mBounds; 315 mBounds = new Rect(Math.min(mOrigin.x, mCurrentPosition.x), 319 mEnvironment.showBand(mBounds); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
TaskRecord.java | 307 Rect mBounds = null; 518 if (Objects.equals(mBounds, bounds) && !forced) { 563 mWindowContainerController.resize(mBounds, getOverrideConfiguration(), kept, forced); 571 mWindowContainerController.resize(mBounds, getOverrideConfiguration(), false /* relayout */, [all...] |