/packages/apps/Contacts/src/com/android/contacts/util/ |
D | MaterialColorMapUtils.java | 41 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/ |
D | MaterialColorMapUtils.java | 82 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/ |
D | EditorIntents.java | 29 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()
|
D | PhotoEditorView.java | 32 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()
|
D | EditorUiUtils.java | 57 import com.android.contacts.util.MaterialColorMapUtils.MaterialPalette; 264 MaterialPalette materialPalette) { in setDefaultPhoto()
|
D | RawContactEditorView.java | 201 private MaterialColorMapUtils.MaterialPalette mMaterialPalette; 441 MaterialColorMapUtils.MaterialPalette materialPalette, ViewIdGenerator viewIdGenerator, in setState()
|
D | ContactEditorFragment.java | 334 protected MaterialColorMapUtils.MaterialPalette mMaterialPalette; 1420 mMaterialPalette = new MaterialColorMapUtils.MaterialPalette( in load()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | InCallUIMaterialColorMapUtils.java | 45 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()
|
D | ThemeColorManager.java | 28 import com.android.contacts.common.util.MaterialColorMapUtils.MaterialPalette; 70 MaterialPalette palette; in updateThemeColors()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | MaterialPalette.java | 19 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/ |
D | ContactEditorSpringBoardActivity.java | 30 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/ |
D | QuickContactActivity.java | 159 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()
|