Home
last modified time | relevance | path

Searched refs:wallpaper (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/ash/desktop_background/
Ddesktop_background_view.cc97 gfx::ImageSkia wallpaper = controller->GetWallpaper(); in OnPaint() local
113 0, 0, wallpaper.width() * scaling, wallpaper.height() * scaling); in OnPaint()
121 static_cast<double>(wallpaper.width()); in OnPaint()
123 static_cast<double>(wallpaper.height()); in OnPaint()
129 wallpaper.height()); in OnPaint()
131 cropped_size = gfx::Size(wallpaper.width(), in OnPaint()
136 0, 0, wallpaper.width(), wallpaper.height()); in OnPaint()
138 canvas->DrawImageInt(wallpaper, in OnPaint()
144 canvas->TileImageInt(wallpaper, 0, 0, width(), height()); in OnPaint()
147 canvas->DrawImageInt(wallpaper, 0, 0, wallpaper.width(), in OnPaint()
[all …]
/external/chromium_org/chrome/browser/chromeos/login/
Dwallpaper_manager_browsertest.cc178 gfx::ImageSkia wallpaper = controller_->GetWallpaper(); in IN_PROC_BROWSER_TEST_F() local
182 EXPECT_EQ(kSmallWallpaperWidth, wallpaper.width()); in IN_PROC_BROWSER_TEST_F()
183 EXPECT_EQ(kSmallWallpaperHeight, wallpaper.height()); in IN_PROC_BROWSER_TEST_F()
189 EXPECT_EQ(kSmallWallpaperWidth, wallpaper.width()); in IN_PROC_BROWSER_TEST_F()
190 EXPECT_EQ(kSmallWallpaperHeight, wallpaper.height()); in IN_PROC_BROWSER_TEST_F()
198 wallpaper = controller_->GetWallpaper(); in IN_PROC_BROWSER_TEST_F()
201 EXPECT_EQ(kLargeWallpaperWidth, wallpaper.width()); in IN_PROC_BROWSER_TEST_F()
202 EXPECT_EQ(kLargeWallpaperHeight, wallpaper.height()); in IN_PROC_BROWSER_TEST_F()
210 wallpaper = controller_->GetWallpaper(); in IN_PROC_BROWSER_TEST_F()
213 EXPECT_EQ(kLargeWallpaperWidth, wallpaper.width()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dwallpaper_manager.cc222 gfx::ImageSkia* wallpaper) { in GetWallpaperFromCache() argument
226 *wallpaper = (*it).second; in GetWallpaperFromCache()
343 const UserImage& wallpaper, in ResizeWallpaper() argument
350 int width = wallpaper.image().width(); in ResizeWallpaper()
351 int height = wallpaper.image().height(); in ResizeWallpaper()
381 wallpaper.image(), in ResizeWallpaper()
397 void WallpaperManager::ResizeAndSaveWallpaper(const UserImage& wallpaper, in ResizeAndSaveWallpaper() argument
409 if (ResizeWallpaper(wallpaper, layout, preferred_width, preferred_height, in ResizeAndSaveWallpaper()
422 const UserImage& wallpaper) { in SetCustomWallpaper() argument
430 if (wallpaper.image().isNull()) { in SetCustomWallpaper()
[all …]
Dwallpaper_manager.h124 gfx::ImageSkia* wallpaper);
147 bool ResizeWallpaper(const UserImage& wallpaper,
156 void ResizeAndSaveWallpaper(const UserImage& wallpaper,
169 const UserImage& wallpaper);
191 void SetWallpaperFromImageSkia(const gfx::ImageSkia& wallpaper,
290 const UserImage& wallpaper);
309 const UserImage& wallpaper);
/external/chromium_org/chrome/browser/chromeos/extensions/
Dwallpaper_api.cc29 namespace set_wallpaper = extensions::api::wallpaper::SetWallpaper;
117 const gfx::ImageSkia& wallpaper) { in OnWallpaperDecoded() argument
123 chromeos::UserImage image(wallpaper, raw_image); in OnWallpaperDecoded()
146 wallpaper.EnsureRepsForSupportedScales(); in OnWallpaperDecoded()
147 scoped_ptr<gfx::ImageSkia> deep_copy(wallpaper.DeepCopy()); in OnWallpaperDecoded()
163 chromeos::UserImage wallpaper(*image.get()); in GenerateThumbnail() local
169 wallpaper, in GenerateThumbnail()
Dwallpaper_private_api.cc354 const gfx::ImageSkia& wallpaper) { in OnWallpaperDecoded() argument
363 wallpaper_manager->SetWallpaperFromImageSkia(wallpaper, layout); in OnWallpaperDecoded()
397 StartDecode(params->wallpaper); in RunImpl()
403 const gfx::ImageSkia& wallpaper) { in OnWallpaperDecoded() argument
404 wallpaper_ = wallpaper; in OnWallpaperDecoded()
423 if (SaveData(chrome::DIR_CHROMEOS_WALLPAPERS, file_name, params->wallpaper)) { in SaveToFile()
432 chromeos::UserImage wallpaper(wallpaper_); in SaveToFile() local
443 wallpaper, in SaveToFile()
459 scoped_ptr<gfx::ImageSkia> wallpaper) { in SetDecodedWallpaper() argument
466 wallpaper_manager->SetWallpaperFromImageSkia(*wallpaper.get(), layout); in SetDecodedWallpaper()
[all …]
Dwallpaper_private_api.h45 virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE;
77 virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE;
83 void SetDecodedWallpaper(scoped_ptr<gfx::ImageSkia> wallpaper);
129 virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE;
Dwallpaper_api.h35 virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) OVERRIDE;
49 scoped_ptr<extensions::api::wallpaper::SetWallpaper::Params> params_;
Dwallpaper_function_base.h41 virtual void OnWallpaperDecoded(const gfx::ImageSkia& wallpaper) = 0;
DOWNERS18 # bshe for wallpaper related files
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/css/
Dwallpaper_manager.css204 #wallpaper-attribute {
222 #online-wallpaper-attribute {
300 /* Custom wallpaper thumbnail container. */
302 content: url('../images/ui/add-wallpaper-thumbnail.png');
306 content: url('../images/ui/add-wallpaper-thumbnail-hover.png');
309 #wallpaper-selection-container #content div {
313 #wallpaper-selection-container #warning span {
317 #wallpaper-selection-container select {
321 #wallpaper-selection-container input[type='file']::-webkit-file-upload-button {
325 #wallpaper-selection-container .remember-icon {
/external/chromium_org/ash/test/
Dtest_user_wallpaper_delegate.h20 void set_custom_wallpaper(const gfx::ImageSkia& wallpaper) { in set_custom_wallpaper() argument
21 custom_wallpaper_ = wallpaper; in set_custom_wallpaper()
/external/chromium_org/chrome/browser/ui/ash/
Duser_wallpaper_delegate_win.cc50 gfx::ImageSkia wallpaper = gfx::ImageSkia::CreateFrom1xBitmap(bitmap); in UpdateWallpaper() local
52 SetCustomWallpaper(wallpaper, ash::WALLPAPER_LAYOUT_TILE); in UpdateWallpaper()
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/js/
Devent_page.js146 var wallpaper = filtered[index];
147 var wallpaperURL = wallpaper.base_url + Constants.HighResolutionSuffix;
154 WallpaperUtil.setOnlineWallpaper(wallpaperURL, wallpaper.default_layout,
Dwallpaper_manager.js860 WallpaperManager.prototype.setCustomWallpaper = function(wallpaper, argument
881 chrome.wallpaperPrivate.setCustomWallpaper(wallpaper, layout,
/external/chromium_org/chrome/browser/resources/chromeos/wallpaper_manager/
Dmanifest.json5 // Updates version to 0.2 for v2 version wallpaper picker. Otherwise the event
/external/robolectric/src/test/java/com/xtremelabs/robolectric/matchers/
DStartedServiceMatcherTest.java6 import android.service.wallpaper.WallpaperService;
/external/chromium_org/chrome/common/extensions/api/
Dapi.gyp163 'wallpaper.json',
/external/sepolicy/
Dfile.te68 # Type for wallpaper file.
Dfile_contexts191 /data/data/com.android.settings/files/wallpaper u:object_r:wallpaper_file:s0
193 /data/system/users/[0-9]+/wallpaper u:object_r:wallpaper_file:s0
Dapp.te47 # Read/write wallpaper file (opened by system).
/external/chromium_org/third_party/WebKit/PerformanceTests/Parser/resources/
Dfinal-url-en25284 http://www.arkansas.com/interactive-fun/wallpaper/default.asp
79066 http://www.wallpaper.net.au/links.php