Searched defs:bounds (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DZoomCache.java31 public Bitmap getImage(ImagePreset preset, Rect bounds) { argument
32 if (mBounds != bounds) {
44 public void setImage(ImagePreset preset, Rect bounds, Bitmap bitmap) { argument
46 mBounds = bounds;
H A DImageLoader.java239 private Bitmap loadRegionBitmap(Uri uri, Rect bounds) { argument
244 return decoder.decodeRegion(bounds, null);
343 public Bitmap getScaleOneImageForPreset(ImageShow caller, ImagePreset imagePreset, Rect bounds, argument
346 Bitmap bmp = mZoomCache.getImage(imagePreset, bounds);
348 bmp = loadRegionBitmap(mUri, bounds);
356 mZoomCache.setImage(imagePreset, bounds, bmp2);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DTextFieldsEditorView.java290 * Populates the bound rectangle with the bounds of the last editor field inside this view.
292 public void acquireEditorBounds(Rect bounds) { argument
297 bounds.set(editText.getLeft(), editText.getTop(), editText.getRight(),
/packages/apps/Gallery2/jni/filters/
H A Dwbalance.c107 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/imageshow/
H A DImageCrop.java241 RectF bounds = getLocalCropBounds();
242 RectF crop = new RectF(bounds);
261 RectF bounds = getLocalCropBounds();
262 RectF crop = new RectF(bounds);
314 * Sets cropped bounds; modifies the bounds if it's smaller than the allowed
317 public void setCropBounds(RectF bounds) { argument
319 RectF cbounds = new RectF(bounds);
470 // Move the whole cropped bounds within the photo display bounds
621 drawRuleOfThird(Canvas canvas, RectF bounds, Paint p) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DGLView.java186 public Rect bounds() { method in class:GLView
403 * Gets the bounds of the given descendant that relative to this view.
411 Rect bounds = view.mBounds;
412 xoffset += bounds.left;
413 yoffset += bounds.top;
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListItemView.java437 // Determine the vertical bounds by laying out the header first.
598 public void adjustListItemSelectionBounds(Rect bounds) { argument
599 bounds.top += mBoundsWithoutHeader.top;
600 bounds.bottom = bounds.top + mBoundsWithoutHeader.height();
601 bounds.left += mSelectionBoundsMarginLeft;
602 bounds.right -= mSelectionBoundsMarginRight;
1208 * Specifies left and right margin for selection bounds. See also

Completed in 146 milliseconds