Home
last modified time | relevance | path

Searched refs:image_index (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/login/users/avatar/
Duser_image_manager_impl.cc148 int ImageIndexToHistogramIndex(int image_index) { in ImageIndexToHistogramIndex() argument
149 switch (image_index) { in ImageIndexToHistogramIndex()
156 return image_index; in ImageIndexToHistogramIndex()
212 const int image_index,
222 void SetToImage(int image_index, const user_manager::UserImage& user_image);
235 int image_index,
295 const int image_index, in LoadImage() argument
300 image_index_ = image_index; in LoadImage()
345 int image_index, in SetToImage() argument
350 DCHECK(image_index == user_manager::User::USER_IMAGE_EXTERNAL || in SetToImage()
[all …]
Duser_image_manager_browsertest.cc138 int image_index, in SetOldUserImageInfo() argument
143 image_properties->Set("index", new base::FundamentalValue(image_index)); in SetOldUserImageInfo()
152 int image_index, in ExpectUserImageInfo() argument
162 EXPECT_EQ(image_index, actual_image_index); in ExpectUserImageInfo()
179 int image_index, in ExpectOldUserImageInfo() argument
182 username, image_index, image_path); in ExpectOldUserImageInfo()
190 int image_index, in ExpectNewUserImageInfo() argument
193 username, image_index, image_path); in ExpectNewUserImageInfo()
392 if (user->image_index() == user_manager::User::USER_IMAGE_INVALID) { in IN_PROC_BROWSER_TEST_F()
426 EXPECT_EQ(user_manager::kFirstDefaultImageIndex, user->image_index()); in IN_PROC_BROWSER_TEST_F()
[all …]
Duser_image_sync_observer.cc153 int local_index = user_->image_index(); in UpdateSyncedImageFromLocal()
169 int local_index = user_->image_index(); in UpdateLocalImageFromSynced()
Duser_image_manager.h48 virtual void SaveUserDefaultImageIndex(int image_index) = 0;
/external/chromium_org/components/user_manager/user_image/
Ddefault_user_images.cc84 int image_index = -1; in IsDefaultImageString() local
86 &image_index)) { in IsDefaultImageString()
87 if (image_index < 0 || image_index >= kDefaultImagesCount) in IsDefaultImageString()
89 *image_id = image_index; in IsDefaultImageString()
/external/chromium_org/components/user_manager/
Duser.cc224 void User::SetImage(const UserImage& user_image, int image_index) { in SetImage() argument
226 image_index_ = image_index; in SetImage()
237 int image_index, in SetStubImage() argument
240 image_index_ = image_index; in SetStubImage()
Duser.h108 int image_index() const { return image_index_; } in image_index() function
184 void SetImage(const UserImage& user_image, int image_index);
192 int image_index,
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
Dchange_picture_options_handler.cc279 previous_image_index_ = user->image_index(); in SendSelectedImage()
352 int image_index = user_manager::User::USER_IMAGE_INVALID; in HandleSelectImage() local
366 user_manager::IsDefaultImageUrl(image_url, &image_index)) { in HandleSelectImage()
368 user_image_manager->SaveUserDefaultImageIndex(image_index); in HandleSelectImage()
372 user_manager::GetDefaultImageHistogramValue(image_index), in HandleSelectImage()
374 VLOG(1) << "Selected default user image: " << image_index; in HandleSelectImage()
Duser_image_source.cc53 user_manager::kDefaultImageResourceIDs[user->image_index()], in GetUserImage()
/external/chromium_org/ash/system/audio/
Dvolume_view.cc58 int image_index = audio_delegate_->IsOutputAudioMuted() ? in Update() local
62 if (image_index != image_index_) { in Update()
63 gfx::Rect region(0, image_index * kVolumeImageHeight, in Update()
68 image_index_ = image_index; in Update()
/external/chromium_org/chrome/browser/extensions/api/autotest_private/
Dautotest_private_api.cc119 switch (user->image_index()) { in RunSync()
129 user_image = base::IntToString(user->image_index()); in RunSync()
/external/chromium_org/chrome/browser/chromeos/login/screens/
Duser_image_screen.cc292 selected_image_ = GetUser()->image_index(); in Show()
336 actor_->SelectImage(GetUser()->image_index()); in Observe()
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_local_account_browsertest.cc1254 EXPECT_EQ(user_manager::User::USER_IMAGE_EXTERNAL, user->image_index()); in IN_PROC_BROWSER_TEST_F()
1263 int image_index; in IN_PROC_BROWSER_TEST_F() local
1265 ASSERT_TRUE(image_properties->GetInteger("index", &image_index)); in IN_PROC_BROWSER_TEST_F()
1267 EXPECT_EQ(user_manager::User::USER_IMAGE_EXTERNAL, image_index); in IN_PROC_BROWSER_TEST_F()