Home
last modified time | relevance | path

Searched refs:tile (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java310 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/
DAsyncListUtil.java228 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 …]
DTileList.java78 Tile<T> tile = mTiles.get(startPosition); in removeAtPos() local
79 if (mLastAccessedTile == tile) { in removeAtPos()
83 return tile; in removeAtPos()
DThreadUtil.java25 void addTile(int generation, TileList.Tile<T> tile); in addTile() argument
39 void recycleTile(TileList.Tile<T> tile); in recycleTile() argument
DMessageThreadUtil.java43 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/
DLinearGradient.java53 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/
DQSPanel.java162 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 …]
DUsageTracker.java41 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/
DQSTileHost.java217 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/
DThreadUtilTest.java107 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/
DLinearGradient_Delegate.java92 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()
DRadialGradient_Delegate.java90 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/
DQsTuner.java235 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/
DSetupWizardLayout.java373 final Drawable tile = context.getResources().getDrawable(horizontalTile); in getIllustration() local
374 return getIllustration(assetDrawable, tile); in getIllustration()
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd256 <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>