/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
QSFactoryImpl.java | 25 import com.android.systemui.qs.tiles.AirplaneModeTile; 26 import com.android.systemui.qs.tiles.BatterySaverTile; 27 import com.android.systemui.qs.tiles.BluetoothTile; 28 import com.android.systemui.qs.tiles.CastTile; 29 import com.android.systemui.qs.tiles.CellularTile; 30 import com.android.systemui.qs.tiles.ColorInversionTile; 31 import com.android.systemui.qs.tiles.DataSaverTile; 32 import com.android.systemui.qs.tiles.DndTile; 33 import com.android.systemui.qs.tiles.FlashlightTile; 34 import com.android.systemui.qs.tiles.HotspotTile [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
DashboardCategory.java | 39 * Key used for placing external tiles. 51 public List<Tile> tiles = new ArrayList<>(); field in class:DashboardCategory 59 tiles.add(tile); 63 tiles.add(n, tile); 67 tiles.remove(tile); 71 tiles.remove(n); 75 return tiles.size(); 79 return tiles.get(n); 83 for (Tile tile : tiles) { 109 final int count = tiles.size() [all...] |
CategoryManager.java | 107 for (int j = 0; j < category.tiles.size(); j++) { 108 Tile tile = category.tiles.get(j); 110 category.tiles.remove(j--); 117 // Keep cached tiles by default. The cache is only invalidated when InterestingConfigChange 152 List<Tile> tiles = packageToTileMap.get(packageName); local 153 if (tiles == null) { 154 tiles = new ArrayList<>(); 155 packageToTileMap.put(packageName, tiles); 157 tiles.add(tileEntry.getValue()); 161 final List<Tile> tiles = entry.getValue() local [all...] |
TileUtils.java | 221 ArrayList<Tile> tiles = new ArrayList<>(); local 227 getTilesForAction(context, user, SETTINGS_ACTION, cache, null, tiles, true, 230 OPERATOR_DEFAULT_CATEGORY, tiles, false, true, settingPkg); 232 MANUFACTURER_DEFAULT_CATEGORY, tiles, false, true, settingPkg); 235 getTilesForAction(context, user, EXTRA_SETTINGS_ACTION, cache, null, tiles, false, 238 getTilesForAction(context, user, IA_SETTINGS_ACTION, cache, null, tiles, false, 241 getTilesForAction(context, user, extraAction, cache, null, tiles, false, 249 for (Tile tile : tiles) { 263 Collections.sort(category.tiles, TILE_COMPARATOR);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
CategoryManagerTest.java | 98 assertThat(mCategoryByKeyMap.get(CategoryKey.CATEGORY_ACCOUNT).tiles.size()).isEqualTo(1); 99 assertThat(mCategoryByKeyMap.get(oldCategory).tiles.size()).isEqualTo(1); 117 assertThat(mCategoryByKeyMap.get(CategoryKey.CATEGORY_NETWORK).tiles.size()).isEqualTo(1); 119 assertThat(mCategoryByKeyMap.get(oldCategory).tiles.size()).isEqualTo(1); 124 // Create some fake tiles that are not sorted. 139 category.tiles.add(tile1); 140 category.tiles.add(tile2); 141 category.tiles.add(tile3); 149 assertThat(category.tiles.get(0)).isSameAs(tile3); 150 assertThat(category.tiles.get(1)).isSameAs(tile1) [all...] |
/external/opencv/cv/src/ |
cvmoments.cpp | 197 /* summarizes moment values for all tiles */ 199 icvAccumulateMoments( double *tiles, CvSize size, CvSize tile_size, CvMoments * moments ) 205 for( x = 0; x < size.width; x += tile_size.width, tiles += 10 ) 208 double dxm = dx * tiles[0], dym = dy * tiles[0]; 211 moments->m00 += tiles[0]; 214 moments->m10 += tiles[1] + dxm; 217 moments->m01 += tiles[2] + dym; 220 moments->m20 += tiles[3] + dx * (tiles[1] * 2 + dxm) 371 double* tiles = 0; local [all...] |
/compatibility/cdd/3_software/ |
3_13_quick-settings.md | 8 * [C-1-1] MUST allow the user to add or remove the tiles provided through the 14 * [C-1-3] MUST display all the user-added tiles from third-party apps 15 alongside the system-provided quick setting tiles.
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
SummaryLoader.java | 73 List<Tile> tiles = categories.get(i).tiles; local 74 for (int j = 0; j < tiles.size(); j++) { 75 Tile tile = tiles.get(j); 93 if (category == null || category.tiles == null) { 97 List<Tile> tiles = category.tiles; local 98 for (Tile tile : tiles) { 235 for (Tile tile : category.tiles) { 265 if (category == null || category.tiles == null) [all...] |
DashboardFeatureProviderImpl.java | 77 Log.d(TAG, "NO dashboard tiles for " + TAG); 80 final List<Tile> tiles = category.tiles; local 81 if (tiles == null || tiles.isEmpty()) { 86 for (Tile tile : tiles) {
|
DashboardFragment.java | 131 // SummaryLoader can be null when there is no dynamic tiles. 180 // SummaryLoader can be null when there is no dynamic tiles. 249 * Displays resource based tiles. 297 // Add resource based tiles. 314 Log.d(TAG, "NO dashboard tiles for " + TAG); 317 List<Tile> tiles = category.tiles; local 318 if (tiles == null) { 322 // Create a list to track which tiles are to be removed. 325 // There are dashboard tiles, so we need to install SummaryLoader [all...] |
/external/skia/gm/ |
pictureshadertile.cpp | 22 } tiles[] = { variable in typeref:struct:__anon30740 107 for (unsigned i = 0; i < SK_ARRAY_COUNT(tiles); ++i) { 108 SkRect tile = SkRect::MakeXYWH(tiles[i].x * kPictureSize, 109 tiles[i].y * kPictureSize, 110 tiles[i].w * kPictureSize, 111 tiles[i].h * kPictureSize); 113 localMatrix.setTranslate(tiles[i].offsetX * kPictureSize, 114 tiles[i].offsetY * kPictureSize); 151 sk_sp<SkShader> fShaders[SK_ARRAY_COUNT(tiles)];
|
/external/skia/src/core/ |
SkThreadedBMPDevice.cpp | 22 TiledDrawSchedulerBase(int tiles, WorkFunc work) 23 : fTileCnt(tiles), fIsFinishing(false), fDrawCnt(0), fWork(std::move(work)) {} 41 TiledDrawSchedulerBySpinning(int tiles, WorkFunc work) 42 : TiledDrawSchedulerBase(tiles, std::move(work)), fScheduleData(tiles) {} 74 TiledDrawSchedulerFlexible(int tiles, WorkFunc work) 75 : TiledDrawSchedulerBase(tiles, std::move(work)), fScheduleData(tiles) {} 122 TiledDrawSchedulerBySemaphores(int tiles, WorkFunc work) 123 : TiledDrawSchedulerBase(tiles, std::move(work)), fScheduleData(tiles) { [all...] |
SkThreadedBMPDevice.h | 22 virtual void signal() = 0; // signal that one more draw is available for all tiles 43 SkThreadedBMPDevice(const SkBitmap& bitmap, int tiles, int threads = 0);
|
/external/libvpx/libvpx/test/ |
test-data.mk | [all...] |
/external/replicaisland/tools/ |
ExtractPoints.js | 22 * graphical representations of the collision tiles used by the engine. Each 50 var tiles = new Array(); 51 tiles.length = tilesPerRow * tilesPerColumn; 129 tiles[tileIndex] = tile; 139 for (var x = 0; x < tiles.length; x++) { 140 if (tiles[x]) { 141 var tile = tiles[x]; 217 for (var x = 0; x < tiles.length; x++) { 218 if (tiles[x]) { 219 var tile = tiles[x] [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
VolumeUI.java | 25 import com.android.systemui.qs.tiles.DndTile;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
SiteMapManagerTest.java | 107 category.tiles.add(new Tile()); 108 category.tiles.get(0).title = TITLE_PREFIX + STATIC_DB_DEPTH; 109 category.tiles.get(0).metaData = new Bundle(); 110 category.tiles.get(0).metaData.putString(SettingsActivity.META_DATA_KEY_FRAGMENT_CLASS,
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
MultiAttachmentLayout.java | 62 * In the above example, the layout consists of four tiles, A-D. A is a large tile, B is a 63 * wide tile and C & D are both small tiles. A starts at (0,0) and ends at (1,1), B starts at 64 * (2,0) and ends at (3,0), and so on. In our layout class we'd have these tiles in the order 118 * A layout simply contains a list of tiles, in the order of top-left -> bottom-right. 121 public final List<Tile> tiles; field in class:MultiAttachmentLayout.Layout 123 tiles = Arrays.asList(tilesArray); 222 mPlusNumber = count - mCurrentLayout.tiles.size(); 229 final int count = mCurrentLayout.tiles.size(); 309 final Tile imageTile = mCurrentLayout.tiles.get(i); 343 final Tile imageTile = mCurrentLayout.tiles.get(i) [all...] |
/external/skia/samplecode/ |
SampleApp.h | 161 void setTiles(int tiles) { fTiles = tiles; }
|
/external/pdfium/third_party/libopenjpeg20/ |
tcd.c | 55 opj_tcd_tile_t *tile = &tcd->tcd_image->tiles[tileno]; 226 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; 310 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; 410 opj_tcd_tile_t *tcd_tile = tcd->tcd_image->tiles; 595 p_tcd->tcd_image->tiles = (opj_tcd_tile_t *) opj_calloc(1,sizeof(opj_tcd_tile_t)); 596 if (! p_tcd->tcd_image->tiles) { 600 p_tcd->tcd_image->tiles->comps = (opj_tcd_tilecomp_t *) opj_calloc(p_image->numcomps,sizeof(opj_tcd_tilecomp_t)); 601 if (! p_tcd->tcd_image->tiles->comps ) { 605 p_tcd->tcd_image->tiles->numcomps = p_image->numcomps; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
TileQueryHelper.java | 153 private State getState(Collection<QSTile> tiles, String spec) { 154 for (QSTile tile : tiles) { 195 void onTilesChanged(List<TileInfo> tiles);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
DashboardAdapterTest.java | 510 final List<Tile> tiles = new ArrayList<>(); local 515 tiles.add(tile); 516 category.tiles = tiles; 538 final List<Tile> tiles = new ArrayList<>(); local 539 tiles.add(mock(Tile.class)); 540 category.tiles = tiles; 570 final List<Tile> tiles = new ArrayList<>(); local 571 tiles.add(mock(Tile.class)) [all...] |
DashboardFragmentTest.java | 79 mDashboardCategory.tiles = new ArrayList<>(); 80 mDashboardCategory.tiles.add(new Tile()); 126 mDashboardCategory.tiles = null;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSAnimator.java | 151 Collection<QSTile> tiles = mQsPanel.getHost().getTiles(); 169 for (QSTile tile : tiles) { 178 // Quick tiles. 206 // Move the last tile position over by the last difference between quick tiles. 243 // Fade in the tiles/labels as we reach the final position. 255 if (tiles.size() <= 3) { 257 } else if (tiles.size() <= 6) { 368 // Give the QS panels a moment to generate their new tiles, then create all new animators
|
QSTileHost.java | 106 // Force remove and recreate of all tiles. 114 // Force remove and recreate of all tiles. 174 if (DEBUG) Log.d(TAG, "Recreating tiles"); 312 final ArrayList<String> tiles = new ArrayList<String>(); local 319 tiles.addAll(Arrays.asList(defaultTileList.split(","))); 323 tiles.add(tile); 326 return tiles;
|