/external/chromium_org/chrome/browser/chromeos/login/users/avatar/ |
D | user_image_manager_impl.cc | 148 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 …]
|
D | user_image_manager_browsertest.cc | 138 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 …]
|
D | user_image_sync_observer.cc | 153 int local_index = user_->image_index(); in UpdateSyncedImageFromLocal() 169 int local_index = user_->image_index(); in UpdateLocalImageFromSynced()
|
D | user_image_manager.h | 48 virtual void SaveUserDefaultImageIndex(int image_index) = 0;
|
/external/chromium_org/components/user_manager/user_image/ |
D | default_user_images.cc | 84 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/ |
D | user.cc | 224 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()
|
D | user.h | 108 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/ |
D | change_picture_options_handler.cc | 279 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()
|
D | user_image_source.cc | 53 user_manager::kDefaultImageResourceIDs[user->image_index()], in GetUserImage()
|
/external/chromium_org/ash/system/audio/ |
D | volume_view.cc | 58 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/ |
D | autotest_private_api.cc | 119 switch (user->image_index()) { in RunSync() 129 user_image = base::IntToString(user->image_index()); in RunSync()
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
D | user_image_screen.cc | 292 selected_image_ = GetUser()->image_index(); in Show() 336 actor_->SelectImage(GetUser()->image_index()); in Observe()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | device_local_account_browsertest.cc | 1254 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()
|