/cts/apps/CameraITS/tests/dng_noise_model/ |
dng_noise_model.py | 32 # tile_size, row, col] where row, col are tile indices. 33 def tile(a, tile_size): function 139 # 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 /= (np.tile(gains, (a.shape[1], 1)).T)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
TileQueryHelper.java | 66 // Enqueue jobs to fetch every system tile and then ever package tile. 80 final QSTile tile = mHost.createTile(spec); local 81 if (tile == null) { 83 } else if (!tile.isAvailable()) { 84 tile.destroy(); 87 tile.setListening(this, true); 88 tile.clearState(); 89 tile.refreshState(); 90 tile.setListening(this, false) [all...] |
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/ |
ProfileSelectDialogTest.java | 61 final Tile tile = new Tile(); local 62 tile.intent = new Intent(); 63 tile.userHandle.add(NORMAL_USER); 65 ProfileSelectDialog.updateUserHandlesIfNeeded(mContext, tile); 67 assertEquals(tile.userHandle.size(), 1); 68 assertEquals(tile.userHandle.get(0).getIdentifier(), NORMAL_USER.getIdentifier()); 74 final Tile tile = new Tile() local [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)
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
DashboardCategory.java | 51 public List<Tile> tiles = new ArrayList<>(); 58 public void addTile(Tile tile) { 59 tiles.add(tile); 62 public void addTile(int n, Tile tile) { 63 tiles.add(n, tile); 66 public void removeTile(Tile tile) { 67 tiles.remove(tile); 113 Tile tile = tiles.get(n); local 126 Tile tile = Tile.CREATOR.createFromParcel(in); local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
SuggestionsChecksTest.java | 36 import com.android.settingslib.drawer.Tile; 81 Tile tile = createFingerprintTile(); local 82 assertThat(mSuggestionsChecks.isSuggestionComplete(tile)).isTrue(); 89 Tile tile = createFingerprintTile(); local 90 assertThat(mSuggestionsChecks.isSuggestionComplete(tile)).isFalse(); 97 Tile tile = createFingerprintTile(); local 98 assertThat(mSuggestionsChecks.isSuggestionComplete(tile)).isTrue() 108 Tile tile = createFingerprintTile(); local 118 Tile tile = new Tile(); local [all...] |
/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/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)) { 60 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) { 87 if (is_inside(tile, mi_col, mi_row, cm->mi_rows, mv_ref)) {
|
/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...] |
/external/skia/gm/ |
image_shader.cpp | 106 const SkShader::TileMode tile = SkShader::kRepeat_TileMode; local 109 paint.setShader(image->makeShader(tile, tile, &localM));
|
pictureshader.cpp | 183 SkRect tile = SkRect::MakeWH(100, 100); local 186 SkCanvas* c = recorder.beginRecording(tile); 188 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/ |
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...] |
QuickQSPanel.java | 134 for (QSTile tile : tiles) { 135 quickTiles.add(tile); 172 record.tile.setListening(this, mListening); 177 public void addTile(TileRecord tile) { 182 addView(tile.tileView, getChildCount(), generateLayoutParams()); 183 mRecords.add(tile); 184 tile.tile.setListening(this, mListening); 203 public void removeTile(TileRecord tile) { 204 int childIndex = getChildIndex(tile.tileView) [all...] |
QSPanel.java | 28 import android.service.quicksettings.Tile; 55 /** View that represents the quick settings tile panel. **/ 125 getColorForState(mContext, Tile.STATE_ACTIVE))); 164 record.tile.removeCallbacks(); 183 QSTile tile = getTile(subPanel); local 184 showDetailAdapter(true, tile.getDetailAdapter(), new int[]{getWidth() / 2, 0}); 189 if (subPanel.equals(mRecords.get(i).tile.getTileSpec())) { 190 return mRecords.get(i).tile; 234 r.tile.clearState(); 300 r.tile.refreshState() 490 QSTile tile = mRecords.get(i).tile; local 568 public QSTile tile; field in class:QSPanel.TileRecord [all...] |
QSTileHost.java | 27 import android.service.quicksettings.Tile; 54 /** Platform implementation of the quick settings tile host **/ 94 mTiles.values().forEach(tile -> tile.destroy()); 181 mTiles.entrySet().stream().filter(tile -> !tileSpecs.contains(tile.getKey())).forEach( 182 tile -> { 183 if (DEBUG) Log.d(TAG, "Destroying tile: " + tile.getKey()); 184 tile.getValue().destroy() 188 QSTile tile = mTiles.get(tileSpec); local [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
DashboardFeatureProviderImplTest.java | 40 import com.android.settingslib.drawer.Tile; 99 final Tile tile = new Tile(); local 100 tile.title = "title"; 101 tile.summary = "summary"; 102 tile.icon = Icon.createWithBitmap(Bitmap.createBitmap(1, 1, Bitmap.Config.RGB_565)); 103 tile.metaData = new Bundle(); 104 tile.metaData.putString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS, "HI"); 105 tile.priority = 10 121 final Tile tile = new Tile(); local 138 final Tile tile = new Tile(); local 159 final Tile tile = new Tile(); local 184 final Tile tile = new Tile(); local 211 final Tile tile = new Tile(); local 224 final Tile tile = new Tile(); local 237 final Tile tile = new Tile(); local 250 final Tile tile = new Tile(); local 264 final Tile tile = new Tile(); local 278 final Tile tile = new Tile(); local 304 final Tile tile = new Tile(); local [all...] |
/external/ImageMagick/Magick++/lib/ |
Montage.cpp | 150 void Magick::Montage::tile(const Geometry &tile_) function in class:Magick::Montage 155 Magick::Geometry Magick::Montage::tile(void) const function in class:Magick::Montage 220 // tile 222 Magick::CloneString(&montageInfo_.tile,_tile);
|
/external/ImageMagick/MagickCore/ |
montage.h | 37 *tile, member in struct:_MontageInfo
|
/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 | 32 import android.service.quicksettings.Tile; 61 private final Tile mTile; 78 mTile = new Tile(); 142 public void onTileChanged(ComponentName tile) { 164 public Tile getQsTile() { 168 public void updateState(Tile tile) { 169 mTile.setIcon(tile.getIcon()); 170 mTile.setLabel(tile.getLabel()); 171 mTile.setContentDescription(tile.getContentDescription()) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
UserAndAccountDashboardFragmentTest.java | 28 import com.android.settingslib.drawer.Tile; 71 final Tile tile = new Tile(); local 75 tile.metaData = metaData; 77 assertThat(mFragment.displayTile(tile)).isFalse(); 82 final Tile tile = new Tile(); local 85 tile.metaData = metaData [all...] |
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoTile.java | 18 import android.service.quicksettings.Tile; 68 Tile tile = getQsTile(); local 74 tile.setIcon(food.getIcon(this)); 75 tile.setLabel(food.getName(this)); 76 tile.setState(foodState != 0 ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE); 77 tile.updateTile();
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
DashboardFeatureProviderImpl.java | 39 import com.android.settingslib.drawer.Tile; 80 final List<Tile> tiles = category.tiles; 82 Log.d(TAG, "tile list is empty, skipping category " + category.title); 86 for (Tile tile : tiles) { 88 bindPreferenceToTile(activity, sourceMetricsCategory, pref, tile, null /* key */, 101 public String getDashboardKeyForTile(Tile tile) { 102 if (tile == null || tile.intent == null) 218 ProfileSelectDialog.show(activity.getFragmentManager(), tile); local [all...] |