Home
last modified time | relevance | path

Searched refs:Tile (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DMultiAttachmentLayout.java81 private static class Tile { class in MultiAttachmentLayout
87 private Tile(final int startX, final int startY, final int endX, final int endY) { in Tile() method in MultiAttachmentLayout.Tile
104 public static Tile large(final int startX, final int startY) { in large()
105 return new Tile(startX, startY, startX + 1, startY + 1); in large()
108 public static Tile wide(final int startX, final int startY) { in wide()
109 return new Tile(startX, startY, startX + 1, startY); in wide()
112 public static Tile small(final int startX, final int startY) { in small()
113 return new Tile(startX, startY, startX, startY); in small()
121 public final List<Tile> tiles;
122 public Layout(final Tile[] tilesArray) { in Layout()
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
310 Tile tile = mActiveTiles.valueAt(i); in layoutTiles()
342 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles()
395 Tile tile = mRecycledQueue.pop(); in freeTextures()
404 Tile texture = mActiveTiles.valueAt(i); in freeTextures()
474 Tile tile = mActiveTiles.valueAt(i); in uploadBackgroundTiles()
481 private void queueForDecode(Tile tile) { in queueForDecode()
492 private void decodeTile(Tile tile) { in decodeTile()
519 private Tile obtainTile(int x, int y, int level) { in obtainTile()
521 Tile tile = mRecycledQueue.pop(); in obtainTile()
[all …]
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java97 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
311 Tile tile = mActiveTiles.valueAt(i); in layoutTiles()
343 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles()
396 Tile tile = mRecycledQueue.pop(); in freeTextures()
405 Tile texture = mActiveTiles.valueAt(i); in freeTextures()
475 Tile tile = mActiveTiles.valueAt(i); in uploadBackgroundTiles()
482 private void queueForDecode(Tile tile) { in queueForDecode()
493 @Thunk void decodeTile(Tile tile) { in decodeTile()
520 private Tile obtainTile(int x, int y, int level) { in obtainTile()
522 Tile tile = mRecycledQueue.pop(); in obtainTile()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java99 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>();
254 Tile tile = mActiveTiles.valueAt(i); in layoutTiles()
285 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles()
377 Tile texture = mActiveTiles.valueAt(i); in freeTextures()
386 Tile tile = mRecycledQueue.pop(); in freeTextures()
470 Tile tile = mActiveTiles.valueAt(i); in uploadBackgroundTiles()
475 void queueForUpload(Tile tile) { in queueForUpload()
484 synchronized void queueForDecode(Tile tile) { in queueForDecode()
491 boolean decodeTile(Tile tile) { in decodeTile()
512 private synchronized Tile obtainTile(int x, int y, int level) { in obtainTile()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DTiledTexture.java49 private static Tile sFreeTileHead = null;
59 private final Tile[] mTiles; // Can be modified in different threads.
112 private static class Tile extends UploadedTexture { class in TiledTexture
116 public Tile nextFreeTile;
161 private static void freeTile(Tile tile) { in freeTile()
170 private static Tile obtainTile() { in obtainTile()
172 Tile result = sFreeTileHead; in obtainTile()
173 if (result == null) return new Tile(); in obtainTile()
184 Tile next = mTiles[mUploadIndex++]; in uploadNextTile()
205 ArrayList<Tile> list = new ArrayList<Tile>(); in TiledTexture()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardAdapter.java44 import com.android.settingslib.drawer.Tile;
72 private List<Tile> mSuggestions;
92 public List<Tile> getSuggestions() { in getSuggestions()
96 public void setSuggestions(List<Tile> suggestions) { in setSuggestions()
101 public Tile getTile(ComponentName component) { in getTile()
104 Tile tile = mCategories.get(i).tiles.get(j); in getTile()
122 Tile tile = categories.get(i).tiles.get(j); in setCategories()
144 public void notifyChanged(Tile tile) { in notifyChanged()
181 Tile tile = category.tiles.get(j); in recountItems()
224 final Tile tile = (Tile) mItems.get(position);
[all …]
DSummaryLoader.java33 import com.android.settingslib.drawer.Tile;
47 private final List<Tile> mTiles = new ArrayList<>();
65 List<Tile> tiles = categories.get(i).tiles; in SummaryLoader()
67 Tile tile = tiles.get(j); in SummaryLoader()
90 Tile tile = mAdapter.getTile(component); in setSummary()
114 private SummaryProvider getSummaryProvider(Tile tile) { in getSummaryProvider()
147 private Bundle getMetaData(Tile tile) { in getMetaData()
182 private synchronized void makeProviderW(Tile tile) { in makeProviderW()
210 Tile tile = (Tile) msg.obj; in handleMessage()
DDashboardSummary.java43 import com.android.settingslib.drawer.Tile;
125 for (Tile suggestion : mAdapter.getSuggestions()) { in onStart()
148 for (Tile suggestion : mAdapter.getSuggestions()) { in onStop()
230 private class SuggestionLoader extends AsyncTask<Void, Void, List<Tile>> {
233 protected List<Tile> doInBackground(Void... params) { in doInBackground()
234 List<Tile> suggestions = mSuggestionParser.getSuggestions(); in doInBackground()
245 protected void onPostExecute(List<Tile> tiles) { in onPostExecute()
DSuggestionsChecks.java38 import com.android.settingslib.drawer.Tile;
53 public boolean isSuggestionComplete(Tile suggestion) { in isSuggestionComplete()
/packages/apps/Settings/src/com/android/settings/qstile/
DDevelopmentTiles.java23 import android.service.quicksettings.Tile;
57 getQsTile().setState(enabled ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE); in refresh()
64 getQsTile().getState() == Tile.STATE_INACTIVE ? "true" : "false"); in onClick()
83 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE); in refresh()
90 getQsTile().getState() == Tile.STATE_INACTIVE ? "visual_bars" : ""); in onClick()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java129 import com.android.settingslib.drawer.Tile;
1096 for (Tile tile : category.tiles) { in doUpdateTilesList()
1182 protected void onTileClicked(Tile tile) { in onTileClicked()