Home
last modified time | relevance | path

Searched refs:GetScaleFactor (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/ui/display/util/
Ddisplay_util_unittest.cc23 TEST(DisplayUtilTest, GetScaleFactor) { in TEST() argument
25 EXPECT_EQ(1.0f, GetScaleFactor( in TEST()
29 EXPECT_EQ(2.0f, GetScaleFactor( in TEST()
33 EXPECT_EQ(1.0f, GetScaleFactor( in TEST()
37 EXPECT_EQ(2.0f, GetScaleFactor( in TEST()
41 EXPECT_EQ(1.0f, GetScaleFactor( in TEST()
45 EXPECT_EQ(1.0f, GetScaleFactor( in TEST()
49 EXPECT_EQ(1.0f, GetScaleFactor( in TEST()
Ddisplay_util.h20 DISPLAY_UTIL_EXPORT float GetScaleFactor(
Ddisplay_util.cc58 float GetScaleFactor(const gfx::Size& physical_size_in_mm, in GetScaleFactor() function
/external/chromium_org/ui/base/resource/
Dresource_bundle.cc464 if (data_packs_[i]->GetScaleFactor() == scale_factor && in GetRawDataResourceForScale()
470 if ((data_packs_[i]->GetScaleFactor() == ui::SCALE_FACTOR_100P || in GetRawDataResourceForScale()
471 data_packs_[i]->GetScaleFactor() == ui::SCALE_FACTOR_200P || in GetRawDataResourceForScale()
472 data_packs_[i]->GetScaleFactor() == ui::SCALE_FACTOR_NONE) && in GetRawDataResourceForScale()
685 if (GetScaleForScaleFactor(data_pack->GetScaleFactor()) > in AddDataPack()
687 max_scale_factor_ = data_pack->GetScaleFactor(); in AddDataPack()
795 if (data_packs_[i]->GetScaleFactor() == ui::SCALE_FACTOR_NONE && in LoadBitmap()
801 if (data_packs_[i]->GetScaleFactor() == *scale_factor && in LoadBitmap()
Dresource_handle.h49 virtual ScaleFactor GetScaleFactor() const = 0;
Dresource_data_dll_win.h27 virtual ScaleFactor GetScaleFactor() const OVERRIDE;
Dresource_data_dll_win.cc59 ScaleFactor ResourceDataDLL::GetScaleFactor() const { in GetScaleFactor() function in ui::ResourceDataDLL
Ddata_pack.h60 virtual ui::ScaleFactor GetScaleFactor() const OVERRIDE;
Ddata_pack.cc230 ui::ScaleFactor DataPack::GetScaleFactor() const { in GetScaleFactor() function in ui::DataPack
/external/chromium_org/ui/events/gesture_detection/
Dscale_gesture_detector.h102 float GetScaleFactor() const;
Dscale_gesture_detector.cc257 float ScaleGestureDetector::GetScaleFactor() const { in GetScaleFactor() function in ui::ScaleGestureDetector
Dgesture_provider.cc233 float scale = detector.GetScaleFactor(); in OnScale()
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dinternet_options_handler.h118 float GetScaleFactor() const;
Dinternet_options_handler.cc855 float InternetOptionsHandler::GetScaleFactor() const { in GetScaleFactor() function in chromeos::options::InternetOptionsHandler
944 list->Append(BuildNetworkDictionary(network, GetScaleFactor(), GetPrefs())); in GetWiredList()
956 list->Append(BuildNetworkDictionary(*iter, GetScaleFactor(), GetPrefs())); in GetWirelessList()
970 list->Append(BuildNetworkDictionary(*iter, GetScaleFactor(), GetPrefs())); in GetVPNList()