Home
last modified time | relevance | path

Searched refs:PeopleSpaceTile (Results 1 – 11 of 11) 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;
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 …]
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;
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/
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 …]
DPeopleSpaceActivity.java26 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()
DPeopleSpaceTileView.java19 import android.app.people.PeopleSpaceTile;
71 public void setOnClickListener(LauncherApps launcherApps, PeopleSpaceTile tile) { in setOnClickListener()
DPeopleTileViewHelper.java44 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/
DPeopleSpaceWidgetManager.java57 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 …]
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;
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/
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];