HomeSort by relevance Sort by last modified time
    Searched refs:iconBounds (Results 1 - 3 of 3) sorted by null

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
BookmarkUtils.java 157 Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight());
161 canvas.drawBitmap(touchIcon, src, iconBounds, paint);
167 RectF rect = new RectF(iconBounds);
181 Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight());
182 int faviconSize = iconBounds.width() / 3;
185 iconBounds.exactCenterX() - scaledFavicon.getWidth() / 2.0f,
186 iconBounds.exactCenterY() - scaledFavicon.getHeight() / 2.0f, null);
198 Rect iconBounds = new Rect(0, 0, canvas.getWidth(), canvas.getHeight());
209 canvas.drawBitmap(bookmarkWidgetBg, null, iconBounds, paint);
214 canvas.drawBitmap(bookmarkWidgetBgHighlights, null, iconBounds, paint)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
BookmarkUtils.java 85 Rect iconBounds = new Rect(0, 0, bm.getWidth(), bm.getHeight());
89 drawTouchIconToCanvas(touchIcon, canvas, iconBounds);
98 canvas.drawBitmap(icon, null, iconBounds, p);
104 drawFaviconToCanvas(context, favicon, canvas, iconBounds, type);
159 private static void drawTouchIconToCanvas(Bitmap touchIcon, Canvas canvas, Rect iconBounds) {
165 canvas.drawBitmap(touchIcon, src, iconBounds, paint);
171 RectF rect = new RectF(iconBounds);
181 Canvas canvas, Rect iconBounds, BookmarkIconType type) {
203 final float x = iconBounds.exactCenterX() - (faviconPaddedRectDimension / 2);
204 float y = iconBounds.exactCenterY() - (faviconPaddedRectDimension / 2)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CachingPipeline.java 350 Rect iconBounds = request.getIconBounds();
352 if (iconBounds.width() > source.getWidth() * 2) {
355 if (iconBounds != null) {
356 bitmap = mEnvironment.getBitmap(iconBounds.width(),
357 iconBounds.height(), BitmapCache.ICON);
361 float maxSize = Math.max(iconBounds.width(), iconBounds.height());
364 float dx = (iconBounds.width() - (source.getWidth() * scale))/2.0f;
365 float dy = (iconBounds.height() - (source.getHeight() * scale))/2.0f;

Completed in 185 milliseconds