OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:image_index
(Results
1 - 8
of
8
) sorted by null
/external/chromium/chrome/browser/chromeos/login/
default_user_images.cc
50
int
image_index
= -1;
local
53
&
image_index
)) {
54
if (
image_index
< 0 ||
image_index
>= kDefaultImagesCount)
56
*image_id =
image_index
;
user_image_view.cc
98
int
image_index
= user_manager->GetUserDefaultImageIndex(logged_in_user);
local
100
default_images_view_->SetDefaultImageIndex(
image_index
);
227
void UserImageView::OnImageSelected(int
image_index
) {
229
if (
image_index
< 0 ||
image_index
>= kDefaultImagesCount)
236
kDefaultImageResources[
image_index
]));
default_images_view.cc
112
void DefaultImagesView::SetDefaultImageIndex(int
image_index
) {
113
selected_image_index_ =
image_index
+ kNonDefaultImageButtonsCount;
115
delegate_->OnImageSelected(
image_index
% kDefaultImagesCount);
145
int
image_index
= sender->GetID() - kImageStartId;
local
147
if (
image_index
< 0 ||
image_index
>= images_count) {
151
SetDefaultImageIndex(
image_index
);
/external/chromium_org/chrome/browser/chromeos/login/
default_user_images.cc
92
int
image_index
= -1;
local
95
&
image_index
)) {
96
if (
image_index
< 0 ||
image_index
>= kDefaultImagesCount)
98
*image_id =
image_index
;
user.h
80
// Returned as |
image_index
| when user-selected file or photo is used as
83
// Returned as |
image_index
| when user profile image is used as user image.
115
int
image_index
() const { return image_index_; }
function in class:chromeos::User
180
void SetImage(const UserImage& user_image, int
image_index
);
184
// Sets a stub image until the next |SetImage| call. |
image_index
| may be
187
void SetStubImage(int
image_index
, bool is_loading);
user_image_manager_impl.cc
152
// Converts |
image_index
| to UMA histogram value.
153
int ImageIndexToHistogramIndex(int
image_index
) {
154
switch (
image_index
) {
161
return
image_index
;
219
int
image_index
= User::kInvalidImageIndex;
local
220
image_properties->GetInteger(kImageIndexNodeName, &
image_index
);
222
if (
image_index
>= 0 &&
image_index
< kDefaultImagesCount) {
223
user->SetImage(UserImage(GetDefaultImage(
image_index
)),
224
image_index
);
[
all
...]
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
change_picture_options_handler.cc
229
previous_image_index_ = user->
image_index
();
302
int
image_index
= User::kInvalidImageIndex;
local
323
IsDefaultImageUrl(image_url, &
image_index
)) {
325
user_image_manager->SaveUserDefaultImageIndex(user->email(),
image_index
);
328
GetDefaultImageHistogramValue(
image_index
),
330
VLOG(1) << "Selected default user image: " <<
image_index
;
/external/chromium_org/ash/system/chromeos/audio/
tray_audio.cc
101
int
image_index
= IsAudioMuted() ?
local
105
if (
image_index
!= image_index_) {
106
gfx::Rect region(0,
image_index
* kVolumeImageHeight,
111
image_index_ =
image_index
;
Completed in 4048 milliseconds