Home
last modified time | relevance | path

Searched refs:ScaleFactor (Results 1 – 25 of 122) sorted by relevance

12345

/external/chromium_org/ui/base/
Dlayout.cc31 bool ScaleFactorComparator(const ScaleFactor& lhs, const ScaleFactor& rhs){ in ScaleFactorComparator()
35 std::vector<ScaleFactor>* g_supported_scale_factors = NULL;
45 const std::vector<ui::ScaleFactor>& scale_factors) { in SetSupportedScaleFactors()
49 g_supported_scale_factors = new std::vector<ScaleFactor>(scale_factors); in SetSupportedScaleFactors()
56 for (std::vector<ScaleFactor>::const_iterator it = in SetSupportedScaleFactors()
64 const std::vector<ScaleFactor>& GetSupportedScaleFactors() { in GetSupportedScaleFactors()
69 ScaleFactor GetSupportedScaleFactor(float scale) { in GetSupportedScaleFactor()
71 ScaleFactor closest_match = SCALE_FACTOR_100P; in GetSupportedScaleFactor()
74 ScaleFactor scale_factor = (*g_supported_scale_factors)[i]; in GetSupportedScaleFactor()
85 float GetImageScale(ScaleFactor scale_factor) { in GetImageScale()
[all …]
Dlayout.h21 enum ScaleFactor { enum
40 const std::vector<ScaleFactor>& scale_factors);
44 UI_BASE_EXPORT const std::vector<ScaleFactor>& GetSupportedScaleFactors();
49 UI_BASE_EXPORT ScaleFactor GetSupportedScaleFactor(float image_scale);
55 UI_BASE_EXPORT float GetScaleForScaleFactor(ScaleFactor scale_factor);
63 const std::vector<ui::ScaleFactor>& new_scale_factors);
67 std::vector<ui::ScaleFactor>* original_scale_factors_;
Dlayout_unittest.cc29 std::vector<ScaleFactor> supported_factors; in TEST()
44 std::vector<ScaleFactor> supported_factors; in TEST()
46 supported_factors.push_back(static_cast<ScaleFactor>(factor)); in TEST()
Ddefault_theme_provider.cc43 ui::ScaleFactor scale_factor) const { in GetRawData()
/external/chromium_org/ui/base/resource/
Dresource_bundle.h76 ScaleFactor scale_factor) = 0;
98 ScaleFactor scale_factor) = 0;
103 ScaleFactor scale_factor,
168 ScaleFactor scale_factor);
171 void AddDataPackFromFile(base::File file, ScaleFactor scale_factor);
176 ScaleFactor scale_factor);
181 ScaleFactor scale_factor);
227 ScaleFactor scale_factor) const;
238 ScaleFactor scale_factor) const;
267 ScaleFactor GetMaxScaleFactor() const;
[all …]
Dresource_bundle.cc99 ScaleFactor FindClosestScaleFactorUnsafe(float scale) { in FindClosestScaleFactorUnsafe()
101 ScaleFactor closest_match = SCALE_FACTOR_100P; in FindClosestScaleFactorUnsafe()
103 const ScaleFactor scale_factor = static_cast<ScaleFactor>(i); in FindClosestScaleFactorUnsafe()
133 ScaleFactor scale_factor = GetSupportedScaleFactor(scale); in GetImageForScale()
245 ScaleFactor scale_factor) { in AddDataPackFromPath()
250 ScaleFactor scale_factor) { in AddOptionalDataPackFromPath()
255 ScaleFactor scale_factor) { in AddDataPackFromFile()
263 ScaleFactor scale_factor) { in AddDataPackFromFileRegion()
389 ui::ScaleFactor scale_factor_to_load = GetMaxScaleFactor(); in GetImageNamed()
391 ui::ScaleFactor scale_factor_to_load = ui::SCALE_FACTOR_100P; in GetImageNamed()
[all …]
Ddata_pack.h32 DataPack(ui::ScaleFactor scale_factor);
60 virtual ui::ScaleFactor GetScaleFactor() const OVERRIDE;
77 ui::ScaleFactor scale_factor_;
Dresource_bundle_unittest.cc64 const base::FilePath& pack_path, ui::ScaleFactor scale_factor));
73 ui::ScaleFactor scale_factor));
76 ui::ScaleFactor scale_factor));
78 ui::ScaleFactor scale_factor, in GetRawDataResource()
182 ui::ScaleFactor pack_scale_factor = ui::SCALE_FACTOR_200P; in TEST_F()
269 ui::ScaleFactor scale_factor = ui::SCALE_FACTOR_NONE; in TEST_F()
448 std::vector<ScaleFactor> supported_factors; in TEST_F()
492 ui::ScaleFactor scale_factor = GetSupportedScaleFactor(image_rep.scale()); in TEST_F()
504 std::vector<ScaleFactor> supported_factors; in TEST_F()
541 std::vector<ScaleFactor> supported_factors; in TEST_F()
Dresource_handle.h49 virtual ScaleFactor GetScaleFactor() const = 0;
/external/chromium_org/chrome/browser/themes/
Dbrowser_theme_pack.h87 int id, ui::ScaleFactor scale_factor) const OVERRIDE;
103 typedef std::map<ui::ScaleFactor, base::FilePath> ScaleFactorToFileMap;
140 ui::ScaleFactor scale_factor,
200 int GetRawIDByPersistentID(int prs_id, ui::ScaleFactor scale_factor) const;
206 ui::ScaleFactor* scale_factor) const;
255 std::vector<ui::ScaleFactor> scale_factors_;
Dbrowser_theme_pack.cc239 const std::vector<ui::ScaleFactor>& expected) { in InputScalesValid()
255 const std::vector<ui::ScaleFactor>& scale_factors) { in GetScaleFactorsAsString()
449 ui::ScaleFactor source_scale_factor, in CreateLowQualityResizedBitmap()
450 ui::ScaleFactor desired_scale_factor) { in CreateLowQualityResizedBitmap()
501 typedef std::map<ui::ScaleFactor,
510 ui::ScaleFactor scale_factor = ui::GetSupportedScaleFactor(scale); in GetImageForScale()
545 ui::ScaleFactor available_scale_factor = available_png_it->first; in GetImageForScale()
576 typedef std::map<ui::ScaleFactor, SkBitmap> BitmapMap;
887 ui::ScaleFactor scale_factor) const { in GetRawData()
1188 ui::ScaleFactor scale_factor = ui::SCALE_FACTOR_NONE; in ParseImageNamesFromJSON()
[all …]
/external/chromium_org/chrome/browser/thumbnails/
Dsimple_thumbnail_crop.h22 ui::ScaleFactor scale_factor,
47 static gfx::Size GetCopySizeForThumbnail(ui::ScaleFactor scale_factor,
/external/chromium_org/tools/traceline/traceline/
Dassembler.h153 enum ScaleFactor { enum
183 Operand(Register base, Register index, ScaleFactor scale, int disp) { in Operand()
188 Operand(Register index, ScaleFactor scale, int disp) { in Operand()
234 ScaleFactor scale, in Init()
256 ScaleFactor scale, in Init()
284 void set_sib(ScaleFactor scale, Register index, Register base) { in set_sib()
/external/chromium_org/extensions/browser/
Dimage_loader.h53 ui::ScaleFactor scale_factor);
66 ui::ScaleFactor scale_factor;
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp116 bool SimplifyAddress(Address &Addr, MVT VT, int64_t ScaleFactor,
444 int64_t ScaleFactor, bool UseUnscaled) { in SimplifyAddress() argument
483 uint64_t UnscaledOffset = Addr.getOffset() * ScaleFactor; in SimplifyAddress()
525 int64_t ScaleFactor = 0; in EmitLoad() local
535 ScaleFactor = 1; in EmitLoad()
540 ScaleFactor = 2; in EmitLoad()
545 ScaleFactor = 4; in EmitLoad()
550 ScaleFactor = 8; in EmitLoad()
555 ScaleFactor = 4; in EmitLoad()
560 ScaleFactor = 8; in EmitLoad()
[all …]
/external/aac/libAACdec/src/
Dstereo.cpp235 SHORT *ScaleFactor; in CJointStereo_ApplyIS() local
239 ScaleFactor = &pAacDecoderChannelInfo[R]->pDynData->aScaleFactor[group*16]; in CJointStereo_ApplyIS()
256 int bandScale = -(ScaleFactor [band] + 100) ; in CJointStereo_ApplyIS()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab.h159 ui::ScaleFactor scale_factor;
294 ui::ScaleFactor scale_factor);
298 ui::ScaleFactor scale_factor,
/external/chromium_org/chrome/browser/ui/webui/
Ddownloads_ui.h20 ui::ScaleFactor scale_factor);
Dcrashes_ui.h20 ui::ScaleFactor scale_factor);
Dflash_ui.h21 ui::ScaleFactor scale_factor);
Dconflicts_ui.h23 ui::ScaleFactor scale_factor);
Dplugins_ui.h24 ui::ScaleFactor scale_factor);
/external/chromium_org/chrome/browser/ui/webui/extensions/
Dextensions_ui.h24 ui::ScaleFactor scale_factor);
/external/chromium_org/content/test/
Dtest_content_client.h26 ui::ScaleFactor scale_factor) const OVERRIDE;
/external/chromium_org/android_webview/common/
Daw_content_client.h24 ui::ScaleFactor scale_factor) const OVERRIDE;

12345