HomeSort by relevance Sort by last modified time
    Searched refs:scale_ (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/ui/gfx/image/
image_skia_rep.cc 11 ImageSkiaRep::ImageSkiaRep() : scale_(0.0f) {
17 ImageSkiaRep::ImageSkiaRep(const gfx::Size& size, float scale) : scale_(scale) {
25 scale_(scale) {
37 DCHECK_EQ(0.0f, scale_);
38 if (scale_ == 0.0f)
39 scale_ = 1.0f;
image_skia_rep.h 50 float scale() const { return unscaled() ? 1.0f : scale_; }
52 bool unscaled() const { return scale_ == 0.0f; }
66 float scale_; member in class:gfx::ImageSkiaRep
image_skia.cc 47 explicit Matcher(float scale) : scale_(scale) {
51 return rep.scale() == scale_;
55 float scale_; member in class:gfx::internal::__anon569::Matcher
  /external/chromium_org/ui/base/cursor/
cursor_loader.h 19 CursorLoader() : scale_(1.f), rotation_(gfx::Display::ROTATE_0) {}
32 return scale_;
37 scale_ = scale;
66 float scale_; member in class:ui::CursorLoader
  /external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
rate_statistics.h 49 const float scale_; member in class:webrtc::RateStatistics
rate_statistics.cc 23 scale_(scale / (num_buckets_ - 1)) {
58 return static_cast<uint32_t>(accumulated_count_ * scale_ + 0.5f);
  /external/chromium_org/ash/magnifier/
partial_magnification_controller.h 38 float GetScale() const { return scale_; }
81 float scale_; member in class:ash::PartialMagnificationController
magnification_controller.cc 75 virtual float GetScale() const OVERRIDE { return scale_; }
167 float scale_; member in class:ash::MagnificationControllerImpl
183 scale_(kNonMagnifiedScale),
206 (scale_ / scale) * (mouse_in_root.x() - origin_.x()),
208 (scale_ / scale) * (mouse_in_root.y() - origin_.y()));
249 scale == scale_) {
255 scale_ = scale;
261 transform.Scale(scale_, scale_);
313 RedrawDIP(new_origin, scale_, true)
    [all...]
partial_magnification_controller.cc 43 scale_(kNonPartialMagnifiedScale),
58 scale_ = scale;
128 return scale_ >= kMinPartialMagnifiedScaleThreshold;
166 scale_,
  /external/chromium_org/content/renderer/pepper/
ppb_widget_impl.h 52 float scale() const { return scale_; }
56 float scale_; member in class:content::PPB_Widget_Impl
ppb_widget_impl.cc 24 : Resource(ppapi::OBJECT_IS_IMPL, instance), scale_(1.0f) {
59 void PPB_Widget_Impl::SetScale(float scale) { scale_ = scale; }
pepper_graphics_2d_host.cc 190 scale_(1.0f),
216 scale_ = 1.0f;
334 gfx::ToFlooredSize(gfx::ScaleSize(pixel_image_size, scale_));
378 if (scale_ != 1.0f && scale_ > 0.0f) {
379 canvas->scale(scale_, scale_);
380 pixel_origin.set(pixel_origin.x() * (1.0f / scale_),
381 pixel_origin.y() * (1.0f / scale_));
396 void PepperGraphics2DHost::SetScale(float scale) { scale_ = scale;
    [all...]
pepper_graphics_2d_host.h 195 float scale_; member in class:content::PepperGraphics2DHost
  /external/chromium_org/chrome/browser/ui/views/link_disambiguation/
link_disambiguation_popup.cc 40 const float scale_; member in class:LinkDisambiguationPopup::ZoomBubbleView
58 scale_(static_cast<float>(zoomed_skia_image->width()) /
89 (event->location().x() / scale_) + target_rect_.x(),
90 (event->location().y() / scale_) + target_rect_.y());
115 (event->location().x() / scale_) + target_rect_.x(),
116 (event->location().y() / scale_) + target_rect_.y());
119 (event->details().bounding_box().x() / scale_) + target_rect_.x(),
120 (event->details().bounding_box().y() / scale_) + target_rect_.y(),
121 event->details().bounding_box().width() / scale_,
122 event->details().bounding_box().height() / scale_));
    [all...]
  /external/chromium_org/chrome/browser/android/thumbnail/
thumbnail.cc 43 scale_(scale),
59 gfx::ScaleSize(gfx::Size(bitmap.width(), bitmap.height()), 1.f / scale_);
71 scaled_content_size_ = gfx::ScaleSize(content_size, 1.f / scale_);
72 scaled_data_size_ = gfx::ScaleSize(data_size, 1.f / scale_);
thumbnail.h 49 float scale() const { return scale_; }
77 float scale_; member in class:Thumbnail
  /external/chromium_org/ppapi/proxy/
graphics_2d_resource.cc 32 scale_(1.0f) {
107 scale_ = scale;
112 return scale_;
graphics_2d_resource.h 52 float scale_; member in class:ppapi::proxy::Graphics2DResource
  /external/chromium_org/ui/file_manager/gallery/js/image_editor/
viewport.js 53 this.scale_ = 1;
291 return size / this.scale_;
299 return Math.round((x - this.imageBoundsOnScreen_.left) / this.scale_);
307 return Math.round((y - this.imageBoundsOnScreen_.top) / this.scale_);
327 return size * this.scale_;
335 return Math.round(this.imageBoundsOnScreen_.left + x * this.scale_);
343 return Math.round(this.imageBoundsOnScreen_.top + y * this.scale_);
392 this.scale_ = this.getFittingScaleForImageSize_(
399 zoomedWidht = ~~(this.imageBounds_.width * this.scale_ * this.zoom_);
400 zoomedHeight = ~~(this.imageBounds_.height * this.scale_ * this.zoom_)
    [all...]
  /external/chromium_org/ash/touch/
touch_hud_debug.cc 253 scale_(1) {
263 if (scale_ == scale)
265 scale_ = scale;
267 transform.Scale(1. / scale_, 1. / scale_);
271 int scale() const { return scale_; }
326 int scale_; member in class:ash::TouchHudCanvas
  /external/chromium_org/third_party/libwebp/utils/
quant_levels_dec.c 52 int scale_; // normalization factor, in FIX bits precision member in struct:__anon17926
111 const uint32_t scale = p->scale_;
239 p->scale_ = (1 << (FIX + LFIX)) / (R * R); // normalization constant
  /external/webp/src/utils/
quant_levels_dec.c 52 int scale_; // normalization factor, in FIX bits precision member in struct:__anon17064
111 const uint32_t scale = p->scale_;
239 p->scale_ = (1 << (FIX + LFIX)) / (R * R); // normalization constant
  /external/chromium_org/content/renderer/
render_widget.cc 181 float scale() { return scale_; }
210 float scale_; member in class:content::RenderWidget::ScreenMetricsEmulator
230 scale_(1.f) {
286 scale_ = 1.f / ratio;
290 (original_size_.width() - scale_ * applied_widget_rect_.width()) / 2);
292 (original_size_.height() - scale_ * applied_widget_rect_.height()) / 2);
294 scale_ = params_.scale;
320 original_screen_info_.deviceScaleFactor, offset_, scale_);
361 params->x *= scale_;
363 params->y *= scale_;
    [all...]
  /external/chromium_org/content/browser/renderer_host/
render_widget_host_view_android.h 69 float GetScale() { return scale_; }
78 float scale_; member in class:content::ReadbackRequest
  /external/deqp/modules/gles2/functional/
es2fVertexTextureTests.cpp 149 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {}
159 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), bias(bias_), face(face_) {}
    [all...]

Completed in 503 milliseconds

1 2