/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 310 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() local 311 int level = tile.mTileLevel; in layoutTiles() 313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles() 317 recycleTile(tile); in layoutTiles() 342 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() local 343 recycleTile(tile); in invalidateTiles() 395 Tile tile = mRecycledQueue.pop(); in freeTextures() local 396 while (tile != null) { in freeTextures() 397 tile.recycle(); in freeTextures() 398 tile = mRecycledQueue.pop(); in freeTextures() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
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); 243 generation, tile.mStartPosition, mTileList.size()); 245 int endPosition = tile.mStartPosition + tile.mItemCount; 249 if (tile.mStartPosition <= position && position < endPosition) { 263 TileList.Tile<T> tile = mTileList.removeAtPos(position); 264 if (tile == null) { 269 log("recycling tile @%d, total tiles: %d", tile.mStartPosition, mTileList.size()); [all …]
|
D | TileList.java | 78 Tile<T> tile = mTiles.get(startPosition); in removeAtPos() local 79 if (mLastAccessedTile == tile) { in removeAtPos() 83 return tile; in removeAtPos()
|
D | ThreadUtil.java | 25 void addTile(int generation, TileList.Tile<T> tile); in addTile() argument 39 void recycleTile(TileList.Tile<T> tile); in recycleTile() argument
|
D | MessageThreadUtil.java | 43 public void addTile(int generation, TileList.Tile<T> tile) { in getMainThreadProxy() argument 44 sendMessage(SyncQueueItem.obtainMessage(ADD_TILE, generation, tile)); in getMainThreadProxy() 111 public void recycleTile(TileList.Tile<T> tile) { in getBackgroundProxy() argument 112 sendMessage(SyncQueueItem.obtainMessage(RECYCLE_TILE, 0, tile)); in getBackgroundProxy()
|
/frameworks/base/graphics/java/android/graphics/ |
D | LinearGradient.java | 53 TileMode tile) { in LinearGradient() argument 67 mTileMode = tile; in LinearGradient() 68 init(nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt)); in LinearGradient() 81 TileMode tile) { in LinearGradient() argument 89 mTileMode = tile; in LinearGradient() 90 init(nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt)); in LinearGradient()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanel.java | 162 r.tile.clearState(); in updateResources() 203 r.tile.setListening(mListening); in setListening() 218 r.tile.refreshState(); in refreshAllTiles() 260 for (QSTile<?> tile : tiles) { in setTiles() 261 addTile(tile); in setTiles() 274 private void addTile(final QSTile<?> tile) { in addTile() argument 276 r.tile = tile; in addTile() 277 r.tileView = tile.createTileView(mContext); in addTile() 309 r.tile.setCallback(callback); in addTile() 313 r.tile.click(); in addTile() [all …]
|
D | UsageTracker.java | 41 public UsageTracker(Context context, @Prefs.Key String prefKey, Class<?> tile, in UsageTracker() argument 46 mResetAction = "com.android.systemui.qs." + tile.getSimpleName() + ".usage_reset"; in UsageTracker()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | QSTileHost.java | 217 for (Map.Entry<String, QSTile<?>> tile : mTiles.entrySet()) { in onTuningChanged() 218 if (!tileSpecs.contains(tile.getKey())) { in onTuningChanged() 219 if (DEBUG) Log.d(TAG, "Destroying tile: " + tile.getKey()); in onTuningChanged() 220 tile.getValue().destroy(); in onTuningChanged() 272 for (String tile : tileList.split(",")) { in loadTileSpecs() 273 tile = tile.trim(); in loadTileSpecs() 274 if (tile.isEmpty()) continue; in loadTileSpecs() 275 if (tile.equals("default")) { in loadTileSpecs() 281 tiles.add(tile); in loadTileSpecs()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | ThreadUtilTest.java | 107 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10); in testAddTile() local 108 mMainThreadProxy.addTile(3, tile); in testAddTile() 110 assertThat(data, is(new Object[]{3, tile})); in testAddTile() 148 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10); in testRecycleTile() local 149 mBackgroundProxy.recycleTile(tile); in testRecycleTile() 151 assertThat(data, is(new Object[]{tile})); in testRecycleTile()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | LinearGradient_Delegate.java | 92 int colors[], float positions[], TileMode tile) { in LinearGradient_Delegate() argument 94 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile); in LinearGradient_Delegate() 112 float positions[], TileMode tile) { in LinearGradientPaint() argument 113 super(colors, positions, tile); in LinearGradientPaint()
|
D | RadialGradient_Delegate.java | 90 TileMode tile) { in RadialGradient_Delegate() argument 92 mJavaPaint = new RadialGradientPaint(x, y, radius, mColors, mPositions, tile); in RadialGradient_Delegate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | QsTuner.java | 235 public void remove(String tile) { in remove() argument 236 MetricsLogger.action(getContext(), MetricsLogger.TUNER_QS_REMOVE, tile); in remove() local 238 tiles.remove(tile); in remove() 242 public void add(String tile) { in add() argument 243 MetricsLogger.action(getContext(), MetricsLogger.TUNER_QS_ADD, tile); in add() local 245 tiles.add(tile); in add() 516 new DragHelper(r.tileView, (DraggableTile) r.tile); in onMeasure() 517 r.tileView.setTag(r.tile); in onMeasure()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
D | SetupWizardLayout.java | 373 final Drawable tile = context.getResources().getDrawable(horizontalTile); in getIllustration() local 374 return getIllustration(assetDrawable, tile); in getIllustration()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | drawable-resource.jd | 256 <dd><em>Keyword</em>. Defines the tile mode. When the tile mode is enabled, the bitmap is 257 repeated. Gravity is ignored when the tile mode is enabled. 262 <td>Do not tile the bitmap. This is the default value.</td></tr>
|