Searched defs:scale_factor (Results 1 - 25 of 131) sorted by relevance

123456

/external/chromium_org/cc/test/
H A Dpixel_test_software_output_device.cc10 float scale_factor) {
14 SoftwareOutputDevice::Resize(expanded_size, scale_factor);
9 Resize(const gfx::Size& pixel_size, float scale_factor) argument
H A Dpixel_test_output_surface.cc21 float scale_factor) {
24 OutputSurface::Reshape(expanded_size, scale_factor);
20 Reshape(const gfx::Size& size, float scale_factor) argument
/external/chromium_org/chrome/renderer/extensions/
H A Dnotifications_native_handler.cc30 float scale_factor = local
34 dict->SetDouble("scaleFactor", scale_factor);
/external/chromium_org/content/common/input/
H A Dsynthetic_pinch_gesture_params.h24 float scale_factor; member in struct:content::SyntheticPinchGestureParams
/external/chromium_org/chrome/browser/ui/webui/
H A Dfileicon_source.h42 float scale_factor,
56 float scale_factor; member in struct:FileIconSource::IconRequestDetails
H A Ddownloads_ui.cc122 ui::ScaleFactor scale_factor) {
124 LoadDataResourceBytesForScale(IDR_DOWNLOADS_FAVICON, scale_factor);
121 GetFaviconResourceBytes( ui::ScaleFactor scale_factor) argument
H A Dbookmarks_ui.cc64 ui::ScaleFactor scale_factor) {
66 LoadDataResourceBytesForScale(IDR_BOOKMARKS_FAVICON, scale_factor);
63 GetFaviconResourceBytes( ui::ScaleFactor scale_factor) argument
H A Dfileicon_source_unittest.cc25 float scale_factor,
51 float scale_factor; member in struct:__anon5476::FetchFileIconExpectation
119 kBasicExpectations[i].scale_factor,
H A Dapp_launcher_page_ui.cc73 ui::ScaleFactor scale_factor) {
76 scale_factor);
72 GetFaviconResourceBytes( ui::ScaleFactor scale_factor) argument
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
H A Denergy.c20 int32_t WebRtcSpl_Energy(int16_t* vector, int vector_length, int* scale_factor) argument
33 *scale_factor = scaling;
/external/chromium_org/ui/app_list/views/
H A Dcached_label.cc23 float scale_factor = local
25 gfx::Canvas canvas(size(), scale_factor, is_opaque); local
/external/webrtc/src/common_audio/signal_processing/
H A Denergy.c20 WebRtc_Word32 WebRtcSpl_Energy(WebRtc_Word16* vector, int vector_length, int* scale_factor) argument
33 *scale_factor = scaling;
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
H A Ddequant.c42 dequant = 2^(scale_factor+1) * ((raw * 2.0 + 1.0) / ((2^bits) - 1) - 1)
90 turn 2^31 into 2^(scale_factor+1). Since we're aiming for Q16.15 format,
91 this is achieved by shifting right by (15-scale_factor):
93 (2^31 * x) >> (15-scale_factor) =~ 2^(31-15+scale_factor) * x = 2^15 * 2^(1+scale_factor) * x
125 INLINE float dequant_float(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
127 float result = (1 << (scale_factor+1)) * ((raw * 2.0f + 1.0f) / ((1 << bits) - 1.0f) - 1.0f);
144 INLINE OI_INT32 OI_SBC_Dequant(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
149 OI_ASSERT(scale_factor <
183 OI_SBC_Dequant_Unscaled(OI_UINT32 raw, OI_UINT scale_factor, OI_UINT bits) argument
[all...]
/external/chromium_org/content/browser/compositor/
H A Dsoftware_output_device_ozone.cc31 float scale_factor) {
32 scale_factor_ = scale_factor;
30 Resize(const gfx::Size& viewport_pixel_size, float scale_factor) argument
H A Dgpu_surfaceless_browser_compositor_output_surface.cc72 float scale_factor) {
73 GpuBrowserCompositorOutputSurface::Reshape(size, scale_factor);
75 output_surface_->Reshape(SurfaceSize(), scale_factor); local
70 Reshape( const gfx::Size& size, float scale_factor) argument
/external/chromium_org/content/browser/renderer_host/
H A Ddip_util.cc40 gfx::Size ConvertSizeToDIP(float scale_factor, argument
43 gfx::ScaleSize(size_in_pixel, 1.0f / scale_factor));
46 gfx::Rect ConvertRectToDIP(float scale_factor, argument
49 gfx::ScaleRect(rect_in_pixel, 1.0f / scale_factor));
52 gfx::Size ConvertSizeToPixel(float scale_factor, argument
54 return gfx::ToFlooredSize(gfx::ScaleSize(size_in_dip, scale_factor));
57 gfx::Rect ConvertRectToPixel(float scale_factor, argument
60 gfx::ScaleRect(rect_in_dip, scale_factor));
/external/chromium_org/chrome/browser/chromeos/login/
H A Dhelper.cc36 float scale_factor = gfx::Display::GetForcedDeviceScaleFactor(); local
37 if (scale_factor > 1.0f)
38 return static_cast<int>(scale_factor * kBaseUserImageSize);
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dextensions_ui.cc98 ui::ScaleFactor scale_factor) {
100 return rb.LoadDataResourceBytesForScale(IDR_EXTENSIONS_FAVICON, scale_factor);
97 GetFaviconResourceBytes( ui::ScaleFactor scale_factor) argument
/external/chromium_org/content/browser/web_contents/aura/
H A Dshadow_layer_delegate.cc58 void ShadowLayerDelegate::OnDeviceScaleFactorChanged(float scale_factor) { argument
/external/chromium_org/extensions/browser/
H A Dimage_loader.h53 ui::ScaleFactor scale_factor);
65 // |scale_factor| is used to construct the loaded gfx::ImageSkia.
66 ui::ScaleFactor scale_factor; member in struct:extensions::ImageLoader::ImageRepresentation
/external/chromium_org/v8/src/ic/x64/
H A Dstub-cache-x64.cc29 ScaleFactor scale_factor = kPointerSize == kInt64Size ? times_2 : times_1; local
47 __ cmpl(name, Operand(kScratchRegister, offset, scale_factor, 0));
53 Operand(kScratchRegister, offset, scale_factor, kPointerSize * 2));
59 __ movp(kScratchRegister, Operand(kScratchRegister, offset, scale_factor, 0));
/external/ceres-solver/internal/ceres/
H A Dautodiff_local_parameterization_test.cc75 ScaledPlus(const double &scale_factor) argument
76 : scale_factor_(scale_factor)
/external/chromium_org/android_webview/renderer/
H A Dprint_web_view_helper_linux.cc158 double scale_factor = 1.0f; local
160 ignore_css_margins_, &scale_factor,
171 scale_factor);
187 scale_factor / 1.25,
192 scale_factor, canvas.get());
/external/chromium_org/ash/rotator/
H A Dscreen_rotation.cc91 float scale_factor = 0.9f; local
93 new ui::InterpolatedScale(1.0f, scale_factor, 0.0f, 0.5f));
96 new ui::InterpolatedScale(1.0f, 1.0f / scale_factor, 0.5f, 1.0f));
/external/chromium_org/cc/output/
H A Dsoftware_output_device.cc20 float scale_factor) {
21 scale_factor_ = scale_factor;
19 Resize(const gfx::Size& viewport_pixel_size, float scale_factor) argument

Completed in 556 milliseconds

123456