Home
last modified time | relevance | path

Searched refs:PeopleSpaceTile (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/people/
DPeopleSpaceTileTest.java19 import static android.app.people.PeopleSpaceTile.SHOW_CONVERSATIONS;
20 import static android.app.people.PeopleSpaceTile.SHOW_IMPORTANT_CONVERSATIONS;
65 private final Icon mIcon = PeopleSpaceTile.convertDrawableToIcon(mDrawable);
79 PeopleSpaceTile tile = new PeopleSpaceTile.Builder( in testId()
83 tile = new PeopleSpaceTile in testId()
89 tile = new PeopleSpaceTile.Builder("12", null, null, null).build(); in testId()
95 PeopleSpaceTile tile = new PeopleSpaceTile.Builder( in testUserName()
99 tile = new PeopleSpaceTile in testUserName()
105 tile = new PeopleSpaceTile.Builder(null, "Name 2", null, null).build(); in testUserName()
111 PeopleSpaceTile tile = new PeopleSpaceTile.Builder( in testUserIcon()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/
DPeopleSpaceUtilsTest.java38 import android.app.people.PeopleSpaceTile;
112 private static final PeopleSpaceTile PERSON_TILE =
113 new PeopleSpaceTile
244 PeopleSpaceTile tile = in testAugmentTileFromNotification()
245 new PeopleSpaceTile in testAugmentTileFromNotification()
251 PeopleSpaceTile actual = PeopleSpaceUtils in testAugmentTileFromNotification()
284 PeopleSpaceTile tile = in testAugmentTileFromNotificationGroupWithSender()
285 new PeopleSpaceTile in testAugmentTileFromNotificationGroupWithSender()
291 PeopleSpaceTile actual = PeopleSpaceUtils in testAugmentTileFromNotificationGroupWithSender()
317 PeopleSpaceTile tile = in testAugmentTileFromNotificationGroupWithImageUri()
[all …]
DPeopleTileViewHelperTest.java25 import static android.app.people.PeopleSpaceTile.BLOCK_CONVERSATIONS;
26 import static android.app.people.PeopleSpaceTile.SHOW_CONTACTS;
27 import static android.app.people.PeopleSpaceTile.SHOW_IMPORTANT_CONVERSATIONS;
28 import static android.app.people.PeopleSpaceTile.SHOW_STARRED_CONTACTS;
45 import android.app.people.PeopleSpaceTile;
98 private static final PeopleSpaceTile PERSON_TILE_WITHOUT_NOTIFICATION =
99 new PeopleSpaceTile
104 private static final PeopleSpaceTile PERSON_TILE =
105 new PeopleSpaceTile
113 private static final PeopleSpaceTile PERSON_TILE_WITH_SENDER =
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java31 import android.app.people.PeopleSpaceTile;
206 public static PeopleSpaceTile removeNotificationFields(PeopleSpaceTile tile) { in removeNotificationFields()
210 PeopleSpaceTile.Builder updatedTile = tile in removeNotificationFields()
234 public static PeopleSpaceTile augmentTileFromNotification(Context context, PeopleSpaceTile tile, in augmentTileFromNotification()
244 PeopleSpaceTile.Builder updatedTile = tile.toBuilder(); in augmentTileFromNotification()
297 public static List<PeopleSpaceTile> getSortedTiles(IPeopleManager peopleManager, in getSortedTiles()
303 .map(c -> new PeopleSpaceTile.Builder(c, launcherApps).build()) in getSortedTiles()
313 public static PeopleSpaceTile getTile(ConversationChannel channel, LauncherApps launcherApps) { in getTile()
318 PeopleSpaceTile tile = new PeopleSpaceTile.Builder(channel, launcherApps).build(); in getTile()
329 PeopleSpaceTile tile) { in getLastInteraction()
[all …]
DPeopleTileViewHelper.java45 import android.app.people.PeopleSpaceTile;
182 private PeopleSpaceTile mTile;
194 PeopleTileViewHelper(Context context, @Nullable PeopleSpaceTile tile, in PeopleTileViewHelper()
212 public static RemoteViews createRemoteViews(Context context, @Nullable PeopleSpaceTile tile, in createRemoteViews()
310 public static boolean isDndBlockingTileData(@Nullable PeopleSpaceTile tile) { in isDndBlockingTileData()
314 if ((notificationPolicyState & PeopleSpaceTile.SHOW_CONVERSATIONS) != 0) { in isDndBlockingTileData()
319 if ((notificationPolicyState & PeopleSpaceTile.SHOW_IMPORTANT_CONVERSATIONS) != 0 in isDndBlockingTileData()
324 if ((notificationPolicyState & PeopleSpaceTile.SHOW_STARRED_CONTACTS) != 0 in isDndBlockingTileData()
329 if ((notificationPolicyState & PeopleSpaceTile.SHOW_CONTACTS) != 0 in isDndBlockingTileData()
548 public static boolean getHasNewStory(PeopleSpaceTile tile) { in getHasNewStory()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java60 import android.app.people.PeopleSpaceTile;
170 public static Map<Integer, PeopleSpaceTile> mTiles = new HashMap<>();
320 Map<Integer, PeopleSpaceTile> widgetIdToTile = new HashMap<>(); in updateSingleConversationWidgets()
323 PeopleSpaceTile tile = getTileForExistingWidget(appWidgetId); in updateSingleConversationWidgets()
339 private void updateAppWidgetViews(int appWidgetId, PeopleSpaceTile tile, Bundle options) { in updateAppWidgetViews()
357 Optional<PeopleSpaceTile> tile) { in updateAppWidgetOptionsAndViewOptional()
364 public void updateAppWidgetOptionsAndView(int appWidgetId, PeopleSpaceTile tile) { in updateAppWidgetOptionsAndView()
380 public PeopleSpaceTile getTileForExistingWidget(int appWidgetId) { in getTileForExistingWidget()
390 private PeopleSpaceTile getTileForExistingWidgetThrowing(int appWidgetId) throws in getTileForExistingWidgetThrowing()
393 PeopleSpaceTile tile; in getTileForExistingWidgetThrowing()
[all …]
DPeopleTileKey.java22 import android.app.people.PeopleSpaceTile;
45 public PeopleTileKey(PeopleSpaceTile tile) { in PeopleTileKey()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManagerTest.java39 import static android.app.people.PeopleSpaceTile.BLOCK_CONVERSATIONS;
40 import static android.app.people.PeopleSpaceTile.SHOW_CONTACTS;
41 import static android.app.people.PeopleSpaceTile.SHOW_CONVERSATIONS;
42 import static android.app.people.PeopleSpaceTile.SHOW_IMPORTANT_CONVERSATIONS;
43 import static android.app.people.PeopleSpaceTile.SHOW_STARRED_CONTACTS;
81 import android.app.people.PeopleSpaceTile;
182 private static final PeopleSpaceTile PERSON_TILE =
183 new PeopleSpaceTile
192 private static final PeopleSpaceTile PERSON_TILE_WITH_SAME_URI =
193 new PeopleSpaceTile
[all …]
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java44 public class PeopleSpaceTile implements Parcelable { class
76 private PeopleSpaceTile(Builder b) { in PeopleSpaceTile() method in PeopleSpaceTile
467 public PeopleSpaceTile build() { in build()
468 return new PeopleSpaceTile(this); in build()
472 public PeopleSpaceTile(Parcel in) { in PeopleSpaceTile() method in PeopleSpaceTile
532 Creator<PeopleSpaceTile> CREATOR = new Creator<PeopleSpaceTile>() {
533 public PeopleSpaceTile createFromParcel(Parcel source) {
534 return new PeopleSpaceTile(source);
536 public PeopleSpaceTile[] newArray(int size) {
537 return new PeopleSpaceTile[size];
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/data/repository/
DPeopleTileRepository.kt19 import android.app.people.PeopleSpaceTile
51 private fun PeopleSpaceTile.toModel(): PeopleTileModel { in priorityTiles() method