Home
last modified time | relevance | path

Searched refs:NotificationProgressModel (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DNotificationProgressModelTest.java44 new NotificationProgressModel(Color.TRANSPARENT); in throw_exception_on_transparent_indeterminate_color()
49 new NotificationProgressModel(List.of(), in throw_exception_on_empty_segments()
58 new NotificationProgressModel( in throw_exception_on_negative_progress()
69 final NotificationProgressModel savedModel = new NotificationProgressModel(Color.RED); in save_and_restore_indeterminate_progress_model()
73 final NotificationProgressModel restoredModel = in save_and_restore_indeterminate_progress_model()
74 NotificationProgressModel.fromBundle(bundle); in save_and_restore_indeterminate_progress_model()
95 final NotificationProgressModel savedModel = new NotificationProgressModel(segments, in save_and_restore_determinate_progress_model()
104 final NotificationProgressModel restoredModel = in save_and_restore_determinate_progress_model()
105 NotificationProgressModel.fromBundle(bundle); in save_and_restore_determinate_progress_model()
126 final NotificationProgressModel savedModel = new NotificationProgressModel(segments, in save_and_restore_non_determinate_progress_model_segments_fallback_color_invalid()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DNotificationProgressModel.java46 public final class NotificationProgressModel { class
64 public NotificationProgressModel( in NotificationProgressModel() method in NotificationProgressModel
81 public NotificationProgressModel( in NotificationProgressModel() method in NotificationProgressModel
153 public static NotificationProgressModel fromBundle(@NonNull Bundle bundle) { in fromBundle()
157 return new NotificationProgressModel(indeterminateColor); in fromBundle()
169 return new NotificationProgressModel(segments, points, progress, isStyledByProgress, in fromBundle()
189 final NotificationProgressModel that = (NotificationProgressModel) o; in equals()
DNotificationProgressBar.java76 private NotificationProgressModel mProgressModel;
198 mProgressModel = NotificationProgressModel.fromBundle(bundle); in setProgressModel()
529 == NotificationProgressModel.INVALID_COLOR in updateDrawableParts()
556 == NotificationProgressModel.INVALID_COLOR in updateDrawableParts()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/promoted/shared/model/
DPromotedNotificationContentModel.kt25 import com.android.internal.widget.NotificationProgressModel
95 val newProgress: NotificationProgressModel?,
119 var newProgress: NotificationProgressModel? = null
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/promoted/
DAODPromotedNotification.kt65 import com.android.internal.widget.NotificationProgressModel in <lambda>()
625 private fun NotificationProgressModel.toSkeleton(): NotificationProgressModel { in toSkeleton() method
627 return NotificationProgressModel(/* indeterminateColor= */ SecondaryText.colorInt) in toSkeleton()
630 return NotificationProgressModel( in toSkeleton()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java108 import com.android.internal.widget.NotificationProgressModel;
2698 final NotificationProgressModel progressModel = progressStyle.createProgressModel( in progressStyle_createProgressModel_mergeSegmentsOnOverflow()
2726 final NotificationProgressModel progressModel = progressStyle.createProgressModel( in progressStyle_createProgressModel_useSegmentColorWhenAllMatch()
2756 final NotificationProgressModel progressModel = progressStyle.createProgressModel( in progressStyle_createProgressModel_useDefaultColorWhenAllNotMatch()
/frameworks/base/core/java/android/app/
DNotification.java122 import com.android.internal.widget.NotificationProgressModel;
11921 final NotificationProgressModel model = createProgressModel( in makeExpandedContentView()
12037 public @NonNull NotificationProgressModel createProgressModel(int defaultProgressColor, in createProgressModel()
12039 final NotificationProgressModel model; in createProgressModel()
12048 model = new NotificationProgressModel( in createProgressModel()
12118 segmentsFallbackColor = NotificationProgressModel.INVALID_COLOR; in createProgressModel()
12131 segmentsFallbackColor = allSameColor ? NotificationProgressModel.INVALID_COLOR in createProgressModel()
12136 model = new NotificationProgressModel(segments, points, in createProgressModel()