/external/chromium_org/ui/base/ |
layout.h | 36 enum ScaleFactor { 54 const std::vector<ScaleFactor>& scale_factors); 58 UI_EXPORT const std::vector<ScaleFactor>& GetSupportedScaleFactors(); 61 UI_EXPORT float GetImageScale(ScaleFactor scale_factor); 63 // Returns the supported ScaleFactor which most closely matches |scale|. 64 // Converting from float to ScaleFactor is inefficient and should be done as 66 // TODO(oshima): Make ScaleFactor a class and remove this. 67 UI_EXPORT ScaleFactor GetSupportedScaleFactor(float image_scale); 69 // Returns the ScaleFactor used by |view|. 70 UI_EXPORT ScaleFactor GetScaleFactorForNativeView(gfx::NativeView view) [all...] |
layout.cc | 30 bool ScaleFactorComparator(const ScaleFactor& lhs, const ScaleFactor& rhs){ 34 std::vector<ScaleFactor>* g_supported_scale_factors = NULL; 79 const std::vector<ui::ScaleFactor>& scale_factors) { 83 g_supported_scale_factors = new std::vector<ScaleFactor>(scale_factors); 90 for (std::vector<ScaleFactor>::const_iterator it = 98 const std::vector<ScaleFactor>& GetSupportedScaleFactors() { 103 ScaleFactor GetSupportedScaleFactor(float scale) { 105 ScaleFactor closest_match = SCALE_FACTOR_100P; 108 ScaleFactor scale_factor = (*g_supported_scale_factors)[i] [all...] |
layout_unittest.cc | 28 std::vector<ScaleFactor> supported_factors; 43 std::vector<ScaleFactor> supported_factors; 45 supported_factors.push_back(static_cast<ScaleFactor>(factor));
|
/external/aac/libFDK/src/ |
scale.cpp | 113 * \brief Multiply input vector by \f$ 2^{scalefactor} \f$ 122 INT scalefactor /*!< Scalefactor */ 127 /* Return if scalefactor is Zero */ 128 if (scalefactor==0) return; 130 if(scalefactor > 0){ 131 scalefactor = fixmin_I(scalefactor,(INT)(DFRACT_BITS-1)); 134 *(vector++) <<= scalefactor; 138 *(vector++) <<= scalefactor; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
MouseRelatedEvent.cpp | 51 float scaleFactor = frame->pageZoomFactor(); 52 return LayoutSize(frameView->scrollX() / scaleFactor, frameView->scrollY() / scaleFactor); 72 float scaleFactor = 1 / frame->pageZoomFactor(); 73 if (scaleFactor != 1.0f) { 74 adjustedPageLocation.scale(scaleFactor, scaleFactor); 75 scrollPosition.scale(scaleFactor, scaleFactor); 124 float scaleFactor = pageZoomFactor(this) [all...] |
/external/chromium_org/ui/snapshot/ |
snapshot_mac_unittest.mm | 43 CGFloat scaleFactor = 1.0f; 45 scaleFactor = [window backingScaleFactor]; 46 EXPECT_EQ(400 * scaleFactor, CGImageGetWidth([rep CGImage])); 47 NSColor* color = [rep colorAtX:200 * scaleFactor y:200 * scaleFactor];
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
image_util.js | 25 var scaleFactor = 1; 27 scaleFactor = imageSpec.width / img.width; 31 if (heightScale < scaleFactor) 32 scaleFactor = heightScale; 35 canvas.width = img.width * scaleFactor; 36 canvas.height = img.height * scaleFactor;
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
Mandelbrot.java | 52 float scaleFactor = mScript.get_scaleFactor(); 54 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); 65 float scaleFactor = mScript.get_scaleFactor(); 67 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); 78 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); 79 mScript.set_scaleFactor(scaleFactor);
|
mandelbrot.rs | 23 float scaleFactor = 4.f; 27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
Mandelbrot.java | 46 float scaleFactor = mScript.get_scaleFactor(); 48 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); 59 float scaleFactor = mScript.get_scaleFactor(); 61 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); 72 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); 73 mScript.set_scaleFactor(scaleFactor);
|
mandelbrot.rs | 23 float scaleFactor = 4.f; 27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
Mandelbrot.java | 52 float scaleFactor = mScript.get_scaleFactor(); 54 float lowerBoundX = -2.f + ((progress / scaleFactor) / 50.f); 65 float scaleFactor = mScript.get_scaleFactor(); 67 float lowerBoundY = -2.f + ((progress / scaleFactor) / 50.f); 78 float scaleFactor = 4.f - (3.96f * (progress / 100.f)); 79 mScript.set_scaleFactor(scaleFactor);
|
mandelbrot.rs | 23 float scaleFactor = 4.f; 27 p.x = lowerBoundX + ((float)x / gDimX) * scaleFactor; 28 p.y = lowerBoundY + ((float)y / gDimY) * scaleFactor;
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGTransformDistance.cpp | 85 SVGTransformDistance SVGTransformDistance::scaledDistance(float scaleFactor) const 93 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform()); 95 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFactor)); 98 newTransform.setE(m_transform.e() * scaleFactor); 99 newTransform.setF(m_transform.f() * scaleFactor); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsContext3DImagePacking.cpp | 431 const float scaleFactor = 1.0f / 255.0f; 433 destination[0] = source[0] * scaleFactor; 434 destination[1] = source[1] * scaleFactor; 435 destination[2] = source[2] * scaleFactor; 436 destination[3] = source[3] * scaleFactor; 444 const float scaleFactor = 1.0f / 255.0f; 446 destination[0] = source[2] * scaleFactor; 447 destination[1] = source[1] * scaleFactor; 448 destination[2] = source[0] * scaleFactor; 449 destination[3] = source[3] * scaleFactor; [all...] |
/external/aac/libFDK/include/ |
scale.h | 115 * \brief Multiply input by \f$ 2^{scalefactor} \f$ 123 INT scalefactor /*!< Scalefactor */ 126 if(scalefactor > 0) 127 return (value<<scalefactor); 129 return (value>>(-scalefactor)); 136 * \brief Multiply input by \f$ 2^{scalefactor} \f$ 139 * \return \f$ value * 2^scalefactor \f$ 146 INT scalefactor 149 if(scalefactor > 0) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
HTMLSrcsetParser.h | 45 ImageCandidate(const String& source, unsigned start, unsigned length, float scaleFactor) 47 , m_scaleFactor(scaleFactor) 56 inline float scaleFactor() const
|
/external/chromium_org/chrome/browser/ui/webui/ |
components_ui.h | 26 ui::ScaleFactor scale_factor);
|
conflicts_ui.h | 23 ui::ScaleFactor scale_factor);
|
crashes_ui.h | 20 ui::ScaleFactor scale_factor);
|
downloads_ui.h | 20 ui::ScaleFactor scale_factor);
|
flash_ui.h | 21 ui::ScaleFactor scale_factor);
|
plugins_ui.h | 24 ui::ScaleFactor scale_factor);
|
/external/chromium_org/chrome/browser/ui/webui/extensions/ |
extensions_ui.h | 24 ui::ScaleFactor scale_factor);
|
/external/chromium_org/content/test/ |
test_content_client.h | 26 ui::ScaleFactor scale_factor) const OVERRIDE;
|