Home
last modified time | relevance | path

Searched refs:user_image (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/components/
Duser_manager.gypi20 'user_manager/user_image/default_user_images.cc',
21 'user_manager/user_image/default_user_images.h',
22 'user_manager/user_image/user_image.cc',
23 'user_manager/user_image/user_image.h',
/external/chromium_org/components/user_manager/
DBUILD.gn18 "user_image/user_image.cc",
19 "user_image/user_image.h",
Duser.cc224 void User::SetImage(const UserImage& user_image, int image_index) { in SetImage() argument
225 user_image_ = user_image; in SetImage()
229 DCHECK(HasDefaultImage() || user_image.has_raw_image()); in SetImage()
Duser.h184 void SetImage(const UserImage& user_image, int image_index);
207 const UserImage& user_image() const { return user_image_; } in user_image() function
/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
Duser_image_manager_impl.cc160 bool SaveImage(const user_manager::UserImage& user_image, in SaveImage() argument
164 if (!user_image.is_safe_format()) { in SaveImage()
165 safe_image = user_manager::UserImage::CreateAndEncode(user_image.image()); in SaveImage()
168 } else if (user_image.has_raw_image()) { in SaveImage()
169 encoded_image = &user_image.raw_image(); in SaveImage()
222 void SetToImage(int image_index, const user_manager::UserImage& user_image);
241 void OnLoadImageDone(bool save, const user_manager::UserImage& user_image);
346 const user_manager::UserImage& user_image) { in SetToImage() argument
354 user_image_ = user_image; in SetToImage()
403 const user_manager::UserImage& user_image) { in OnLoadImageDone() argument
[all …]
Duser_image_loader.cc129 user_manager::UserImage user_image(final_image_skia, in OnImageDecoded() local
131 user_image.set_file_path(file_path); in OnImageDecoded()
133 user_image.MarkAsSafe(); in OnImageDecoded()
135 base::Bind(loaded_cb, user_image)); in OnImageDecoded()
Duser_image_manager.h52 virtual void SaveUserImage(const user_manager::UserImage& user_image) = 0;
Duser_image_loader.h34 typedef base::Callback<void(const user_manager::UserImage& user_image)>
Duser_image_manager_impl.h55 const user_manager::UserImage& user_image) OVERRIDE;
Duser_image_manager_browsertest.cc751 const gfx::ImageSkia& user_image = in IN_PROC_BROWSER_TEST_F() local
760 EXPECT_TRUE(test::AreImagesEqual(user_image, user->GetImage())); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/ash/test/
Dtest_session_state_delegate.cc37 void SetUserImage(const gfx::ImageSkia& user_image) { in SetUserImage() argument
38 user_image_ = user_image; in SetUserImage()
192 const gfx::ImageSkia& user_image) { in SetUserImage() argument
193 user_list_[active_user_index_]->SetUserImage(user_image); in SetUserImage()
Dtest_session_state_delegate.h84 void SetUserImage(const gfx::ImageSkia& user_image);
/external/chromium_org/chrome/browser/extensions/api/autotest_private/
Dautotest_private_api.cc118 std::string user_image; in RunSync() local
121 user_image = "file"; in RunSync()
125 user_image = "profile"; in RunSync()
129 user_image = base::IntToString(user->image_index()); in RunSync()
132 result->SetString("userImage", user_image); in RunSync()
/external/chromium_org/ash/frame/
Dframe_util.cc24 gfx::ImageSkia user_image = Shell::GetInstance() in GetAvatarImageForContext() local
29 user_image, skia::ImageOperations::RESIZE_BEST, holder->size()); in GetAvatarImageForContext()
Dcustom_frame_view_ash_unittest.cc198 const gfx::ImageSkia user_image = in TEST_F() local
201 GetTestSessionStateDelegate()->SetUserImage(user_image); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/users/wallpaper/
Dwallpaper_manager.h407 const user_manager::UserImage& user_image);
478 const user_manager::UserImage& user_image);
527 const user_manager::UserImage& user_image);
547 const user_manager::UserImage& user_image);
Dwallpaper_manager.cc830 const user_manager::UserImage& user_image) { in SetPolicyControlledWallpaper() argument
844 user_image.image(), in SetPolicyControlledWallpaper()
852 user_image.image(), in SetPolicyControlledWallpaper()
1581 const user_manager::UserImage& user_image) { in OnWallpaperDecoded() argument
1587 if (user_image.image().isNull()) { in OnWallpaperDecoded()
1599 wallpaper_cache_[user_id] = user_image.image(); in OnWallpaperDecoded()
1604 ->SetWallpaperImage(user_image.image(), layout); in OnWallpaperDecoded()
1869 const user_manager::UserImage& user_image) { in OnDefaultWallpaperDecoded() argument
1870 result_out->reset(new user_manager::UserImage(user_image)); in OnDefaultWallpaperDecoded()
1872 user_image.image(), layout); in OnDefaultWallpaperDecoded()