/cts/tests/tests/graphics/src/android/graphics/cts/ |
OutlineTest.java | 37 Rect outRect = new Rect(); 38 assertFalse(outline.getRect(outRect)); 65 Rect outRect = new Rect(); 78 assertTrue(outline.getRect(outRect)); 79 assertEquals(new Rect(10, 10, 20, 20), outRect); 84 assertTrue(outline.getRect(outRect)); 85 assertEquals(new Rect(10, 10, 20, 20), outRect); 92 Rect outRect = new Rect(); 105 assertTrue(outline.getRect(outRect)); 106 assertEquals(new Rect(10, 10, 20, 20), outRect); [all...] |
/frameworks/support/v4/tests/java/android/support/v4/view/ |
GravityCompatTest.java | 90 Rect outRect = new Rect(); 94 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); 96 outRect, 0, 0, 100, 50); 100 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); 102 outRect, 50, 0, 150, 50); 106 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); 108 outRect, 100, 0, 200, 50); 112 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR); 114 outRect, 0, 25, 100, 75); 118 new Rect(0, 0, 200, 100), outRect, ViewCompat.LAYOUT_DIRECTION_LTR) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ActionModeCallback2Test.java | 37 Rect outRect = new Rect(); 39 callback.onGetContentRect(null, view, outRect); 41 assertEquals(0, outRect.top); 42 assertEquals(0, outRect.left); 43 assertEquals(VIEW_HEIGHT, outRect.bottom); 44 assertEquals(VIEW_WIDTH, outRect.right); 48 Rect outRect = new Rect(); 50 callback.onGetContentRect(null, null, outRect); 52 assertEquals(0, outRect.top); 53 assertEquals(0, outRect.left) [all...] |
ViewTest.java | 520 Rect outRect = new Rect(); 529 mockView.getHitRect(outRect); 530 assertEquals(0, outRect.left); 531 assertEquals(0, outRect.top); 532 assertEquals(mockView.getWidth(), outRect.right); 533 assertEquals(mockView.getHeight(), outRect.bottom); 670 Rect outRect = new Rect(); 672 view.getDrawingRect(outRect); 673 assertEquals(0, outRect.left); 674 assertEquals(0, outRect.top) [all...] |
/external/skia/gm/ |
resizeimagefilter.cpp | 102 SkRect outRect = SkRect::MakeXYWH(-24, -24, 120, 120); 104 SkImageSource::Create(image, inRect, outRect, kHigh_SkFilterQuality));
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
DrawableLayoutDirectionHelperTest.java | 48 Rect outRect = new Rect(); 49 insetDrawable.getPadding(outRect); 51 outRect); 65 Rect outRect = new Rect(); 66 insetDrawable.getPadding(outRect); 68 outRect); 82 Rect outRect = new Rect(); 83 insetDrawable.getPadding(outRect); 86 outRect); 89 outRect); [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
TestResizingRelayoutWithAutoMeasure.java | 128 Rect outRect = new Rect(); 129 mLayoutManager.getDecoratedBoundsWithMargins(view, outRect); 130 // only record if outRect is visible 131 if (outRect.left >= mRecyclerView.getWidth() || 132 outRect.top >= mRecyclerView.getHeight() || 133 outRect.right < 0 || 134 outRect.bottom < 0) { 137 positions.put(childAdapterPosition, outRect);
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/ |
LinkAccessibilityHelper.java | 170 private Rect getBoundsForSpan(ClickableSpan span, Rect outRect) { 172 outRect.setEmpty(); 182 layout.getLineBounds(lineStart, outRect); 183 outRect.left = (int) xStart; 185 outRect.right = (int) xEnd; 189 outRect.offset(mView.getTotalPaddingLeft(), mView.getTotalPaddingTop()); 191 return outRect;
|
/packages/apps/Settings/src/com/android/settings/widget/ |
LinkAccessibilityHelper.java | 146 private Rect getBoundsForSpan(ClickableSpan span, Rect outRect) { 148 outRect.setEmpty(); 158 layout.getLineBounds(lineStart, outRect); 159 outRect.left = (int) xStart; 161 outRect.right = (int) xEnd; 165 outRect.offset(mView.getTotalPaddingLeft(), mView.getTotalPaddingTop()); 167 return outRect;
|
/frameworks/base/core/java/android/view/ |
ViewDebug.java | 667 Rect outRect = new Rect(); 669 root.mAttachInfo.mSession.getDisplayFrame(root.mAttachInfo.mWindow, outRect); 674 clientStream.writeInt(outRect.width()); 675 clientStream.writeInt(outRect.height()); [all...] |
Display.java | 587 public void getOverscanInsets(Rect outRect) { 590 outRect.set(mDisplayInfo.overscanLeft, mDisplayInfo.overscanTop, [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
ButtonDropTarget.java | 257 public void getHitRectRelativeToDragLayer(android.graphics.Rect outRect) { 258 super.getHitRect(outRect); 259 outRect.bottom += mBottomDragPadding; 263 outRect.offsetTo(coords[0], coords[1]);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
ImageStraighten.java | 185 public static void getUntranslatedStraightenCropBounds(RectF outRect, float straightenAngle) { 193 double rw = outRect.width(); 194 double rh = outRect.height(); 203 outRect.set(left, top, right, bottom);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableContainerTest.java | 236 Rect outRect = new Rect(); 237 mDrawableContainer.getHotspotBounds(outRect); 238 assertEquals(bounds, outRect); 255 Rect outRect = new Rect(); 256 mDrawableContainer.getHotspotBounds(outRect); 257 assertEquals(bounds, outRect); [all...] |
LayerDrawableTest.java | 538 Rect outRect = new Rect(); 539 layerDrawable.getHotspotBounds(outRect); 540 assertTrue(bounds.equals(outRect)); 551 Rect outRect = new Rect(); 552 layerDrawable.getHotspotBounds(outRect); 553 assertTrue(bounds.equals(outRect)); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
LayerDrawable.java | [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_utils.cpp | 466 hwc_rect_t& inRect, hwc_rect_t& outRect) { 487 Dim outPos(outRect.left, outRect.top, outRect.right - outRect.left, 488 outRect.bottom - outRect.top); 570 outRect.left = outPos.x; 571 outRect.top = outPos.y; 572 outRect.right = outPos.x + outPos.w [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { 603 outRect.set(left, top, right, bottom); [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
ItemTouchHelper.java | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 592 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { 603 outRect.set(left, top, right, bottom); [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | 590 private static void copyTextureCoordinates(BasicTexture texture, RectF outRect) { 601 outRect.set(left, top, right, bottom); [all...] |
/frameworks/base/core/java/android/widget/ |
Editor.java | [all...] |
/prebuilts/sdk/current/support/v14/preference/libs/ |
android-support-v14-preference.jar | |
/development/samples/training/NavigationDrawer/libs/ |
android-support-v4.jar | |
/prebuilts/maven_repo/android/com/android/support/support-v4/13.0.0/ |
support-v4-13.0.0.jar | |