/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
BitmapUtils.java | 25 * parameters. The output rectangle to use is written in the given outRect. 52 * @param outRect a Rect to write the resulting crop coordinates into 56 final boolean absoluteFrac, final float verticalMultiplier, final Rect outRect) { 76 outRect.left = (srcW - srcCroppedW) / 2; 77 outRect.right = outRect.left + srcCroppedW; 89 outRect.top = centerV - srcCroppedH / 2; 90 outRect.bottom = outRect.top + srcCroppedH; 98 * @param outRect [all...] |
/frameworks/base/core/java/android/view/ |
Gravity.java | 135 * @param outRect Receives the computed frame of the object in its 138 public static void apply(int gravity, int w, int h, Rect container, Rect outRect) { 139 apply(gravity, w, h, container, 0, 0, outRect); 152 * @param outRect Receives the computed frame of the object in its 160 Rect outRect, int layoutDirection) { 162 apply(absGravity, w, h, container, 0, 0, outRect); 183 * @param outRect Receives the computed frame of the object in its 187 int xAdj, int yAdj, Rect outRect) { 190 outRect.left = container.left 192 outRect.right = outRect.left + w [all...] |
Display.java | 552 public void getOverscanInsets(Rect outRect) { 555 outRect.set(mDisplayInfo.overscanLeft, mDisplayInfo.overscanTop,
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/ |
GravityCompatJellybeanMr1.java | 29 public static void apply(int gravity, int w, int h, Rect container, Rect outRect, 31 Gravity.apply(gravity, w, h, container, outRect, layoutDirection); 35 Rect outRect, int layoutDirection) { 36 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect, layoutDirection);
|
/frameworks/support/v4/java/android/support/v4/view/ |
GravityCompat.java | 30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection); 32 Rect outRect, int layoutDirection); 44 public void apply(int gravity, int w, int h, Rect container, Rect outRect, 46 Gravity.apply(gravity, w, h, container, outRect); 51 Rect outRect, int layoutDirection) { 52 Gravity.apply(gravity, w, h, container, xAdj, yAdj, outRect); 69 public void apply(int gravity, int w, int h, Rect container, Rect outRect, 71 GravityCompatJellybeanMr1.apply(gravity, w, h, container, outRect, layoutDirection); 76 Rect outRect, int layoutDirection) { 77 GravityCompatJellybeanMr1.apply(gravity, w, h, container, xAdj, yAdj, outRect, [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
DismissViewButton.java | 112 * @param outRect The (scrolled) drawing bounds of the view. 115 public void getDrawingRect(Rect outRect) { 116 super.getDrawingRect(outRect); 119 outRect.left += translationX; 120 outRect.right += translationX; 121 outRect.top += translationY; 122 outRect.bottom += translationY;
|
ExpandableView.java | 290 * @param outRect The (scrolled) drawing bounds of the view. 293 public void getDrawingRect(Rect outRect) { 294 super.getDrawingRect(outRect); 295 outRect.left += getTranslationX(); 296 outRect.right += getTranslationX(); 297 outRect.bottom = (int) (outRect.top + getTranslationY() + getActualHeight()); 298 outRect.top += getTranslationY() + getClipTopAmount();
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawable21.java | 52 Rect bounds, Rect outRect) { 54 bounds, outRect, View.LAYOUT_DIRECTION_LTR);
|
/frameworks/base/libs/hwui/ |
Outline.h | 88 bool getAsRoundRect(Rect* outRect, float* outRadius) const { 90 outRect->set(mBounds);
|
RenderProperties.h | 516 void getClippingRectForFlags(uint32_t flags, Rect* outRect) const { 518 outRect->set(0, 0, getWidth(), getHeight()); 520 outRect->intersect(mPrimitiveFields.mClipBounds); 523 outRect->set(mPrimitiveFields.mClipBounds);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/decorator/ |
DividerItemDecoration.java | 101 public void getItemOffsets(Rect outRect, int itemPosition, RecyclerView parent) { 103 outRect.set(0, 0, 0, mDivider.getIntrinsicHeight()); 105 outRect.set(0, 0, mDivider.getIntrinsicWidth(), 0);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ButtonDropTarget.java | 113 public void getHitRectRelativeToDragLayer(android.graphics.Rect outRect) { 114 super.getHitRect(outRect); 115 outRect.bottom += mBottomDragPadding; 119 outRect.offsetTo(coords[0], coords[1]);
|
DropTarget.java | 161 void getHitRectRelativeToDragLayer(Rect outRect);
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawableFactory.java | 56 Rect bounds, Rect outRect) { 58 bounds, outRect, ViewCompat.LAYOUT_DIRECTION_LTR);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
DisplaySettings.java | 64 public void getOverscanLocked(String name, String uniqueId, Rect outRect) { 72 outRect.left = entry.overscanLeft; 73 outRect.top = entry.overscanTop; 74 outRect.right = entry.overscanRight; 75 outRect.bottom = entry.overscanBottom; 77 outRect.set(0, 0, 0, 0);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
ButtonDropTarget.java | 115 public void getHitRect(android.graphics.Rect outRect) { 116 super.getHitRect(outRect); 117 outRect.bottom += mBottomDragPadding;
|
DropTarget.java | 180 void getHitRect(Rect outRect);
|
/external/chromium_org/third_party/skia/gm/ |
resizeimagefilter.cpp | 111 SkRect outRect = SkRect::MakeXYWH(-24, -24, 120, 120); 112 SkAutoTUnref<SkBitmapSource> source(SkBitmapSource::Create(bitmap, inRect, outRect));
|
/external/skia/gm/ |
resizeimagefilter.cpp | 108 SkRect outRect = SkRect::MakeXYWH(-24, -24, 120, 120); 109 SkAutoTUnref<SkBitmapSource> source(SkBitmapSource::Create(bitmap, inRect, outRect));
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | 354 Rect outRect = new Rect(); 363 mockView.getHitRect(outRect); 364 assertEquals(0, outRect.left); 365 assertEquals(0, outRect.top); 366 assertEquals(mockView.getWidth(), outRect.right); 367 assertEquals(mockView.getHeight(), outRect.bottom); 501 Rect outRect = new Rect(); 503 view.getDrawingRect(outRect); 504 assertEquals(0, outRect.left); 505 assertEquals(0, outRect.top) [all...] |
/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);
|
/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/include/private/graphics/ |
Canvas.h | 74 virtual bool getClipBounds(SkRect* outRect) const = 0;
|
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
RoundedBitmapDrawable.java | 214 Rect bounds, Rect outRect) {
|
/frameworks/base/core/jni/android/graphics/ |
SkiaCanvas.cpp | 81 virtual bool getClipBounds(SkRect* outRect) const; 399 bool SkiaCanvas::getClipBounds(SkRect* outRect) const { 408 if (outRect) { 409 outRect->setEmpty(); 414 if (NULL != outRect) { 416 inverse.mapRect(outRect, r);
|