/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
DashboardCategory.java | 46 public List<Tile> tiles = new ArrayList<Tile>(); 53 public void addTile(Tile tile) { 54 tiles.add(tile); 57 public void addTile(int n, Tile tile) { 58 tiles.add(n, tile); 61 public void removeTile(Tile tile) { 92 Tile tile = tiles.get(n); local 105 Tile tile = Tile.CREATOR.createFromParcel(in); local [all...] |
SettingsDrawerAdapter.java | 45 Item tile = new Item(); local 46 tile.label = mActivity.getString(R.string.home); 47 tile.icon = Icon.createWithResource(mActivity, R.drawable.home); 48 mItems.add(tile); 56 tile = new Item(); 57 Tile dashboardTile = dashboardCategory.tiles.get(j); 58 tile.label = dashboardTile.title; 59 tile.icon = dashboardTile.icon; 60 tile.tile = dashboardTile 120 public Tile tile; field in class:SettingsDrawerAdapter.Item [all...] |
/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)
|
/external/opencv3/modules/cudev/include/opencv2/cudev/grid/detail/ |
transpose.hpp | 63 __shared__ src_type tile[TILE_DIM][TILE_DIM + 1]; local 89 tile[threadIdx.y + i][threadIdx.x] = src(yIndex + i, xIndex); 105 dst(yIndex + i, xIndex) = saturate_cast<DstType>(tile[threadIdx.x][threadIdx.y + i]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
TileQueryHelper.java | 67 final QSTile<?> tile = host.createTile(spec); local 68 if (tile == null || !tile.isAvailable()) { 71 tile.setListening(this, true); 72 tile.clearState(); 73 tile.refreshState(); 74 tile.setListening(this, false); 78 final QSTile.State state = tile.newTileState(); 79 tile.getState().copyTo(state); 81 state.label = tile.getTileLabel() [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoTile.java | 18 import android.service.quicksettings.Tile; 55 Tile tile = getQsTile(); local 58 tile.setIcon(food.getIcon(this)); 59 tile.setLabel(food.getName(this)); 60 tile.setState(foodState != 0 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE); 61 tile.updateTile();
|
/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.
|
/external/skia/gm/ |
image_shader.cpp | 102 const SkShader::TileMode tile = SkShader::kRepeat_TileMode; local 104 SkAutoTUnref<SkShader> shader(image->newShader(tile, tile, &localM));
|
pictureshader.cpp | 185 SkRect tile = SkRect::MakeWH(100, 100); local 188 SkCanvas* c = recorder.beginRecording(tile); 190 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/base/packages/SystemUI/src/com/android/systemui/qs/ |
QuickQSPanel.java | 87 State copy = r.tile.newTileState(); 98 protected QSTileBaseView createTileView(QSTile<?> tile, boolean collapsedView) { 99 return new QSTileBaseView(mContext, tile.createTileView(mContext), collapsedView); 116 protected void onTileClick(QSTile<?> tile) { 117 tile.secondaryClick(); 132 for (QSTile<?> tile : tiles) { 133 quickTiles.add(tile); 190 record.tile.setListening(this, mListening); 195 public void addTile(TileRecord tile) { 196 addView(tile.tileView, getChildCount() - 1 /* Leave icon at end */ [all...] |
TileLayout.java | 41 public int getOffsetTop(TileRecord tile) { 50 record.tile.setListening(this, mListening); 54 public void addTile(TileRecord tile) { 55 mRecords.add(tile); 56 tile.tile.setListening(this, mListening); 57 addView(tile.tileView); 61 public void removeTile(TileRecord tile) { 62 mRecords.remove(tile); 63 tile.tile.setListening(this, false) [all...] |
QSPanel.java | 48 /** View that represents the quick settings tile panel. **/ 131 record.tile.removeCallbacks(); 150 QSTile<?> tile = getTile(subPanel); local 151 showDetailAdapter(true, tile.getDetailAdapter(), new int[] {getWidth() / 2, 0}); 156 if (subPanel.equals(mRecords.get(i).tile.getTileSpec())) { 157 return mRecords.get(i).tile; 196 r.tile.clearState(); 256 r.tile.refreshState(); 288 record.tile.removeCallback(record.callback); 291 for (QSTile<?> tile : tiles) 524 public QSTile<?> tile; field in class:QSPanel.TileRecord [all...] |
/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/libvpx/libvpx/vp9/common/ |
vp9_mvref_common.c | 29 const TileInfo *const tile = &xd->tile; local 39 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 61 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 103 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) {
|
/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;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
CustomTile.java | 31 import android.service.quicksettings.Tile; 57 private final Tile mTile; 74 mTile = new Tile(mComponent); 131 public void onTileChanged(ComponentName tile) { 148 public Tile getQsTile() { 152 public void updateState(Tile tile) { 153 mTile.setIcon(tile.getIcon()); 154 mTile.setLabel(tile.getLabel()); 155 mTile.setContentDescription(tile.getContentDescription()) [all...] |
/external/opencv3/3rdparty/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. 175 * Compute the # bytes in a variable length, row-aligned tile. 242 * Compute the # bytes in a row-aligned tile. 266 * Compute a default tile size based on the image
|
/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...] |