/frameworks/base/core/java/android/service/quicksettings/ |
H A D | IQSService.aidl | 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); 37 void onStartSuccessful(in IBinder tile);
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/ |
H A D | ProfileSelectDialogTest.java | 61 final Tile tile = new Tile(); 62 tile.intent = new Intent(); 63 tile.userHandle.add(NORMAL_USER); 65 ProfileSelectDialog.updateUserHandlesIfNeeded(mContext, tile); 67 assertEquals(tile.userHandle.size(), 1); 68 assertEquals(tile.userHandle.get(0).getIdentifier(), NORMAL_USER.getIdentifier()); 74 final Tile tile = new Tile(); 75 tile.intent = new Intent(); 76 tile.userHandle.add(REMOVED_USER); 77 tile [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
H A D | DashboardCategory.java | 58 public void addTile(Tile tile) { argument 59 tiles.add(tile); 62 public void addTile(int n, Tile tile) { argument 63 tiles.add(n, tile); 66 public void removeTile(Tile tile) { argument 67 tiles.remove(tile); 83 for (Tile tile : tiles) { 84 if (TextUtils.equals(tile.intent.getComponent().getClassName(), 113 Tile tile = tiles.get(n); 114 tile [all...] |
H A D | TileUtils.java | 55 * settings tile using the following parameters. 249 for (Tile tile : tiles) { 250 DashboardCategory category = categoryMap.get(tile.category); 252 category = createCategory(context, tile.category, categoryDefinedInManifest); 254 Log.w(LOG_TAG, "Couldn't find category " + tile.category); 259 category.addTile(tile); 364 Tile tile = addedCache.get(key); 365 if (tile == null) { 366 tile = new Tile(); 367 tile 389 updateTileData(Context context, Tile tile, ActivityInfo activityInfo, ApplicationInfo applicationInfo, PackageManager pm, Map<String, IContentProvider> providerMap, boolean forceTintExternalIcon) argument 494 updateSummaryAndTitle( Context context, Map<String, IContentProvider> providerMap, Tile tile) argument [all...] |
H A D | ProfileSelectDialog.java | 41 public static void show(FragmentManager manager, Tile tile) { argument 44 args.putParcelable(ARG_SELECTED_TILE, tile); 75 public static void updateUserHandlesIfNeeded(Context context, Tile tile) { argument 76 List<UserHandle> userHandles = tile.userHandle; 77 if (tile.userHandle == null || tile.userHandle.size() <= 1) {
|
H A D | CategoryManager.java | 46 // Tile cache (key: <packageName, activityName>, value: tile) 108 Tile tile = category.tiles.get(j); 109 if (tileBlacklist.contains(tile.intent.getComponent())) { 148 // Build a package name -> tile map first. 165 for (Tile tile : tiles) { 166 if (CategoryKey.KEY_COMPAT_MAP.containsKey(tile.category)) { 175 for (Tile tile : tiles) { 176 final String newCategoryKey = CategoryKey.KEY_COMPAT_MAP.get(tile.category); 177 tile.category = newCategoryKey; 178 // move tile t [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 46 * This is the tile state in the CPU side. 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 what 296 // If rotation is transient, don't update the tile. 306 // Recycle unused tiles: if the level of the active tile is outside the 310 Tile tile 481 queueForDecode(Tile tile) argument 492 decodeTile(Tile tile) argument 531 recycleTile(Tile tile) argument 632 drawTile( Tile tile, GLCanvas canvas, RectF source, RectF target) argument 762 push(Tile tile) argument 773 contains(Tile tile) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSTileHost.java | 54 /** Platform implementation of the quick settings tile host **/ 94 mTiles.values().forEach(tile -> tile.destroy()); 181 mTiles.entrySet().stream().filter(tile -> !tileSpecs.contains(tile.getKey())).forEach( 182 tile -> { 183 if (DEBUG) Log.d(TAG, "Destroying tile: " + tile.getKey()); 184 tile.getValue().destroy(); 188 QSTile tile 248 addTile(ComponentName tile) argument 254 removeTile(ComponentName tile) argument 293 createTileView(QSTile tile, boolean collapsedView) argument [all...] |
H A D | TileLayout.java | 41 public int getOffsetTop(TileRecord tile) { argument 50 record.tile.setListening(this, mListening); 54 public void addTile(TileRecord tile) { argument 55 mRecords.add(tile); 56 tile.tile.setListening(this, mListening); 57 addView(tile.tileView); 61 public void removeTile(TileRecord tile) { argument 62 mRecords.remove(tile); 63 tile [all...] |
H A D | QSPanel.java | 56 /** View that represents the quick settings tile panel. **/ 168 record.tile.removeCallbacks(); 190 QSTile tile = getTile(subPanel); 191 showDetailAdapter(true, tile.getDetailAdapter(), new int[]{getWidth() / 2, 0}); 196 if (subPanel.equals(mRecords.get(i).tile.getTileSpec())) { 197 return mRecords.get(i).tile; 248 r.tile.clearState(); 321 r.tile.refreshState(); 353 record.tile.removeCallback(record.callback); 356 for (QSTile tile 365 createTileView(QSTile tile, boolean collapsedView) argument 373 addTile(final QSTile tile, boolean collapsedView) argument 535 clickTile(ComponentName tile) argument 550 getTileView(QSTile tile) argument 589 public QSTile tile; field in class:QSPanel.TileRecord 596 addTile(TileRecord tile) argument 598 removeTile(TileRecord tile) argument 600 getOffsetTop(TileRecord tile) argument [all...] |
H A D | QuickQSPanel.java | 134 for (QSTile tile : tiles) { 135 quickTiles.add(tile); 172 record.tile.setListening(this, mListening); 177 public void addTile(TileRecord tile) { argument 182 addView(tile.tileView, getChildCount(), generateLayoutParams()); 183 mRecords.add(tile); 184 tile.tile.setListening(this, mListening); 203 public void removeTile(TileRecord tile) { argument 204 int childIndex = getChildIndex(tile 226 getOffsetTop(TileRecord tile) argument [all...] |
H A D | PagedTileLayout.java | 156 public int getOffsetTop(TileRecord tile) { argument 157 final ViewGroup parent = (ViewGroup) tile.tileView.getParent(); 163 public void addTile(TileRecord tile) { argument 164 mTiles.add(tile); 169 public void removeTile(TileRecord tile) { argument 170 if (mTiles.remove(tile)) { 193 TileRecord tile = mTiles.get(i); 197 + tile.tile.getClass().getSimpleName()); 202 if (DEBUG) Log.d(TAG, "Adding " + tile [all...] |
H A D | AutoAddTracker.java | 64 public boolean isAdded(String tile) { argument 65 return mAutoAdded.contains(tile); 68 public void setTileAdded(String tile) { argument 69 if (mAutoAdded.add(tile)) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
H A D | ThreadUtil.java | 25 void addTile(int generation, TileList.Tile<T> tile); argument 39 void recycleTile(TileList.Tile<T> tile); argument
|
H A D | 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()); 245 int endPosition = tile.mStartPosition + tile [all...] |
H A D | TileList.java | 78 Tile<T> tile = mTiles.get(startPosition); 79 if (mLastAccessedTile == tile) { 83 return tile;
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
H A D | NekoTile.java | 68 Tile tile = getQsTile(); 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();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
H A D | TileQueryHelper.java | 66 // Enqueue jobs to fetch every system tile and then ever package tile. 80 final QSTile tile = mHost.createTile(spec); 81 if (tile == null) { 83 } else if (!tile.isAvailable()) { 84 tile.destroy(); 87 tile.setListening(this, true); 88 tile.clearState(); 89 tile.refreshState(); 90 tile [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | TileServices.java | 82 public TileServiceManager getTileWrapper(CustomTile tile) { argument 83 ComponentName component = tile.getComponent(); 84 TileServiceManager service = onCreateTileService(component, tile.getQsTile()); 86 mServices.put(tile, service); 87 mTiles.put(component, tile); 88 mTokenMap.put(service.getToken(), tile); 93 protected TileServiceManager onCreateTileService(ComponentName component, Tile tile) { argument 94 return new TileServiceManager(this, mHandler, component, tile); 97 public void freeService(CustomTile tile, TileServiceManager service) { argument 101 mServices.remove(tile); 141 verifyCaller(CustomTile tile) argument 174 updateQsTile(Tile tile, IBinder token) argument [all...] |
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 122 void addQsTile(in ComponentName tile); 123 void remQsTile(in ComponentName tile); 124 void clickQsTile(in ComponentName tile);
|
H A D | IStatusBarService.aidl | 76 void addTile(in ComponentName tile); 77 void remTile(in ComponentName tile); 78 void clickTile(in ComponentName tile);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | LinearGradient.java | 56 * @param tile The Shader tiling mode 59 @Nullable float positions[], @NonNull TileMode tile) { 73 mTileMode = tile; 85 * @param tile The Shader tiling mode 89 @NonNull TileMode tile) { 99 mTileMode = tile; 58 LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int colors[], @Nullable float positions[], @NonNull TileMode tile) argument 87 LinearGradient(float x0, float y0, float x1, float y1, @ColorInt int color0, @ColorInt int color1, @NonNull TileMode tile) argument
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/ |
H A D | QSFactory.java | 34 QSTileView createTileView(QSTile tile, boolean collapsedView); argument
|
H A D | QSTileView.java | 37 public abstract void init(QSTile tile); argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
H A D | TileLayoutTest.java | 54 // Layout needs to leave space for the tile margins. Three times the margin size is 62 tileRecord.tile = mock(QSTile.class); 71 verify(tileRecord.tile, times(1)).setListening(mTileLayout, false); 79 verify(tileRecord.tile, times(1)).setListening(mTileLayout, true); 87 verify(tileRecord.tile, times(1)).setListening(any(), anyBoolean()); 95 verify(tileRecord.tile, times(1)).setListening(mTileLayout, true); 104 verify(tileRecord.tile, times(1)).setListening(mTileLayout, false); 115 verify(tileRecord1.tile, times(1)).setListening(mTileLayout, false); 116 verify(tileRecord2.tile, times(1)).setListening(mTileLayout, false);
|