HomeSort by relevance Sort by last modified time
    Searched refs:Tile (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /frameworks/base/core/java/android/service/quicksettings/
Tile.aidl 19 parcelable Tile;
IQSService.aidl 20 import android.service.quicksettings.Tile;
26 Tile getTile(in IBinder tile);
27 void updateQsTile(in Tile tile, in IBinder service);
28 void updateStatusIcon(in IBinder tile, in Icon icon,
30 void onShowDialog(in IBinder tile);
31 void onStartActivity(in IBinder tile);
34 void startUnlockAndRun(in IBinder tile);
36 void onDialogHidden(in IBinder tile);
    [all...]
Tile.java 27 * A Tile holds the state of a tile that will be displayed
30 * A tile in Quick Settings exists as an icon with an accompanied label.
32 * The style and layout of the tile may change to match a given
35 public final class Tile implements Parcelable {
37 private static final String TAG = "Tile";
40 * An unavailable state indicates that for some reason this tile is not currently
41 * available to the user for some reason, and will have no click action. The tile's
47 * This represents a tile that is currently in a disabled state but is still interactable.
49 * A disabled state indicates that the tile is not currently active (e.g. wifi disconnected o
    [all...]
  /frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
TileList.java 31 private final SparseArray<Tile<T>> mTiles = new SparseArray<Tile<T>>(10);
33 Tile<T> mLastAccessedTile;
59 public Tile<T> getAtIndex(int index) {
63 public Tile<T> addOrReplace(Tile<T> newTile) {
69 Tile<T> oldTile = mTiles.valueAt(index);
77 public Tile<T> removeAtPos(int startPosition) {
78 Tile<T> tile = mTiles.get(startPosition) local
    [all...]
ThreadUtil.java 25 void addTile(int generation, TileList.Tile<T> tile);
39 void recycleTile(TileList.Tile<T> tile);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
SuggestionList.java 23 import com.android.settingslib.drawer.Tile;
32 private final Map<SuggestionCategory, List<Tile>> mSuggestions;
35 private List<Tile> mSuggestionList;
41 public void addSuggestions(SuggestionCategory category, List<Tile> suggestions) {
45 public List<Tile> getSuggestions() {
50 for (List<Tile> suggestions : mSuggestions.values()) {
73 private void dedupeSuggestions(List<Tile> suggestions) {
76 final Tile suggestion = suggestions.get(i);
  /frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
CategoryManagerTest.java 41 private Map<Pair<String, String>, Tile> mTileByComponentCache;
59 final Tile tile1 = new Tile();
60 final Tile tile2 = new Tile();
78 final Tile tile1 = new Tile();
79 final Tile tile2 = new Tile();
102 final Tile tile1 = new Tile()
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DashboardCategory.java 55 private List<Tile> mTiles = new ArrayList<>();
62 for (Tile tile : in.mTiles) {
63 mTiles.add(tile);
78 public synchronized List<Tile> getTiles() {
79 final List<Tile> result = new ArrayList<>(mTiles.size());
80 for (Tile tile : mTiles) {
81 result.add(tile);
86 public synchronized void addTile(Tile tile)
175 Tile tile = mTiles.get(n); local
188 Tile tile = Tile.CREATOR.createFromParcel(in); local
    [all...]
Tile.java 31 * Description of a single dashboard tile that the user can select.
33 public class Tile implements Parcelable {
36 * Title of the tile that is shown to the user.
42 * Optional summary describing what this tile controls.
48 * Optional icon to show for this tile.
75 * Category in which the tile should be placed.
80 * Priority of the intent filter that created this tile, used for display ordering.
85 * The metaData from the activity that defines this tile.
90 * Optional key to use for this tile.
99 public Tile() {
    [all...]
  /packages/apps/Settings/src/com/android/settings/dashboard/
DashboardFeatureProvider.java 23 import com.android.settingslib.drawer.Tile;
65 * Returns an unique string key for the tile.
67 String getDashboardKeyForTile(Tile tile);
70 * Binds preference to data provided by tile.
72 * @param activity If tile contains intent to launch, it will be launched from this activity
75 * @param tile The binding data
76 * @param key They key for preference. If null, we will generate one from tile data
78 * both this value and tile's own priority.
81 Tile tile, String key, int baseOrder)
    [all...]
DashboardItemAnimator.java 21 import com.android.settingslib.drawer.Tile;
29 if (tag instanceof Tile && oldHolder == newHolder) {
SummaryLoader.java 37 import com.android.settingslib.drawer.Tile;
87 final Tile tile = getTileFromCategory(
90 if (tile == null) {
92 Log.d(TAG, "Can't find tile for " + component);
97 Log.d(TAG, "setSummary " + tile.title + " - " + summary);
100 updateSummaryIfNeeded(tile, summary);
105 void updateSummaryIfNeeded(Tile tile, CharSequence summary) {
106 if (TextUtils.equals(tile.summary, summary))
259 final Tile tile = tiles.get(j); local
305 Tile tile = (Tile) msg.obj; local
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowTileService.java 4 import android.service.quicksettings.Tile;
20 private Tile mTile;
25 public final Tile getQsTile() {
35 public void setTile(Tile tile) {
36 mTile = tile;
  /packages/apps/Messaging/src/com/android/messaging/ui/
MultiAttachmentLayout.java 46 * Holds and displays multiple attachments in a 4x2 grid. Each preview image "tile" can take
62 * In the above example, the layout consists of four tiles, A-D. A is a large tile, B is a
63 * wide tile and C & D are both small tiles. A starts at (0,0) and ends at (1,1), B starts at
65 * of A-D, so that we make sure the last tile is always the one where we can put the overflow
79 * Represents a preview image tile in the layout
81 private static class Tile {
87 private Tile(final int startX, final int startY, final int endX, final int endY) {
104 public static Tile large(final int startX, final int startY) {
105 return new Tile(startX, startY, startX + 1, startY + 1);
108 public static Tile wide(final int startX, final int startY)
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/client/
sharding_builder.h 39 // Creates a tiled sharding with the given tile shape and assignment of tiles
45 OpSharding Tile(const Shape& tile_shape, const TileAssignment& tile_assignment);
47 // Creates a sharding in one dimension, with the given tile shape which must
50 // This is simply a convenience wrapper for Tile().
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
TileColorPicker.java 20 import android.service.quicksettings.Tile;
49 case Tile.STATE_UNAVAILABLE:
51 case Tile.STATE_INACTIVE:
53 case Tile.STATE_ACTIVE:
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
TileColorPickerTest.java 19 import android.service.quicksettings.Tile;
47 final int color = mTileColorPicker.getColor(Tile.STATE_UNAVAILABLE);
56 final int color = mTileColorPicker.getColor(Tile.STATE_INACTIVE);
65 final int color = mTileColorPicker.getColor(Tile.STATE_ACTIVE);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
CellTileView.java 19 import android.service.quicksettings.Tile;
31 // Exists to provide easy way to add sim icon to cell tile
40 mSignalDrawable.setColors(QSTileImpl.getColorForState(context, Tile.STATE_UNAVAILABLE),
41 QSTileImpl.getColorForState(context, Tile.STATE_ACTIVE));
73 d.setColors(QSTileImpl.getColorForState(context, Tile.STATE_UNAVAILABLE),
74 QSTileImpl.getColorForState(context, Tile.STATE_ACTIVE));
  /packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
AccountDetailDashboardFragmentTest.java 39 import com.android.settingslib.drawer.Tile;
79 final Tile tile = new Tile(); local
83 tile.metaData = metaData;
85 assertThat(mFragment.displayTile(tile)).isTrue();
90 final Tile tile = new Tile(); local
93 tile.metaData = metaData
100 final Tile tile = new Tile(); local
118 final Tile tile = new Tile(); local
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DashboardFeatureProviderImplTest.java 56 import com.android.settingslib.drawer.Tile;
110 final Tile tile = new Tile(); local
111 tile.title = "title";
112 tile.summary = "summary";
113 tile.icon = Icon.createWithBitmap(Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565));
114 tile.metaData = new Bundle();
115 tile.metaData.putString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS, "HI");
116 tile.priority = 10
131 final Tile tile = new Tile(); local
148 final Tile tile = new Tile(); local
169 final Tile tile = new Tile(); local
194 final Tile tile = new Tile(); local
220 final Tile tile = mock(Tile.class); local
230 final Tile tile = new Tile(); local
243 final Tile tile = new Tile(); local
256 final Tile tile = new Tile(); local
270 final Tile tile = new Tile(); local
286 final Tile tile = new Tile(); local
300 final Tile tile = new Tile(); local
317 final Tile tile = new Tile(); local
330 final Tile tile = new Tile(); local
343 final Tile tile = new Tile(); local
357 final Tile tile = new Tile(); local
383 final Tile tile = new Tile(); local
    [all...]
SummaryLoaderTest.java 30 import com.android.settingslib.drawer.Tile;
46 private Tile mTile;
54 mTile = new Tile();
61 mSummaryLoader.setSummaryConsumer(tile -> mCallbackInvoked = true);
87 final Tile tile = new Tile(); local
88 tile.key = "123";
89 tile.intent = new Intent();
90 category.addTile(tile);
    [all...]
  /packages/apps/Settings/src/com/android/settings/dashboard/suggestions/
SuggestionFeatureProvider.java 26 import com.android.settingslib.drawer.Tile;
60 void filterExclusiveSuggestions(List<Tile> suggestions);
  /external/tensorflow/tensorflow/core/kernels/
tile_functor_cpu.cc 53 // Register functors used for Tile functor.
55 template struct Tile<CPUDevice, T, int32>; \
56 template struct Tile<CPUDevice, T, int64>;
76 template struct Tile<SYCLDevice, T, int32>; \
77 template struct Tile<SYCLDevice, T, int64>;
  /frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
NekoTile.java 18 import android.service.quicksettings.Tile;
68 Tile tile = getQsTile(); local
74 tile.setIcon(food.getIcon(this));
75 tile.setLabel(food.getName(this));
76 tile.setState(foodState != 0 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE);
77 tile.updateTile();
  /packages/apps/Traceur/src/com/google/android/traceur/
QsService.java 24 import android.service.quicksettings.Tile;
57 getQsTile().setState(tracingOn ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE);
62 /** When we click the tile, toggle tracing state.

Completed in 5769 milliseconds

1 2 3 4 5