Home
last modified time | relevance | path

Searched refs:MaterialPalette (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
DMaterialColorMapUtils.java41 public static class MaterialPalette implements Parcelable { class in MaterialColorMapUtils
42 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() method in MaterialColorMapUtils.MaterialPalette
60 MaterialPalette other = (MaterialPalette) obj; in equals()
90 private MaterialPalette(Parcel in) { in MaterialPalette() method in MaterialColorMapUtils.MaterialPalette
95 public static final Creator<MaterialPalette> CREATOR = new Creator<MaterialPalette>() {
97 public MaterialPalette createFromParcel(Parcel in) {
98 return new MaterialPalette(in);
102 public MaterialPalette[] newArray(int size) {
103 return new MaterialPalette[size];
112 public MaterialPalette calculatePrimaryAndSecondaryColor(int color) { in calculatePrimaryAndSecondaryColor()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/util/
DMaterialColorMapUtils.java82 public MaterialPalette calculatePrimaryAndSecondaryColor(int color) { in calculatePrimaryAndSecondaryColor()
102 return new MaterialPalette( in calculatePrimaryAndSecondaryColor()
106 public static class MaterialPalette implements Parcelable { class in MaterialColorMapUtils
108 public static final Creator<MaterialPalette> CREATOR =
109 new Creator<MaterialPalette>() {
111 public MaterialPalette createFromParcel(Parcel in) {
112 return new MaterialPalette(in);
116 public MaterialPalette[] newArray(int size) {
117 return new MaterialPalette[size];
123 public MaterialPalette(int primaryColor, int secondaryColor) { in MaterialPalette() method in MaterialColorMapUtils.MaterialPalette
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorIntents.java29 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette;
46 MaterialPalette materialPalette, long photoId) { in createEditContactIntent()
55 MaterialPalette materialPalette) { in createViewLinkedContactsIntent()
67 Uri uri, long rawContactId, MaterialPalette materialPalette) { in createEditContactIntentForRawContact()
111 private static void putMaterialPalette(Intent intent, MaterialPalette materialPalette) { in putMaterialPalette()
DPhotoEditorView.java32 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette;
62 private MaterialPalette mMaterialPalette;
115 public void setPalette(MaterialPalette palette) { in setPalette()
185 private void setDefaultPhoto(MaterialPalette materialPalette) { in setDefaultPhoto()
DEditorUiUtils.java57 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette;
264 MaterialPalette materialPalette) { in setDefaultPhoto()
DRawContactEditorView.java201 private MaterialColorMapUtils.MaterialPalette mMaterialPalette;
441 MaterialColorMapUtils.MaterialPalette materialPalette, ViewIdGenerator viewIdGenerator, in setState()
DContactEditorFragment.java334 protected MaterialColorMapUtils.MaterialPalette mMaterialPalette;
1420 mMaterialPalette = new MaterialColorMapUtils.MaterialPalette( in load()
/packages/apps/Dialer/java/com/android/incallui/
DInCallUIMaterialColorMapUtils.java45 public static MaterialPalette getDefaultPrimaryAndSecondaryColors(Context context) { in getDefaultPrimaryAndSecondaryColors()
48 return new MaterialPalette(primaryColor, secondaryColor); in getDefaultPrimaryAndSecondaryColors()
57 public MaterialPalette calculatePrimaryAndSecondaryColor(int color) { in calculatePrimaryAndSecondaryColor()
64 return new MaterialPalette(primaryColors.getColor(i, 0), secondaryColors.getColor(i, 0)); in calculatePrimaryAndSecondaryColor()
DThemeColorManager.java28 import com.android.contacts.common.util.MaterialColorMapUtils.MaterialPalette;
70 MaterialPalette palette; in updateThemeColors()
/packages/apps/Messaging/src/com/android/messaging/util/
DMaterialPalette.java19 public class MaterialPalette{ class
23 public MaterialPalette(final int primaryColor, final int secondaryColor) { in MaterialPalette() method in MaterialPalette
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorSpringBoardActivity.java30 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette;
50 private MaterialPalette mMaterialPalette;
103 mMaterialPalette = new MaterialPalette(intent.getIntExtra(primary, -1), in onCreate()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java159 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette;
1970 new AsyncTask<Void, Void, MaterialPalette>() { in extractAndApplyTintFromPhotoViewAsynchronously()
1972 protected MaterialPalette doInBackground(Void... params) { in extractAndApplyTintFromPhotoViewAsynchronously()
2001 protected void onPostExecute(MaterialPalette palette) { in extractAndApplyTintFromPhotoViewAsynchronously()
2021 private void setThemeColor(MaterialPalette palette) { in setThemeColor()
2183 ? new MaterialPalette(mColorFilterColor, mStatusBarColor) : null, in getEditContactIntent()
2504 ? new MaterialPalette(mColorFilterColor, mStatusBarColor) in showRawContactPickerDialog()