Searched refs:tile (Results 1 – 18 of 18) sorted by relevance
254 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() local255 int level = tile.mTileLevel; in layoutTiles()257 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()261 recycleTile(tile); in layoutTiles()285 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() local286 recycleTile(tile); in invalidateTiles()386 Tile tile = mRecycledQueue.pop(); in freeTextures() local387 while (tile != null) { in freeTextures()388 tile.recycle(); in freeTextures()389 tile = mRecycledQueue.pop(); in freeTextures()[all …]
311 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() local312 int level = tile.mTileLevel; in layoutTiles()314 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()318 recycleTile(tile); in layoutTiles()343 Tile tile = mActiveTiles.valueAt(i); in invalidateTiles() local344 recycleTile(tile); in invalidateTiles()396 Tile tile = mRecycledQueue.pop(); in freeTextures() local397 while (tile != null) { in freeTextures()398 tile.recycle(); in freeTextures()399 tile = mRecycledQueue.pop(); in freeTextures()[all …]
310 Tile tile = mActiveTiles.valueAt(i); in layoutTiles() local311 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() local343 recycleTile(tile); in invalidateTiles()395 Tile tile = mRecycledQueue.pop(); in freeTextures() local396 while (tile != null) { in freeTextures()397 tile.recycle(); in freeTextures()398 tile = mRecycledQueue.pop(); in freeTextures()[all …]
1133 DashboardTile tile = new DashboardTile(); in loadCategoriesFromResource() local1137 tile.id = sa.getResourceId( in loadCategoriesFromResource()1144 tile.titleRes = tv.resourceId; in loadCategoriesFromResource()1146 tile.title = tv.string; in loadCategoriesFromResource()1153 tile.summaryRes = tv.resourceId; in loadCategoriesFromResource()1155 tile.summary = tv.string; in loadCategoriesFromResource()1158 tile.iconRes = sa.getResourceId( in loadCategoriesFromResource()1160 tile.fragment = sa.getString( in loadCategoriesFromResource()1182 tile.intent = Intent.parseIntent(context.getResources(), parser, in loadCategoriesFromResource()1191 tile.fragmentArguments = curBundle; in loadCategoriesFromResource()[all …]
212 DashboardTile tile) { in updateTileToSpecificActivityFromMetaDataOrRemove() argument214 Intent intent = tile.intent; in updateTileToSpecificActivityFromMetaDataOrRemove()218 List<ResolveInfo> list = tile.userHandle.size() != 0 in updateTileToSpecificActivityFromMetaDataOrRemove()220 tile.userHandle.get(0).getIdentifier()) in updateTileToSpecificActivityFromMetaDataOrRemove()263 tile.iconRes = icon; in updateTileToSpecificActivityFromMetaDataOrRemove()264 tile.iconPkg = resolveInfo.activityInfo.packageName; in updateTileToSpecificActivityFromMetaDataOrRemove()265 tile.title = title; in updateTileToSpecificActivityFromMetaDataOrRemove()266 tile.summary = summary; in updateTileToSpecificActivityFromMetaDataOrRemove()268 tile.intent = new Intent().setClassName(resolveInfo.activityInfo.packageName, in updateTileToSpecificActivityFromMetaDataOrRemove()
94 for (DashboardTile tile : category.tiles) { in getDrawableResource()95 if (tile.id == topLevelId) { in getDrawableResource()96 return tile.iconRes; in getDrawableResource()
37 public static void show(FragmentManager manager, DashboardTile tile) { in show() argument40 args.putParcelable(ARG_SELECTED_TILE, tile); in show()
157 DashboardTile tile = category.getTile(i); in rebuildUI() local160 updateTileView(context, res, tile, tileView.getImageView(), in rebuildUI()163 tileView.setTile(tile); in rebuildUI()175 private void updateTileView(Context context, Resources res, DashboardTile tile, in updateTileView() argument178 if (!TextUtils.isEmpty(tile.iconPkg)) { in updateTileView()181 .getResourcesForApplication(tile.iconPkg).getDrawable(tile.iconRes, null); in updateTileView()182 if (!tile.iconPkg.equals(context.getPackageName()) && drawable != null) { in updateTileView()194 } else if (tile.iconRes > 0) { in updateTileView()195 tileIcon.setImageResource(tile.iconRes); in updateTileView()201 tileTextView.setText(tile.getTitle(res)); in updateTileView()[all …]
74 public void addTile(DashboardTile tile) { in addTile() argument75 tiles.add(tile); in addTile()78 public void addTile(int n, DashboardTile tile) { in addTile() argument79 tiles.add(n, tile); in addTile()82 public void removeTile(DashboardTile tile) { in removeTile() argument83 tiles.remove(tile); in removeTile()126 DashboardTile tile = tiles.get(n); in writeToParcel() local127 tile.writeToParcel(dest, flags); in writeToParcel()140 DashboardTile tile = DashboardTile.CREATOR.createFromParcel(in); in readFromParcel() local141 tiles.add(tile); in readFromParcel()
76 public void setTile(DashboardTile tile) { in setTile() argument77 mTile = tile; in setTile()
161 private static void freeTile(Tile tile) { in freeTile() argument162 tile.invalidateContent(); in freeTile()163 tile.bitmap = null; in freeTile()165 tile.nextFreeTile = sFreeTileHead; in freeTile()166 sFreeTileHead = tile; in freeTile()209 Tile tile = obtainTile(); in TiledTexture() local210 tile.offsetX = x; in TiledTexture()211 tile.offsetY = y; in TiledTexture()212 tile.bitmap = bitmap; in TiledTexture()213 tile.setSize( in TiledTexture()[all …]
142 MessageAttachmentTile tile = (MessageAttachmentTile) tileGrid.getChildAt(i); in showAndDownloadAttachments() local143 queue.add(tile); in showAndDownloadAttachments()150 MessageAttachmentTile tile = queue.remove(); in showAndDownloadAttachments() local151 tile.downloadAttachment(maxAdditionalPriority - i, i != 0); in showAndDownloadAttachments()
1dictionary=main:en,locale=en,description=English,date=1414726273, ...
1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...