/external/chromium_org/ui/gfx/image/ |
H A D | 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;
|
H A D | 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
|
H A D | image_skia.cc | 47 explicit Matcher(float scale) : scale_(scale) { 51 return rep.scale() == scale_; 55 float scale_; member in class:gfx::internal::__anon16864::Matcher
|
/external/chromium_org/ui/base/cursor/ |
H A D | 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-trace/trace-viewer/src/ui/ |
H A D | quad_stack_viewer.js | 25 this.scale_ = 0.25; 38 return this.scale_; 42 this.scale_ = newValue;
|
/external/chromium_org/ash/magnifier/ |
H A D | partial_magnification_controller.h | 38 float GetScale() const { return scale_; } 81 float scale_; member in class:ash::PartialMagnificationController
|
H A D | 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_, tru [all...] |
H A D | partial_magnification_controller.cc | 43 scale_(kNonPartialMagnifiedScale), 58 scale_ = scale; 128 return scale_ >= kMinPartialMagnifiedScaleThreshold; 166 scale_,
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/ |
H A D | rate_statistics.h | 49 const float scale_; member in class:webrtc::RateStatistics
|
H A D | rate_statistics.cc | 23 scale_(scale / (num_buckets_ - 1)) { 58 return static_cast<uint32_t>(accumulated_count_ * scale_ + 0.5f);
|
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
H A D | 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_ * thi [all...] |
/external/chromium_org/chrome/browser/ui/views/link_disambiguation/ |
H A D | 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/ |
H A D | 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_);
|
H A D | thumbnail.h | 49 float scale() const { return scale_; } 77 float scale_; member in class:Thumbnail
|
/external/chromium_org/chrome/browser/resources/net_internals/ |
H A D | timeline_graph_view.js | 89 // pixels represents a point in time |scale_| milliseconds after the 91 // |startTime_| + K * |scale_| to avoid jittering, and the rightmost 94 this.scale_ = DEFAULT_SCALE; 154 // than |scale_|. 155 return Math.floor(timeRange / this.scale_); 199 this.scale_ = DEFAULT_SCALE; 240 var oldScale = this.scale_; 241 this.scale_ *= ratio; 242 if (this.scale_ < TimelineGraphView.MIN_SCALE) 243 this.scale_ [all...] |
/external/chromium_org/content/renderer/pepper/ |
H A D | ppb_widget_impl.cc | 24 : Resource(ppapi::OBJECT_IS_IMPL, instance), scale_(1.0f) { 59 void PPB_Widget_Impl::SetScale(float scale) { scale_ = scale; }
|
H A D | ppb_widget_impl.h | 52 float scale() const { return scale_; } 56 float scale_; member in class:content::PPB_Widget_Impl
|
H A D | 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_ [all...] |
H A D | pepper_graphics_2d_host.h | 195 float scale_; member in class:content::PepperGraphics2DHost
|
/external/chromium_org/content/browser/resources/media/ |
H A D | timeline_graph_view.js | 52 this.scale_ = 1000; 60 this.scale_ = scale; 67 // than this.scale_. 68 return Math.floor(timeRange / this.scale_); 189 var visibleStartTime = this.startTime_ + position * this.scale_; 204 width, height, fontHeight, visibleStartTime, this.scale_); 236 var x = Math.round((time - startTime) / this.scale_); 280 this.scale_ = 0; 321 return dataSeries.getValues(this.startTime_, this.scale_, this.width_); 334 this.scale_ [all...] |
/external/chromium_org/ppapi/proxy/ |
H A D | graphics_2d_resource.cc | 32 scale_(1.0f) { 107 scale_ = scale; 112 return scale_;
|
H A D | graphics_2d_resource.h | 52 float scale_; member in class:ppapi::proxy::Graphics2DResource
|
/external/chromium_org/ash/touch/ |
H A D | 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/ |
H A D | quant_levels_dec.c | 52 int scale_; // normalization factor, in FIX bits precision member in struct:__anon13301 111 const uint32_t scale = p->scale_; 239 p->scale_ = (1 << (FIX + LFIX)) / (R * R); // normalization constant
|
/external/webp/src/utils/ |
H A D | quant_levels_dec.c | 52 int scale_; // normalization factor, in FIX bits precision member in struct:__anon33398 111 const uint32_t scale = p->scale_; 239 p->scale_ = (1 << (FIX + LFIX)) / (R * R); // normalization constant
|