OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:darkTheme
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
MockContactPhotoManager.java
31
public void loadThumbnail(ImageView view, long photoId, boolean
darkTheme
,
33
defaultProvider.applyDefaultImage(view, -1,
darkTheme
);
37
public void loadPhoto(ImageView view, Uri photoUri, int requestedExtent, boolean
darkTheme
,
39
defaultProvider.applyDefaultImage(view, requestedExtent,
darkTheme
);
/packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java
85
public static int getDefaultAvatarResId(Context context, int extent, boolean
darkTheme
) {
95
return getDefaultAvatarResId(hires,
darkTheme
);
98
public static int getDefaultAvatarResId(boolean hires, boolean
darkTheme
) {
99
if (hires &&
darkTheme
) return R.drawable.ic_contact_picture_180_holo_dark;
101
if (
darkTheme
) return R.drawable.ic_contact_picture_holo_dark;
108
* or height). If
darkTheme
is set, the avatar is one that looks better on dark background
110
public abstract void applyDefaultImage(ImageView view, int extent, boolean
darkTheme
);
115
public void applyDefaultImage(ImageView view, int extent, boolean
darkTheme
) {
116
view.setImageResource(getDefaultAvatarResId(view.getContext(), extent,
darkTheme
));
124
public void applyDefaultImage(ImageView view, int extent, boolean
darkTheme
) {
[
all
...]
/packages/apps/Contacts/src/com/android/contacts/util/
ContactBadgeUtil.java
110
public static Bitmap loadDefaultAvatarPhoto(Context context, boolean hires, boolean
darkTheme
) {
112
ContactPhotoManager.getDefaultAvatarResId(hires,
darkTheme
));
Completed in 1327 milliseconds