/frameworks/base/core/java/android/service/quicksettings/ |
H A D | Tile.aidl | 19 parcelable Tile;
|
H A D | IQSService.aidl | 20 import android.service.quicksettings.Tile; 26 Tile getTile(in IBinder tile); 27 void updateQsTile(in Tile tile, in IBinder service);
|
H A D | Tile.java | 27 * A Tile holds the state of a tile that will be displayed 35 public final class Tile implements Parcelable { class in inherits:Parcelable 37 private static final String TAG = "Tile"; 74 public Tile(Parcel source) { method in class:Tile 81 public Tile() { method in class:Tile 178 * Pushes the state of the Tile to Quick Settings to be displayed. 212 public static final Creator<Tile> CREATOR = new Creator<Tile>() { 214 public Tile createFromParcel(Parcel source) { 215 return new Tile(sourc [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | 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); 86 public static class Tile< class in class:TileList 92 public Tile(Class<T> klass, int size) { method in class:TileList.Tile [all...] |
H A D | ThreadUtil.java | 25 void addTile(int generation, TileList.Tile<T> tile); 39 void recycleTile(TileList.Tile<T> tile);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
H A D | CategoryManagerTest.java | 44 private Map<Pair<String, String>, Tile> mTileByComponentCache; 62 final Tile tile1 = new Tile(); 63 final Tile tile2 = new Tile(); 81 final Tile tile1 = new Tile(); 82 final Tile tile2 = new Tile(); 104 final Tile tile [all...] |
H A D | TileUtilsTest.java | 115 Map<Pair<String, String>, Tile> addedCache = new ArrayMap<>(); 116 List<Tile> outTiles = new ArrayList<>(); 134 Map<Pair<String, String>, Tile> addedCache = new ArrayMap<>(); 135 List<Tile> outTiles = new ArrayList<>(); 155 Map<Pair<String, String>, Tile> addedCache = new ArrayMap<>(); 156 List<Tile> outTiles = new ArrayList<>(); 173 Map<Pair<String, String>, Tile> addedCache = new ArrayMap<>(); 174 List<Tile> outTiles = new ArrayList<>(); 203 Map<Pair<String, String>, Tile> cache = new ArrayMap<>(); 225 Map<Pair<String, String>, Tile> cach [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
H A D | SuggestionList.java | 24 import com.android.settingslib.drawer.Tile; 33 private final Map<SuggestionCategory, List<Tile>> mSuggestions; 36 private List<Tile> mSuggestionList; 42 public void addSuggestions(SuggestionCategory category, List<Tile> suggestions) { 46 public List<Tile> getSuggestions() { 51 for (List<Tile> suggestions : mSuggestions.values()) { 71 public List<Tile> getSuggestionForCategory(String category) { 72 for (Map.Entry<SuggestionCategory, List<Tile>> entry : mSuggestions.entrySet()) { 83 private void dedupeSuggestions(List<Tile> suggestions) { 86 final Tile suggestio [all...] |
H A D | SuggestionParser.java | 43 import com.android.settingslib.drawer.Tile; 102 private final ArrayMap<Pair<String, String>, Tile> mAddCache = new ArrayMap<>(); 140 final List<Tile> exclusiveSuggestions = new ArrayList<>(); 153 final List<Tile> suggestions = new ArrayList<>(); 165 public boolean dismissSuggestion(Tile suggestion) { 175 List<Tile> suggestions, int countBefore, boolean isSmartSuggestionEnabled) { 190 SuggestionCategory category, List<Tile> suggestions, boolean isSmartSuggestionEnabled) { 203 Tile item = suggestions.remove(suggestions.size() - 1); 205 Tile last = suggestions.remove(suggestions.size() - 1); 217 private boolean isAvailable(Tile suggestio [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | DashboardCategory.java | 51 public List<Tile> tiles = new ArrayList<>(); 58 public void addTile(Tile tile) { 62 public void addTile(int n, Tile tile) { 66 public void removeTile(Tile tile) { 78 public Tile getTile(int n) { 83 for (Tile tile : tiles) { 113 Tile tile = tiles.get(n); 126 Tile tile = Tile.CREATOR.createFromParcel(in);
|
H A D | Tile.java | 33 public class Tile implements Parcelable { class in inherits:Parcelable 99 public Tile() { method in class:Tile 160 Tile(Parcel in) { method in class:Tile 164 public static final Creator<Tile> CREATOR = new Creator<Tile>() { 165 public Tile createFromParcel(Parcel source) { 166 return new Tile(source); 168 public Tile[] newArray(int size) { 169 return new Tile[size];
|
H A D | CategoryManager.java | 46 // Tile cache (key: <packageName, activityName>, value: tile) 47 private final Map<Pair<String, String>, Tile> mTileByComponentCache; 49 // Tile cache (key: category key, value: category) 108 Tile tile = category.tiles.get(j); 142 Map<Pair<String, String>, Tile> tileByComponentCache, 149 final Map<String, List<Tile>> packageToTileMap = new HashMap<>(); 150 for (Entry<Pair<String, String>, Tile> tileEntry : tileByComponentCache.entrySet()) { 152 List<Tile> tiles = packageToTileMap.get(packageName); 160 for (Entry<String, List<Tile>> entry : packageToTileMap.entrySet()) { 161 final List<Tile> tile [all...] |
H A D | TileUtils.java | 194 Map<Pair<String, String>, Tile> cache) { 204 Map<Pair<String, String>, Tile> cache, boolean categoryDefinedInManifest) { 216 Map<Pair<String, String>, Tile> cache, boolean categoryDefinedInManifest, 221 ArrayList<Tile> tiles = new ArrayList<>(); 249 for (Tile tile : tiles) { 306 UserHandle user, String action, Map<Pair<String, String>, Tile> addedCache, 307 String defaultCategory, ArrayList<Tile> outTiles, boolean requireSettings, 314 UserHandle user, String action, Map<Pair<String, String>, Tile> addedCache, 315 String defaultCategory, ArrayList<Tile> outTiles, boolean requireSettings, 327 Map<Pair<String, String>, Tile> addedCach [all...] |
H A D | ProfileSelectDialog.java | 39 private Tile mSelectedTile; 41 public static void show(FragmentManager manager, Tile tile) { 75 public static void updateUserHandlesIfNeeded(Context context, Tile tile) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | 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/ |
H A D | 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/ |
H A D | CellTileView.java | 19 import android.service.quicksettings.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));
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/ |
H A D | SuggestionParserTest.java | 31 import com.android.settingslib.drawer.Tile; 57 private List<Tile> mSuggestionsBeforeDismiss; 58 private List<Tile> mSuggestionsAfterDismiss; 60 private Tile mSuggestion; 69 mSuggestion = new Tile(); 144 final List<Tile> suggestions = sl.getSuggestions(); 166 final List<Tile> suggestions = sl.getSuggestions(); 170 final List<Tile> category1Suggestions = sl.getSuggestionForCategory("category1"); 171 final List<Tile> category3Suggestions = sl.getSuggestionForCategory("category3"); 181 final List<Tile> suggestion [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoTile.java | 18 import android.service.quicksettings.Tile; 68 Tile tile = getQsTile(); 76 tile.setState(foodState != 0 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE);
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/ |
H A D | ProfileSelectDialogTest.java | 61 final Tile tile = new Tile(); 74 final Tile tile = new Tile();
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 47 * Life of a Tile: 96 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 310 Tile tile = mActiveTiles.valueAt(i); 342 Tile tile = mActiveTiles.valueAt(i); 395 Tile tile = mRecycledQueue.pop(); 404 Tile texture = mActiveTiles.valueAt(i); 474 Tile tile = mActiveTiles.valueAt(i); 481 private void queueForDecode(Tile tile) { 492 private void decodeTile(Tile til 663 private class Tile extends UploadedTexture { class in class:TiledImageRenderer 671 public Tile(int x, int y, int level) { method in class:TiledImageRenderer.Tile [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | ColorInversionTile.java | 22 import android.service.quicksettings.Tile; 100 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;
|
H A D | NightDisplayTile.java | 22 import android.service.quicksettings.Tile; 84 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;
|
H A D | WorkModeTile.java | 21 import android.service.quicksettings.Tile; 113 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;
|
H A D | BatterySaverTile.java | 21 import android.service.quicksettings.Tile; 83 state.state = mPluggedIn ? Tile.STATE_UNAVAILABLE 84 : mPowerSave ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;
|