/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterRedEyeRepresentation.java | 50 public void addRect(RectF rect, RectF bounds) { argument 61 bounds.union(r.mBounds); 64 addCandidate(new RedEyeCandidate(rect, bounds));
|
H A D | RedEyeCandidate.java | 30 public RedEyeCandidate(RectF rect, RectF bounds) { argument 32 mBounds.set(bounds);
|
/packages/apps/Camera2/src/com/android/camera/crop/ |
H A D | CropDrawingUtils.java | 30 public static void drawRuleOfThird(Canvas canvas, RectF bounds) { argument 35 float stepX = bounds.width() / 3.0f; 36 float stepY = bounds.height() / 3.0f; 37 float x = bounds.left + stepX; 38 float y = bounds.top + stepY; 40 canvas.drawLine(x, bounds.top, x, bounds.bottom, p); 44 canvas.drawLine(bounds.left, y, bounds.right, y, p); 49 public static void drawCropRect(Canvas canvas, RectF bounds) { argument 57 drawShade(Canvas canvas, RectF bounds) argument 83 drawIndicators(Canvas canvas, Drawable cropIndicator, int indicatorSize, RectF bounds, boolean fixedAspect, int selection) argument [all...] |
H A D | CropActivity.java | 197 private void doneLoadBitmap(Bitmap bitmap, RectF bounds, int orientation) { argument 201 mOriginalBounds = bounds; 422 // Set extra for crop bounds 461 // Find crop bounds (scaled to original image size)
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
H A D | CropDrawingUtils.java | 30 public static void drawRuleOfThird(Canvas canvas, RectF bounds) { argument 35 float stepX = bounds.width() / 3.0f; 36 float stepY = bounds.height() / 3.0f; 37 float x = bounds.left + stepX; 38 float y = bounds.top + stepY; 40 canvas.drawLine(x, bounds.top, x, bounds.bottom, p); 44 canvas.drawLine(bounds.left, y, bounds.right, y, p); 49 public static void drawCropRect(Canvas canvas, RectF bounds) { argument 57 drawShade(Canvas canvas, RectF bounds) argument 83 drawIndicators(Canvas canvas, Drawable cropIndicator, int indicatorSize, RectF bounds, boolean fixedAspect, int selection) argument [all...] |
H A D | CropActivity.java | 200 private void doneLoadBitmap(Bitmap bitmap, RectF bounds, int orientation) { argument 204 mOriginalBounds = bounds; 425 // Set extra for crop bounds 464 // Find crop bounds (scaled to original image size)
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
H A D | BitmapJobDrawable.java | 78 protected void onBoundsChange(Rect bounds) { argument 79 super.onBoundsChange(bounds); 85 Rect bounds = getBounds(); 88 canvas.clipRect(bounds); 90 canvas.rotate(mRotation, bounds.centerX(), bounds.centerY()); 95 canvas.drawRect(bounds, mPaint); 100 Rect bounds = getBounds(); 101 if (mBitmap == null || bounds.isEmpty()) { 111 int vwidth = bounds [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
H A D | CompositeDrawable.java | 41 // zero out the composite bounds, which will propagate to the division drawables 42 // this invalidates any old division bounds, which may change with the count 62 // Make sure drawables created after the bounds were already set have their bounds 71 protected void onBoundsChange(Rect bounds) { argument 72 final int w = bounds.width(); 73 final int h = bounds.height();
|
H A D | TileDrawable.java | 51 protected void onBoundsChange(Rect bounds) { argument 52 super.onBoundsChange(bounds); 54 if (bounds.isEmpty()) { 57 final int l = bounds.left + (bounds.width() / 2) - (mInnerWidth / 2); 58 final int t = bounds.top + (bounds.height() / 2) - (mInnerHeight / 2);
|
H A D | AttachmentDrawable.java | 133 final Rect bounds = getBounds(); 134 if (bounds.isEmpty()) { 135 throw new IllegalStateException("AttachmentDrawable must have bounds set before bind"); 137 setImage(new ImageAttachmentRequest(context, lookupUri, rendition, bounds.width())); 198 final Rect bounds = getBounds(); 199 if (bounds.isEmpty()) { 206 bounds.width(), bounds.height(), 219 // We may need to rotate the canvas, so we also have to rotate the bounds. 220 final Rect rotatedBounds = new Rect(bounds); 263 onBoundsChange(Rect bounds) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | TextFieldsEditorView.java | 300 * Populates the bound rectangle with the bounds of the last editor field inside this view. 302 public void acquireEditorBounds(Rect bounds) { argument 307 bounds.set(editText.getLeft(), editText.getTop(), editText.getRight(),
|
/packages/apps/Gallery2/jni/filters/ |
H A D | wbalance.c | 107 int bounds = 5; local 108 if (x<0) x = bounds; 109 if (y<0) y = bounds; 110 if (x>=(iw-bounds)) x = (iw-bounds-1); 111 if (y>=(ih-bounds)) y = (ih-bounds-1); 112 int startx = x - bounds; 113 int starty = y - bounds; 114 int endx = x + bounds; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
H A D | ImageLoader.java | 250 * Returns the bitmap for the rectangular region given by "bounds" 256 Rect bounds) { 269 Rect imageBounds = new Rect(bounds); 270 // return null if bounds are not entirely within the bitmap 273 bounds.left = imageBounds.left; 274 bounds.top = imageBounds.top; 289 Log.e(LOGTAG, "exc, image decoded " + w + " x " + h + " bounds: " 290 + bounds.left + "," + bounds.top + " - " 291 + bounds 254 loadRegionBitmap(Context context, BitmapCache cache, Uri uri, BitmapFactory.Options options, Rect bounds) argument 415 getScaleOneImageForPreset(Context context, BitmapCache cache, Uri uri, Rect bounds, Rect destination) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
H A D | RenderingRequest.java | 56 RenderingRequestCaller caller, Rect bounds, Rect destination) { 84 request.setBounds(bounds); 86 passedPreset.setPartialRendering(true, bounds); 170 public void setBounds(Rect bounds) { argument 171 mBounds = bounds; 190 public void setIconBounds(Rect bounds) { argument 191 mIconBounds = bounds; 55 post(Context context, Bitmap source, ImagePreset preset, int type, RenderingRequestCaller caller, Rect bounds, Rect destination) argument
|
H A D | ImagePreset.java | 603 public void setPartialRendering(boolean partialRendering, Rect bounds) { argument 605 mPartialRenderingBounds = bounds;
|
H A D | ProcessingService.java | 108 Rect bounds, Rect destination, 117 request.setBounds(bounds); 119 passedPreset.setPartialRendering(true, bounds); 107 postFullresRenderingRequest(ImagePreset preset, float scaleFactor, Rect bounds, Rect destination, RenderingRequestCaller caller) argument
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
H A D | AutoThumbnailDrawable.java | 94 protected void onBoundsChange(Rect bounds) { argument 95 super.onBoundsChange(bounds); 97 mBounds.set(bounds);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 206 * Gets the bounds given by x, y, width, and height as well as the internal 208 * It only considers the lower-left and upper-right corners as the bounds. 210 * @param bounds The output bounds to write to. 216 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
|
H A D | GLES11Canvas.java | 989 public void getBounds(Rect bounds, int x, int y, int width, int height) { argument
|
H A D | GLES20Canvas.java | 993 public void getBounds(Rect bounds, int x, int y, int width, int height) { argument 998 bounds.left = Math.round(mTempMatrix[MATRIX_SIZE]); 999 bounds.right = Math.round(mTempMatrix[MATRIX_SIZE + 4]); 1000 bounds.top = Math.round(mTempMatrix[MATRIX_SIZE + 1]); 1001 bounds.bottom = Math.round(mTempMatrix[MATRIX_SIZE + 5]); 1002 bounds.sort();
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLCanvas.java | 204 * Gets the bounds given by x, y, width, and height as well as the internal 206 * It only considers the lower-left and upper-right corners as the bounds. 208 * @param bounds The output bounds to write to. 214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
|
H A D | GLES20Canvas.java | 993 public void getBounds(Rect bounds, int x, int y, int width, int height) { argument 998 bounds.left = Math.round(mTempMatrix[MATRIX_SIZE]); 999 bounds.right = Math.round(mTempMatrix[MATRIX_SIZE + 4]); 1000 bounds.top = Math.round(mTempMatrix[MATRIX_SIZE + 1]); 1001 bounds.bottom = Math.round(mTempMatrix[MATRIX_SIZE + 5]); 1002 bounds.sort();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GLView.java | 187 public Rect bounds() { method in class:GLView 404 * Gets the bounds of the given descendant that relative to this view. 412 Rect bounds = view.mBounds; 413 xoffset += bounds.left; 414 yoffset += bounds.top;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
H A D | ContactListItemView.java | 497 // Determine the vertical bounds by laying out the header first. 683 public void adjustListItemSelectionBounds(Rect bounds) { argument 684 bounds.top += mBoundsWithoutHeader.top; 685 bounds.bottom = bounds.top + mBoundsWithoutHeader.height(); 686 bounds.left += mSelectionBoundsMarginLeft; 687 bounds.right -= mSelectionBoundsMarginRight; 1511 * Specifies left and right margin for selection bounds. See also
|