/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapShaderTest.java | 46 Bitmap tile = Bitmap.createBitmap(TILE_WIDTH, TILE_HEIGHT, Config.ARGB_8888); local 47 tile.eraseColor(BORDER_COLOR); 48 Canvas c = new Canvas(tile); 53 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT, 72 * Check the colors of the tile at the given coordinates in the given
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_tile_cache.c | 29 * Render target tile caching. 46 * Return the position in the cache for the tile that contains win pos (x,y). 57 * Is the tile at (x,y) in cleared state? 71 * Mark the tile at (x,y) as not cleared. 110 tc->tile = MALLOC_STRUCT( softpipe_cached_tile ); 111 if (!tc->tile) 141 FREE( tc->tile ); 217 * Set pixels in a tile to the given clear color/value, float. 220 clear_tile_rgba(struct softpipe_cached_tile *tile, 228 memset(tile->data.color, 0, sizeof(tile->data.color)) 439 struct softpipe_cached_tile *tile = tc->entries[pos]; local 464 struct softpipe_cached_tile * tile = MALLOC_STRUCT(softpipe_cached_tile); local 506 struct softpipe_cached_tile *tile = tc->entries[pos]; local [all...] |
sp_tile_cache.h | 40 * Cache tile size (width and height). This needs to be a power of two. 50 * Surface tile address as a union for fast compares. 95 struct softpipe_cached_tile *tile; /**< scratch tile for clears */ member in struct:softpipe_tile_cache 98 struct softpipe_cached_tile *last_tile; /**< most recently retrieved tile */ 147 /* Quickly retrieve tile if it matches last lookup.
|
/external/pdfium/third_party/libtiff/ |
tif_tile.c | 35 * Compute which tile an (x,y,z,s) value is in. 44 uint32 tile = 1; local 60 tile = (xpt*ypt*zpt)*s + 65 tile = (xpt*ypt)*(z/dz) + xpt*(y/dy) + x/dx; 67 return (tile); 141 * Compute the # bytes in each row of a tile. 153 TIFFErrorExt(tif->tif_clientdata,module,"Tile length is zero"); 158 TIFFErrorExt(tif->tif_clientdata,module,"Tile width is zero"); 176 TIFFErrorExt(tif->tif_clientdata,module,"Computed tile row size is zero"); 198 * Compute the # bytes in a variable length, row-aligned tile [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
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) local [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
ThreadUtilTest.java | 69 public void addTile(int generation, TileList.Tile<Integer> data) { 104 public void recycleTile(TileList.Tile<Integer> data) { 126 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10); local 127 mMainThreadProxy.addTile(3, tile); 129 assertThat(data, is(new Object[]{3, tile})); 169 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10) local [all...] |
/packages/apps/Settings/src/com/android/settings/security/ |
SecurityFeatureProviderImpl.java | 39 import com.android.settingslib.drawer.Tile; 88 Tile tile = dashboardCategory.getTile(i); local 89 // If the tile does not have a key or appropriate meta data, skip it. 90 if (TextUtils.isEmpty(tile.key) || (tile.metaData == null)) { 93 Preference matchingPref = preferenceScreen.findPreference(tile.key); 94 // If the tile does not have a matching preference, skip it. 102 tile.metaData.getString(TileUtils.META_DATA_PREFERENCE_ICON_URI, null); 119 tile.metaData.getString(TileUtils.META_DATA_PREFERENCE_SUMMARY_URI, null) 135 Tile tile = dashboardCategory.getTile(i); local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
AccountDetailDashboardFragmentTest.java | 32 import com.android.settingslib.drawer.Tile; 92 final Tile tile = new Tile(); local 96 tile.metaData = metaData; 98 assertThat(mFragment.displayTile(tile)).isTrue(); 103 final Tile tile = new Tile(); local 106 tile.metaData = metaData 113 final Tile tile = new Tile(); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
TileServices.java | 33 import android.service.quicksettings.Tile; 82 public TileServiceManager getTileWrapper(CustomTile tile) { 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); local 93 protected TileServiceManager onCreateTileService(ComponentName component, Tile tile) { 94 return new TileServiceManager(this, mHandler, component, tile); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 37 // upload the whole bitmap but we reduce the time of uploading each tile 49 private static Tile sFreeTileHead = null; 59 private final Tile[] mTiles; // Can be modified in different threads. 112 private static class Tile extends UploadedTexture { 116 public Tile nextFreeTile; 161 private static void freeTile(Tile tile) { 162 tile.invalidateContent(); 163 tile.bitmap = null; 165 tile.nextFreeTile = sFreeTileHead 209 Tile tile = obtainTile(); local [all...] |
/external/ImageMagick/MagickCore/ |
montage.c | 119 if (montage_info->tile != (char *) NULL) 120 clone_info->tile=AcquireString(montage_info->tile); 177 if (montage_info->tile != (char *) NULL) 178 montage_info->tile=DestroyString(montage_info->tile); 257 % MontageImageList() is a layout manager that lets you tile one or more 331 #define TileImageTag "Tile/Image" 398 tile, 449 for (tile=0; (ssize_t) tile <= i; tile++ 393 tile, local [all...] |
identify.c | 1127 *tile; local [all...] |
/external/dng_sdk/source/ |
dng_image.cpp | 29 const dng_rect &tile, 38 tile, 55 const dng_rect &tile) 57 : dng_tile_buffer (image, tile, false) 73 const dng_rect &tile) 75 : dng_tile_buffer (image, tile, true) 225 dng_rect tile; local 229 while (iter.GetOneTile (tile)) 232 dng_const_tile_buffer tileBuffer (*this, tile); 235 tile, 248 dng_rect tile; local [all...] |
dng_utils.cpp | 175 // Convert tile size to uint32. 178 ThrowMemoryFull("Negative tile size"); 442 dng_rect tile; local 446 while (iter.GetOneTile (tile)) 449 dng_const_tile_buffer buffer (image, tile); 451 const void *sPtr = buffer.ConstPixel (tile.t, 452 tile.l, 456 uint32 count1 = tile.H (); 457 uint32 count2 = tile.W (); 557 const dng_rect &tile, [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_segmentation.c | 105 const TileInfo *tile, MODE_INFO **mi, 117 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols); 142 const TileInfo *tile, MODE_INFO **mi, 157 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, 160 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, 162 count_segs(cm, xd, tile, mi + hbs * mis, no_pred_segcounts, 166 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count, 168 count_segs(cm, xd, tile, mi + hbs, no_pred_segcounts, 181 count_segs_sb(cm, xd, tile, &mi[mi_dr * mis + mi_dc], no_pred_segcounts, 212 TileInfo tile; local [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_rast_debug.c | 5 struct tile { struct 114 static void plot(struct tile *tile, 119 if (tile->data[x][y] == ' ') 120 tile->coverage++; 122 tile->overdraw++; 124 tile->data[x][y] = val; 135 struct tile *tile, 142 if (!tile->state 290 struct tile tile; local 348 struct tile tile; local [all...] |
lp_scene.h | 93 * For each screen tile we have one of these bins. 109 * the per-tile bins will point to chunks of data in this structure. 123 * Per-bin data goes into the 'tile' bins. 164 * This basically the framebuffer size divided by tile size 171 struct cmd_bin tile[TILES_X][TILES_Y]; member in struct:lp_scene 276 /** Return pointer to a particular tile's bin. */ 280 return &scene->tile[x][y];
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_texture_desc.c | 60 unsigned tile = 0; local 71 tile = aa_block[dim]; 75 tile = table[macrotile][util_logbase2(pixsize)][microtile][dim]; 81 if (tile < align) 82 tile = align; 86 assert(tile); 87 return tile; 96 unsigned tile, texdim; local 98 tile = r300_get_pixel_alignment(tex->b.b.format, tex->b.b.nr_samples, 108 return texdim >= tile; [all...] |
/external/skia/src/core/ |
SkPictureShader.cpp | 34 const SkRect& tile, 40 , fTile(tile) 101 const SkMatrix* localMatrix, const SkRect* tile) 104 , fTile(tile ? *tile : fPicture->cullRect()) 110 const SkMatrix* localMatrix, const SkRect* tile) { 111 if (!picture || picture->cullRect().isEmpty() || (tile && tile->isEmpty())) { 114 return sk_sp<SkShader>(new SkPictureShader(std::move(picture), tmx, tmy, localMatrix, tile)); 122 SkRect tile; local [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
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); local 109 if (tileBlacklist.contains(tile.intent.getComponent())) { 142 Map<Pair<String, String>, Tile> tileByComponentCache, 148 // Build a package name -> tile map first. 149 final Map<String, List<Tile>> packageToTileMap = new HashMap<>() 216 final Tile tile = category.tiles.get(i); local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 52 * This is the tile state in the CPU side. 53 * Life of a Tile: 88 // The offsets of the (left, top) of the upper-left tile to the (left, top) 99 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 131 // The tile returned by this method can be specified this way: Assuming 200 // 1. Decide the tile level we want to use for display. 201 // 2. Decide the tile levels we want to keep as texture (in addition to 210 // The tile levels we want to keep as texture is in the range 218 // We want to keep one more tile level as texture in addition to wha 254 Tile tile = mActiveTiles.valueAt(i); local 285 Tile tile = mActiveTiles.valueAt(i); local 386 Tile tile = mRecycledQueue.pop(); local 470 Tile tile = mActiveTiles.valueAt(i); local 513 Tile tile = mRecycledQueue.pop(); local 537 Tile tile = mActiveTiles.get(key); local 568 Tile tile = null; local 596 Tile tile = getTile(tx, ty, level); local 739 Tile tile = mHead; local 772 Tile tile = null; local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
SecurityFeatureProviderImplTest.java | 34 import com.android.settingslib.drawer.Tile; 118 dashboardCategory.addTile(new Tile()); 222 Tile tile = new Tile(); local 223 tile.key = MOCK_KEY; 224 dashboardCategory.addTile(tile);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageAttachmentTile.java | 142 MessageAttachmentTile tile = (MessageAttachmentTile) tileGrid.getChildAt(i); local 143 queue.add(tile); 150 MessageAttachmentTile tile = queue.remove(); local 151 tile.downloadAttachment(maxAdditionalPriority - i, i != 0);
|
/external/ImageMagick/MagickWand/ |
composite.c | 76 tile; 185 if (composite_options->tile != MagickFalse) 195 Tile the composite image. 332 "-tile repeat composite operation across and down image", 74 tile; member in struct:_CompositeOptions [all...] |
/external/ImageMagick/coders/ |
json.c | 1241 *tile; local [all...] |