HomeSort by relevance Sort by last modified time
    Searched defs:tile (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /external/mesa3d/src/gallium/auxiliary/util/
u_linear.h 61 /* size of each tile expressed in blocks */
65 /* Describe the tile in pixels */
66 struct u_linear_format_block tile; member in struct:pipe_tile_info
68 /* Describe each block within the tile */
82 * @tile_width the width of the tile in pixels
83 * @tile_height the height of the tile in pixels
94 if (t->tile.size != t->block.size * t->cols * t->rows)
  /packages/apps/Settings/src/com/android/settings/dashboard/
DashboardCategory.java 37 * Identifier for this tile, to correlate with a new list when
74 public void addTile(DashboardTile tile) {
75 tiles.add(tile);
78 public void addTile(int n, DashboardTile tile) {
79 tiles.add(n, tile);
82 public void removeTile(DashboardTile tile) {
83 tiles.remove(tile);
126 DashboardTile tile = tiles.get(n); local
127 tile.writeToParcel(dest, flags);
140 DashboardTile tile = DashboardTile.CREATOR.createFromParcel(in) local
    [all...]
DashboardSummary.java 157 DashboardTile tile = category.getTile(i); local
160 updateTileView(context, res, tile, tileView.getImageView(),
163 tileView.setTile(tile);
175 private void updateTileView(Context context, Resources res, DashboardTile tile,
178 if (!TextUtils.isEmpty(tile.iconPkg)) {
181 .getResourcesForApplication(tile.iconPkg).getDrawable(tile.iconRes, null);
182 if (!tile.iconPkg.equals(context.getPackageName()) && drawable != null) {
194 } else if (tile.iconRes > 0) {
195 tileIcon.setImageResource(tile.iconRes)
    [all...]
  /cts/apps/CameraITS/tests/dng_noise_model/
dng_noise_model.py 31 # tile_size, row, col] where row, col are tile indices.
32 def tile(a, tile_size): function
140 # Crop the plane to be a multiple of the tile size.
155 np.mean(tile(p, tile_size), axis=(0, 1)).flatten()
157 np.var(tile(hp, tile_size), axis=(0, 1)).flatten()
160 # Don't include the tile if it has samples that might
217 a = a/(np.tile(gains, (a.shape[1], 1)).T)
  /external/libdrm/libkms/
intel.c 123 struct drm_i915_gem_set_tiling tile; local
125 memset(&tile, 0, sizeof(tile));
126 tile.handle = bo->base.handle;
127 tile.tiling_mode = I915_TILING_X;
128 tile.stride = bo->base.pitch;
130 ret = drmCommandWriteRead(kms->fd, DRM_I915_GEM_SET_TILING, &tile, sizeof(tile));
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_quad_depth_test_tmp.h 61 struct softpipe_cached_tile *tile; local
74 tile = sp_get_cached_tile(qs->softpipe->zsbuf_cache, ix, iy);
88 &tile->data.depth16[iy % TILE_SIZE][(ix + dx)% TILE_SIZE];
sp_tex_tile_cache.c 29 * Texture tile caching.
61 tc->last_tile = &tc->entries[0]; /* any tile */
185 * Flush the tile cache: write all dirty tiles back to the transfer.
207 * cached texture tile.
231 struct softpipe_tex_cached_tile *tile; local
234 tile = tc->entries + tex_cache_pos( addr );
236 if (addr.value != tile->addr.value) {
245 " tile %u: x=%d y=%d z=%d face=%d level=%d\n",
247 pos, tile->addr.bits.x, tile->addr.bits.y, tile->z, tile->face, tile->level)
    [all...]
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.
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapShaderTest.java 39 Bitmap tile = Bitmap.createBitmap(TILE_WIDTH, TILE_HEIGHT, Config.ARGB_8888); local
40 tile.eraseColor(BORDER_COLOR);
41 Canvas c = new Canvas(tile);
46 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT,
65 * Check the colors of the tile at the given coordinates in the given
  /external/mesa3d/src/gallium/winsys/i915/drm/
i915_drm_buffer.c 99 uint32_t tile = 0, swizzle = 0; local
112 drm_intel_bo_get_tiling(buf->bo, &tile, &swizzle);
115 *tiling = tile;
  /external/skia/gm/
pictureshader.cpp 188 SkRect tile = SkRect::MakeWH(100, 100); local
191 SkCanvas* c = recorder.beginRecording(tile);
193 SkRect r = tile;
pictureshadertile.cpp 108 SkRect tile = SkRect::MakeXYWH(tiles[i].x * kPictureSize, variable
119 SkRect* tilePtr = &tile;
121 if (tile == SkRect::MakeWH(kPictureSize, kPictureSize)) {
122 // When the tile == picture bounds, exercise the picture + offset path.
  /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 54 public void addTile(int generation, TileList.Tile<Integer> data) {
89 public void recycleTile(TileList.Tile<Integer> data) {
107 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10); local
108 mMainThreadProxy.addTile(3, tile);
110 assertThat(data, is(new Object[]{3, tile}));
148 TileList.Tile<Integer> tile = new TileList.Tile<Integer>(Integer.class, 10) local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSPanel.java 48 /** View that represents the quick settings tile panel. **/
162 r.tile.clearState();
203 r.tile.setListening(mListening);
218 r.tile.refreshState();
260 for (QSTile<?> tile : tiles) {
261 addTile(tile);
274 private void addTile(final QSTile<?> tile) {
276 r.tile = tile;
277 r.tileView = tile.createTileView(mContext)
600 public QSTile<?> tile; field in class:QSPanel.TileRecord
    [all...]
  /external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
TextureAtlas.java 250 //need to make new tile
257 //got old tile to align to
262 throw new IllegalStateException(mapName + " " + name + " does not fit " + rootMapName + " tile size. Make sure all textures (diffuse, normal, specular) for one model are the same size.");
445 TextureAtlasTile tile = getAtlasTile(tex); local
446 if (tile != null) {
449 tile.transformTextureCoords(inPos, offset, outPos);
  /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/libvpx/libvpx/vp9/encoder/
vp9_segmentation.c 114 const TileInfo *tile, MODE_INFO **mi,
127 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols);
153 const TileInfo *tile, MODE_INFO **mi,
170 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count,
173 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count,
175 count_segs(cm, xd, tile, mi + hbs * mis, no_pred_segcounts,
179 count_segs(cm, xd, tile, mi, no_pred_segcounts, temporal_predictor_count,
181 count_segs(cm, xd, tile, mi + hbs,
194 count_segs_sb(cm, xd, tile, &mi[mi_dr * mis + mi_dc],
226 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 28 const SkRect& tile,
34 , fTile(tile)
84 SkBitmap tile; local
85 rec.fShader.get()->asABitmap(&tile, NULL, NULL);
89 SkAutoLockPixels alp(tile, true);
90 return tile.getPixels() != NULL;
105 const SkMatrix* localMatrix, const SkRect* tile)
108 , fTile(tile ? *tile : picture->cullRect())
118 const SkMatrix* localMatrix, const SkRect* tile) {
130 SkRect tile; local
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
vp9_segmentation.c 123 static void count_segs(VP9_COMP *cpi, const TileInfo *const tile,
139 set_mi_row_col(xd, tile, mi_row, bh, mi_col, bw, cm->mi_rows, cm->mi_cols);
164 static void count_segs_sb(VP9_COMP *cpi, const TileInfo *const tile,
183 count_segs(cpi, tile, mi_8x8, no_pred_segcounts, temporal_predictor_count,
186 count_segs(cpi, tile, mi_8x8, no_pred_segcounts, temporal_predictor_count,
188 count_segs(cpi, tile, mi_8x8 + hbs * mis, no_pred_segcounts,
192 count_segs(cpi, tile, mi_8x8, no_pred_segcounts, temporal_predictor_count,
194 count_segs(cpi, tile, mi_8x8 + hbs,
207 count_segs_sb(cpi, tile, &mi_8x8[mi_dr * mis + mi_dc],
243 TileInfo tile; 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...]

Completed in 659 milliseconds

1 2 3 4