/frameworks/base/core/tests/coretests/src/android/app/people/ |
D | PeopleSpaceTileTest.java | 19 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/ |
D | PeopleSpaceUtilsTest.java | 38 import android.app.people.PeopleSpaceTile; 113 private static final PeopleSpaceTile PERSON_TILE = 114 new PeopleSpaceTile 249 PeopleSpaceTile tile = in testAugmentTileFromNotification() 250 new PeopleSpaceTile in testAugmentTileFromNotification() 256 PeopleSpaceTile actual = PeopleSpaceUtils in testAugmentTileFromNotification() 289 PeopleSpaceTile tile = in testAugmentTileFromNotificationGroupWithSender() 290 new PeopleSpaceTile in testAugmentTileFromNotificationGroupWithSender() 296 PeopleSpaceTile actual = PeopleSpaceUtils in testAugmentTileFromNotificationGroupWithSender() 322 PeopleSpaceTile tile = in testAugmentTileFromNotificationGroupWithImageUri() [all …]
|
D | PeopleTileViewHelperTest.java | 25 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; 41 import android.app.people.PeopleSpaceTile; 93 private static final PeopleSpaceTile PERSON_TILE_WITHOUT_NOTIFICATION = 94 new PeopleSpaceTile 99 private static final PeopleSpaceTile PERSON_TILE = 100 new PeopleSpaceTile 108 private static final PeopleSpaceTile PERSON_TILE_WITH_SENDER = [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceUtils.java | 31 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 …]
|
D | PeopleSpaceActivity.java | 26 import android.app.people.PeopleSpaceTile; 77 List<PeopleSpaceTile> priorityTiles = new ArrayList<>(); in buildActivity() 78 List<PeopleSpaceTile> recentTiles = new ArrayList<>(); in buildActivity() 114 private void setTileViews(int viewId, int tilesId, List<PeopleSpaceTile> tiles) { in setTileViews() 125 PeopleSpaceTile tile = tiles.get(i); in setTileViews() 133 private void setTileView(PeopleSpaceTileView tileView, PeopleSpaceTile tile) { in setTileView() 150 private void storeWidgetConfiguration(PeopleSpaceTile tile, PeopleTileKey key) { in storeWidgetConfiguration()
|
D | PeopleSpaceTileView.java | 19 import android.app.people.PeopleSpaceTile; 71 public void setOnClickListener(LauncherApps launcherApps, PeopleSpaceTile tile) { in setOnClickListener()
|
D | PeopleTileViewHelper.java | 44 import android.app.people.PeopleSpaceTile; 177 private PeopleSpaceTile mTile; 189 PeopleTileViewHelper(Context context, @Nullable PeopleSpaceTile tile, in PeopleTileViewHelper() 207 public static RemoteViews createRemoteViews(Context context, @Nullable PeopleSpaceTile tile, in createRemoteViews() 304 private static boolean isDndBlockingTileData(@Nullable PeopleSpaceTile tile) { in isDndBlockingTileData() 308 if ((notificationPolicyState & PeopleSpaceTile.SHOW_CONVERSATIONS) != 0) { in isDndBlockingTileData() 313 if ((notificationPolicyState & PeopleSpaceTile.SHOW_IMPORTANT_CONVERSATIONS) != 0 in isDndBlockingTileData() 318 if ((notificationPolicyState & PeopleSpaceTile.SHOW_STARRED_CONTACTS) != 0 in isDndBlockingTileData() 323 if ((notificationPolicyState & PeopleSpaceTile.SHOW_CONTACTS) != 0 in isDndBlockingTileData() 540 private static boolean getHasNewStory(PeopleSpaceTile tile) { in getHasNewStory() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManager.java | 57 import android.app.people.PeopleSpaceTile; 155 public static Map<Integer, PeopleSpaceTile> mTiles = new HashMap<>(); 286 Map<Integer, PeopleSpaceTile> widgetIdToTile = new HashMap<>(); in updateSingleConversationWidgets() 289 PeopleSpaceTile tile = getTileForExistingWidget(appWidgetId); in updateSingleConversationWidgets() 305 private void updateAppWidgetViews(int appWidgetId, PeopleSpaceTile tile, Bundle options) { in updateAppWidgetViews() 323 Optional<PeopleSpaceTile> tile) { in updateAppWidgetOptionsAndViewOptional() 330 public void updateAppWidgetOptionsAndView(int appWidgetId, PeopleSpaceTile tile) { in updateAppWidgetOptionsAndView() 346 public PeopleSpaceTile getTileForExistingWidget(int appWidgetId) { in getTileForExistingWidget() 356 private PeopleSpaceTile getTileForExistingWidgetThrowing(int appWidgetId) throws in getTileForExistingWidgetThrowing() 359 PeopleSpaceTile tile; in getTileForExistingWidgetThrowing() [all …]
|
D | PeopleTileKey.java | 22 import android.app.people.PeopleSpaceTile; 45 public PeopleTileKey(PeopleSpaceTile tile) { in PeopleTileKey()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManagerTest.java | 39 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; 177 private static final PeopleSpaceTile PERSON_TILE = 178 new PeopleSpaceTile 187 private static final PeopleSpaceTile PERSON_TILE_WITH_SAME_URI = 188 new PeopleSpaceTile [all …]
|
/frameworks/base/core/java/android/app/people/ |
D | PeopleSpaceTile.java | 44 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];
|