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

  /external/chromium_org/ui/base/
layout.h 49 UI_BASE_EXPORT ScaleFactor GetSupportedScaleFactor(float image_scale);
  /external/chromium_org/ui/gfx/
canvas.h 87 // Creates an empty canvas with image_scale of 1x.
90 // Creates canvas with provided DIP |size| and |image_scale|.
93 Canvas(const Size& size, float image_scale, bool is_opaque);
95 // Constructs a canvas with the size and the image_scale of the provided
102 // |sk_canvas| is assumed to be already scaled based on |image_scale|
105 float image_scale);
111 // TODO(pkotwicz): Push the image_scale into skia::PlatformCanvas such that
114 float image_scale,
426 float image_scale() const { return image_scale_; } function in class:gfx::Canvas
429 Canvas(SkCanvas* canvas, float image_scale);
    [all...]
canvas.cc 27 Canvas::Canvas(const Size& size, float image_scale, bool is_opaque)
28 : image_scale_(image_scale),
30 Size pixel_size = ToCeiledSize(ScaleSize(size, image_scale));
42 SkScalar scale_scalar = SkFloatToScalar(image_scale);
69 float image_scale) {
70 return new Canvas(canvas, image_scale);
74 float image_scale,
76 image_scale_ = image_scale;
77 Size pixel_size = ToFlooredSize(ScaleSize(size, image_scale));
82 SkScalar scale_scalar = SkFloatToScalar(image_scale);
    [all...]
nine_image_painter.cc 28 return i.GetRepresentation(c->image_scale()).pixel_width();
32 return i.GetRepresentation(c->image_scale()).pixel_height();
107 // We should not scale the bounds by the canvas->image_scale() as that can be
canvas_skia.cc 324 Canvas text_canvas(size, image_scale(), false);
355 text_canvas.image_scale()));
  /packages/apps/Camera2/jni/
tinyplanet.cc 99 const float image_scale = output_width * scale; local
103 float xf = (x - output_width / 2.0f) / image_scale;
107 float yf = (y - output_height / 2.0f) / image_scale;
  /packages/apps/Gallery2/jni/filters/
tinyplanet.cc 98 const float image_scale = output_width * scale; local
102 float xf = (x - output_width / 2.0f) / image_scale;
106 float yf = (y - output_height / 2.0f) / image_scale;
  /external/chromium_org/ui/views/controls/
image_view.cc 19 // Returns the pixels for the bitmap in |image| at scale |image_scale|.
20 void* GetBitmapPixels(const gfx::ImageSkia& img, float image_scale) {
21 DCHECK_NE(0.0f, image_scale);
22 const SkBitmap& bitmap = img.GetRepresentation(image_scale).sk_bitmap();
213 last_paint_scale_ = canvas->image_scale();
glow_hover_controller.cc 86 canvas->image_scale(),
  /external/chromium_org/chrome/browser/extensions/api/notifications/
notifications_api.cc 199 float image_scale = local
210 image_scale,
222 image_scale,
246 image_scale,
260 image_scale,
331 float image_scale = local
346 image_scale, bitmap_sizes.icon_size, options->icon_bitmap.get(), &icon);
352 image_scale,
375 image_scale,
391 image_scale,
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
dropdown_bar_view.cc 114 canvas->image_scale(),
  /external/chromium_org/ash/frame/caption_buttons/
frame_caption_button.cc 132 gfx::Canvas icon_canvas(icon_image.size(), canvas->image_scale(), false);
  /external/chromium_org/chrome/common/
badge_util.cc 119 float scale = canvas->image_scale();
  /external/chromium_org/ash/frame/
default_header_painter.cc 290 float thickness = 1 / canvas->image_scale();
  /external/chromium_org/chrome/browser/ui/views/tabs/
tab.cc     [all...]
tab_strip.cc 315 gfx::ImageSkia image = GetImageForScale(canvas->image_scale());
    [all...]
  /external/chromium_org/chrome/browser/ui/views/frame/
browser_header_painter_ash.cc 95 gfx::Canvas temporary_canvas(bounds.size(), canvas->image_scale(), false);
browser_view.cc 203 canvas->image_scale();
    [all...]
  /external/chromium_org/ui/base/x/
x11_util.cc     [all...]

Completed in 3318 milliseconds