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

1 2

  /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/android/support/v7/util/
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);
AsyncListUtil.java 228 public void addTile(int generation, TileList.Tile<T> tile) {
231 log("recycling an older generation tile @%d", tile.mStartPosition);
233 mBackgroundProxy.recycleTile(tile);
236 TileList.Tile<T> duplicate = mTileList.addOrReplace(tile);
238 Log.e(TAG, "duplicate tile @" + duplicate.mStartPosition);
242 log("gen #%d, added tile @%d, total tiles: %d",
243 generation, tile.mStartPosition, mTileList.size())
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DashboardCategory.java 46 public List<Tile> tiles = new ArrayList<Tile>();
53 public void addTile(Tile tile) {
54 tiles.add(tile);
57 public void addTile(int n, Tile tile) {
58 tiles.add(n, tile);
61 public void removeTile(Tile tile) {
92 Tile tile = tiles.get(n); local
105 Tile tile = Tile.CREATOR.createFromParcel(in); local
    [all...]
Tile.java 30 * Description of a single dashboard tile that the user can select.
32 public class Tile implements Parcelable {
35 * Title of the tile that is shown to the user.
41 * Optional summary describing what this tile controls.
47 * Optional icon to show for this tile.
68 * Category in which the tile should be placed.
73 * Priority of the intent filter that created this tile, used for display ordering.
78 * The metaData from the activity that defines this tile.
82 public Tile() {
137 Tile(Parcel in)
    [all...]
TileUtils.java 51 * settings tile using the following parameters.
117 HashMap<Pair<String, String>, Tile> cache) {
121 ArrayList<Tile> tiles = new ArrayList<>();
138 for (Tile tile : tiles) {
139 DashboardCategory category = categoryMap.get(tile.category);
141 category = createCategory(context, tile.category);
143 Log.w(LOG_TAG, "Couldn't find category " + tile.category);
148 category.addTile(tile);
183 UserHandle user, String action, Map<Pair<String, String>, Tile> addedCache
218 Tile tile = addedCache.get(key); local
    [all...]
ProfileSelectDialog.java 34 private Tile mSelectedTile;
36 public static void show(FragmentManager manager, Tile tile) {
39 args.putParcelable(ARG_SELECTED_TILE, tile);
SettingsDrawerAdapter.java 45 Item tile = new Item(); local
46 tile.label = mActivity.getString(R.string.home);
47 tile.icon = Icon.createWithResource(mActivity, R.drawable.home);
48 mItems.add(tile);
56 tile = new Item();
57 Tile dashboardTile = dashboardCategory.tiles.get(j);
58 tile.label = dashboardTile.title;
59 tile.icon = dashboardTile.icon;
60 tile.tile = dashboardTile
120 public Tile tile; field in class:SettingsDrawerAdapter.Item
    [all...]
  /packages/apps/Settings/src/com/android/settings/qstile/
DevelopmentTiles.java 23 import android.service.quicksettings.Tile;
46 * Tile to control the "Show layout bounds" developer setting
57 getQsTile().setState(enabled ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE);
64 getQsTile().getState() == Tile.STATE_INACTIVE ? "true" : "false");
71 * Tile to control the "GPU profiling" developer setting
83 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE);
90 getQsTile().getState() == Tile.STATE_INACTIVE ? "visual_bars" : "");
  /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...]
  /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/Settings/src/com/android/settings/dashboard/
SummaryLoader.java 35 import com.android.settingslib.drawer.Tile;
49 private final List<Tile> mTiles = new ArrayList<>();
67 List<Tile> tiles = categories.get(i).tiles;
69 Tile tile = tiles.get(j); local
70 mWorker.obtainMessage(Worker.MSG_GET_PROVIDER, tile).sendToTarget();
100 final Tile tile = getTileFromCategory(categories, component);
101 if (tile == null) {
103 Log.d(TAG, "Can't find tile for " + component)
219 final Tile tile = category.tiles.get(j); local
248 Tile tile = (Tile) msg.obj; local
    [all...]
DashboardAdapter.java 45 import com.android.settingslib.drawer.Tile;
77 private List<Tile> mSuggestions;
108 public List<Tile> getSuggestions() {
113 List<Tile> suggestions) {
123 Tile tile = categories.get(i).tiles.get(j); local
126 tile.intent.getComponent().getPackageName())) {
129 tile.icon.setTint(tintColor.data);
145 public void notifyChanged(Tile tile) {
    [all...]
DashboardSummary.java 43 import com.android.settingslib.drawer.Tile;
148 for (Tile suggestion : mAdapter.getSuggestions()) {
235 private class SuggestionLoader extends AsyncTask<Void, Void, List<Tile>> {
238 protected List<Tile> doInBackground(Void... params) {
240 List<Tile> suggestions = mSuggestionParser.getSuggestions();
242 Tile suggestion = suggestions.get(i);
259 protected void onPostExecute(List<Tile> tiles) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
SuggestionParser.java 34 import com.android.settingslib.drawer.Tile;
78 private final ArrayMap<Pair<String, String>, Tile> addCache = new ArrayMap<>();
88 public List<Tile> getSuggestions() {
89 List<Tile> suggestions = new ArrayList<>();
101 public boolean dismissSuggestion(Tile suggestion) {
114 private void readSuggestions(SuggestionCategory category, List<Tile> suggestions) {
134 Tile item = suggestions.remove(suggestions.size() - 1);
136 Tile last = suggestions.remove(suggestions.size() - 1);
148 private boolean isAvailable(Tile suggestion) {
156 public boolean satisfiesRequiredAccount(Tile suggestion)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
CustomTile.java 31 import android.service.quicksettings.Tile;
57 private final Tile mTile;
74 mTile = new Tile();
138 public void onTileChanged(ComponentName tile) {
155 public Tile getQsTile() {
159 public void updateState(Tile tile) {
160 mTile.setIcon(tile.getIcon());
161 mTile.setLabel(tile.getLabel());
162 mTile.setContentDescription(tile.getContentDescription())
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
TiledTexture.java 37 // upload the whole bitmap but we reduce the time of uploading each tile
49 private static Tile sFreeTileHead = null;
59 private final Tile[] mTiles; // Can be modified in different threads.
112 private static class Tile extends UploadedTexture {
116 public Tile nextFreeTile;
161 private static void freeTile(Tile tile) {
162 tile.invalidateContent();
163 tile.bitmap = null;
165 tile.nextFreeTile = sFreeTileHead
209 Tile tile = obtainTile(); local
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
TiledImageRenderer.java 46 * This is the tile state in the CPU side.
47 * Life of a Tile:
96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to wha
310 Tile tile = mActiveTiles.valueAt(i); local
342 Tile tile = mActiveTiles.valueAt(i); local
395 Tile tile = mRecycledQueue.pop(); local
474 Tile tile = mActiveTiles.valueAt(i); local
521 Tile tile = mRecycledQueue.pop(); local
548 Tile tile = mActiveTiles.get(key); local
572 Tile tile = null; local
603 Tile tile = getTile(tx, ty, level); local
755 Tile tile = mHead; local
803 Tile tile = mDecodeQueue.pop(); local
816 Tile tile = waitForTile(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageRenderer.java 46 * This is the tile state in the CPU side.
47 * Life of a Tile:
96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to wha
310 Tile tile = mActiveTiles.valueAt(i); local
342 Tile tile = mActiveTiles.valueAt(i); local
395 Tile tile = mRecycledQueue.pop(); local
474 Tile tile = mActiveTiles.valueAt(i); local
521 Tile tile = mRecycledQueue.pop(); local
548 Tile tile = mActiveTiles.get(key); local
572 Tile tile = null; local
603 Tile tile = getTile(tx, ty, level); local
755 Tile tile = mHead; local
803 Tile tile = mDecodeQueue.pop(); local
816 Tile tile = waitForTile(); local
    [all...]
  /packages/apps/WallpaperPicker/src/com/android/photos/views/
TiledImageRenderer.java 46 * This is the tile state in the CPU side.
47 * Life of a Tile:
96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
131 * If the source does not care about the tile size, it should use
146 * The tile returned by this method can be specified this way: Assuming
253 // 1. Decide the tile level we want to use for display.
254 // 2. Decide the tile levels we want to keep as texture (in addition to
264 // The tile levels we want to keep as texture is in the range
272 // We want to keep one more tile level as texture in addition to wha
310 Tile tile = mActiveTiles.valueAt(i); local
342 Tile tile = mActiveTiles.valueAt(i); local
395 Tile tile = mRecycledQueue.pop(); local
474 Tile tile = mActiveTiles.valueAt(i); local
521 Tile tile = mRecycledQueue.pop(); local
548 Tile tile = mActiveTiles.get(key); local
572 Tile tile = null; local
603 Tile tile = getTile(tx, ty, level); local
755 Tile tile = mHead; local
803 Tile tile = mDecodeQueue.pop(); local
816 Tile tile = waitForTile(); local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageView.java 52 * This is the tile state in the CPU side.
53 * Life of a Tile:
88 // The offsets of the (left, top) of the upper-left tile to the (left, top)
99 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
131 // The tile returned by this method can be specified this way: Assuming
200 // 1. Decide the tile level we want to use for display.
201 // 2. Decide the tile levels we want to keep as texture (in addition to
210 // The tile levels we want to keep as texture is in the range
218 // We want to keep one more tile level as texture in addition to wha
254 Tile tile = mActiveTiles.valueAt(i); local
285 Tile tile = mActiveTiles.valueAt(i); local
386 Tile tile = mRecycledQueue.pop(); local
470 Tile tile = mActiveTiles.valueAt(i); local
513 Tile tile = mRecycledQueue.pop(); local
537 Tile tile = mActiveTiles.get(key); local
568 Tile tile = null; local
596 Tile tile = getTile(tx, ty, level); local
739 Tile tile = mHead; local
772 Tile tile = null; local
    [all...]
  /frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
ThreadUtilTest.java 60 public void addTile(int generation, TileList.Tile<Integer> data) {
95 public void recycleTile(TileList.Tile<Integer> data) {
115 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10); local
116 mMainThreadProxy.addTile(3, tile);
118 assertThat(data, is(new Object[]{3, tile}));
158 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10) local
    [all...]

Completed in 1989 milliseconds

1 2