Searched refs:image_index (Results 1 – 5 of 5) sorted by relevance
50 int image_index = -1; in IsDefaultImageString() local53 &image_index)) { in IsDefaultImageString()54 if (image_index < 0 || image_index >= kDefaultImagesCount) in IsDefaultImageString()56 *image_id = image_index; in IsDefaultImageString()
112 void DefaultImagesView::SetDefaultImageIndex(int image_index) { in SetDefaultImageIndex() argument113 selected_image_index_ = image_index + kNonDefaultImageButtonsCount; in SetDefaultImageIndex()115 delegate_->OnImageSelected(image_index % kDefaultImagesCount); in SetDefaultImageIndex()145 int image_index = sender->GetID() - kImageStartId; in ButtonPressed() local147 if (image_index < 0 || image_index >= images_count) { in ButtonPressed()151 SetDefaultImageIndex(image_index); in ButtonPressed()
98 int image_index = user_manager->GetUserDefaultImageIndex(logged_in_user); in Init() local100 default_images_view_->SetDefaultImageIndex(image_index); in Init()227 void UserImageView::OnImageSelected(int image_index) { in OnImageSelected() argument229 if (image_index < 0 || image_index >= kDefaultImagesCount) in OnImageSelected()236 kDefaultImageResources[image_index])); in OnImageSelected()
32 virtual void OnImageSelected(int image_index) = 0;
82 virtual void OnImageSelected(int image_index);