/external/webkit/Source/WebCore/platform/graphics/skia/ |
GradientSkia.cpp | 132 SkShader::TileMode tile = SkShader::kClamp_TileMode; local 135 tile = SkShader::kMirror_TileMode; 138 tile = SkShader::kRepeat_TileMode; 141 tile = SkShader::kClamp_TileMode; 153 m_gradient = SkGradientShader::CreateRadial(m_p1, radius, colors, pos, static_cast<int>(countUsed), tile); 159 m_gradient = SkGradientShader::CreateTwoPointRadial(m_p0, radius0, m_p1, radius1, colors, pos, static_cast<int>(countUsed), tile); 172 m_gradient = SkGradientShader::CreateLinear(pts, colors, pos, static_cast<int>(countUsed), tile);
|
/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/skia/src/core/ |
SkTileGrid.cpp | 28 SkTDArray<void *>& SkTileGrid::tile(int x, int y) { function in class:SkTileGrid 48 this->tile(x, y).push(data); 71 *results = this->tile(tileStartX, tileStartY); 76 // Note: Reserving space for 1024 tile pointers on the stack. If the 82 int tile = 0; local 85 tileRange[tile] = &this->tile(x, y); 86 curPositions[tile] = tileRange[tile]->count() ? 0 : kTileFinished; 87 ++tile; [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; 154 private static void freeTile(Tile tile) { 155 tile.invalidateContent(); 156 tile.bitmap = null; 158 tile.nextFreeTile = sFreeTileHead 202 Tile tile = obtainTile(); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
TileGrid.cpp | 36 #include "Tile.h" 71 Tile* tile = m_tiles[i]; local 72 if (tile->isTileVisible(m_area)) { 74 if (!tile->isTileReady()) { 228 Tile* tile = getTile(x, y); local 229 if (!tile) { 231 tile = new Tile(isLayerTile) 271 Tile* tile = m_tiles[i]; local 295 Tile* tile = m_tiles[i]; local 337 Tile* tile = m_tiles[i]; local [all...] |
TransferQueue.cpp | 38 #include "Tile.h" 137 // Tile and the content, then the item is considered as obsolete, and 141 Tile* baseTilePtr = data->savedTilePtr; 143 ALOGV("Invalid savedTilePtr , such that the tile is obsolete"); 149 ALOGV("Invalid baseTileTexture %p (vs expected %p), such that the tile is obsolete", 275 // Unblock the Tex Gen thread first before Tile Page deletion. 313 // Call on UI thread to copy from the shared Surface Texture to the Tile's texture. 322 // Check the pure color tile first, since it is simpler. 326 // the texture and blit that into each Tile's texture. 372 ALOGV("Blit tile x, y %d %d with dest texture %p to destTexture->m_ownTextureId %d" 399 Tile* tile = renderInfo->baseTile; local 538 Tile* tile = m_transferQueue[index].savedTilePtr; local [all...] |
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
PlatformCALayerWinInternal.cpp | 40 // The width and height of a single tile in a tiled layer. Should be large enough to 42 // to keep the overall tile cost low. 209 // Preserve the tile parent after set 226 // Exclude the tile parent layer. 241 // Restore the tile parent after removal 250 // Add 1 to account for the tile parent layer 265 // Subtract 1 to account for the tile parent layer 303 // Add 1 to account for the tile parent layer 441 CACFLayerRef tile = static_cast<CACFLayerRef>(const_cast<void*>(CFArrayGetValueAtIndex(tileArray, i * numTilesVertical + j))); local 442 CACFLayerSetPosition(tile, CGPointMake(i * m_tileSize.width, j * m_tileSize.height)) [all...] |
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
LayerTilerChromium.cpp | 97 Tile* tile = tileAt(0, 0); local 98 return tile ? tile->texture() : 0; 108 LayerTilerChromium::Tile* LayerTilerChromium::createTile(int i, int j) 112 RefPtr<Tile> tile; local 114 tile = m_unusedTiles.last().release(); 116 ASSERT(tile->refCount() == 1); 120 tile = adoptRef(new Tile(LayerTexture::create(context, manager))) 122 m_tiles.add(make_pair(i, j), tile); local 137 Tile* tile = iter->second.get(); local 178 Tile* tile = m_tiles.get(make_pair(i, j)).get(); local 213 Tile* tile = tileAt(i, j); local 251 Tile* tile = tileAt(i, j); local 306 Tile* tile = tileAt(i, j); local 394 Tile* tile = tileAt(i, j); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/win/ |
WebTiledLayer.cpp | 47 // Make sure there is a tile parent and it is the same as we remember 53 // Make sure the tile parent doesn't have user data. If it does, it is probably 123 // Subtract 1 to account for the tile parent layer 129 // Restore the tile parent after removal 136 // Preserve the tile parent after set 143 // Add 1 to account for the tile parent layer 149 // Add 1 to account for the tile parent layer 157 // Add 1 to account for the tile parent layer (but be safe about it) 256 CACFLayerRef tile = static_cast<CACFLayerRef>(const_cast<void*>(CFArrayGetValueAtIndex(tileArray, i * numTilesVertical + j))); local 257 CACFLayerSetPosition(tile, CGPointMake(i * m_tileSize.width, j * m_tileSize.height)) [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
PlaybackView.java | 51 TileData tile; field in class:PlaybackView.TileDrawable 55 this.tile = t; 82 canvas.drawText(Integer.toString(tile.level), getBounds().left, 158 // create tile shapes (as they're drawn on bottom) 161 // viewport 'tile', add coords to render strings 177 // inval 'tile', count and add coords to render strings
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
TileImageView.java | 53 * This is the tile state in the CPU side. 54 * Life of a Tile: 89 // The offsets of the (left, top) of the upper-left tile to the (left, top) 100 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 132 // The tile returned by this method can be specified this way: Assuming 201 // 1. Decide the tile level we want to use for display. 202 // 2. Decide the tile levels we want to keep as texture (in addition to 211 // The tile levels we want to keep as texture is in the range 219 // We want to keep one more tile level as texture in addition to wha 255 Tile tile = mActiveTiles.valueAt(i); local 286 Tile tile = mActiveTiles.valueAt(i); local 387 Tile tile = mRecycledQueue.pop(); local 471 Tile tile = mActiveTiles.valueAt(i); local 514 Tile tile = mRecycledQueue.pop(); local 538 Tile tile = mActiveTiles.get(key); local 569 Tile tile = null; local 597 Tile tile = getTile(tx, ty, level); local 740 Tile tile = mHead; local 773 Tile tile = null; local [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageRenderer.java | 41 * This is the tile state in the CPU side. 42 * Life of a Tile: 90 private final LongSparseArray<Tile> mActiveTiles = new LongSparseArray<Tile>(); 124 // The tile returned by this method can be specified this way: Assuming 224 // 1. Decide the tile level we want to use for display. 225 // 2. Decide the tile levels we want to keep as texture (in addition to 235 // The tile levels we want to keep as texture is in the range 243 // We want to keep one more tile level as texture in addition to what 267 // If rotation is transient, don't update the tile 279 Tile tile = mActiveTiles.valueAt(i); local 311 Tile tile = mActiveTiles.valueAt(i); local 363 Tile tile = mRecycledQueue.pop(); local 433 Tile tile = mActiveTiles.valueAt(i); local 485 Tile tile = mRecycledQueue.pop(); local 512 Tile tile = mActiveTiles.get(key); local 536 Tile tile = null; local 562 Tile tile = getTile(tx, ty, level); local 697 Tile tile = mHead; local 728 Tile tile = mDecodeQueue.pop(); local 741 Tile tile = waitForTile(); local [all...] |
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/ |
TerrainGrid.java | 88 * The tile loading is done on a background thread, and once the tile is loaded, then it is 90 * the LRU cache if it exists. If it does not exist, it will load in the new TerrainQuad tile. 93 * -tile Attached 94 * -tile Detached 129 * It will first check the LRU cache to see if the terrain tile is already there, 130 * if it is not there, it will load it in and then cache that tile. 308 Vector3f tile = getTileCell(location); local 310 Vector3f shifted = tile.subtract(offsetHalf); 316 * Get the tile index location in integer form [all...] |
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_model.c | 119 printf("TILE BALANCE: tiles[+%"PRIu64",-%"PRIu64":%"PRIu64"] " 129 printf("BEGIN: TILE BALANCE DETAILS (TO THIS MOMENT!):\n"); 143 printf("END: TILE BALANCE DETAILS (TO THIS MOMENT!):\n"); 227 * Create a new tile of given size, zoom level and colorspace. 230 * characteristic of the tile and any change will lead to invalid 331 * Free tile memory. 347 * Make the tile visible, incrementing its counter. 366 * Returns EINA_TRUE if the tile is visible, EINA_FALSE otherwise. 374 * Mark whole tile as dirty and requiring update. 424 * This will not change the tile statistics or clear the processe 486 Ewk_Tile *tile; member in struct:_Ewk_Tile_Unused_Cache_Entry [all...] |
ewk_tiled_backing_store.c | 56 Ewk_Tile *tile; member in struct:_Ewk_Tiled_Backing_Store_Item 86 } tile; member in struct:_Ewk_Tiled_Backing_Store_Data::__anon17984 174 DBG("flush unused tile cache."); 207 if (it->tile) 208 evas_object_move(it->tile->image, x, y); 216 if (it->tile) { 217 evas_object_resize(it->tile->image, w, h); 218 evas_object_image_fill_set(it->tile->image, 0, 0, w, h); 224 if (it->tile) 225 CRITICAL("it->tile=%p, but it should be NULL!", it->tile) [all...] |
/external/webkit/Source/WebKit2/UIProcess/ |
TiledDrawingAreaProxy.cpp | 135 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID); 136 ASSERT(!tile || tile->ID() == tileID); 137 if (tile) 138 tile->updateFromChunk(&updateChunk, scale); 192 TiledDrawingAreaTile* tile = m_tilesByID.get(tileID); local 193 ASSERT(!tile || tile->ID() == tileID); 194 if (tile) 195 tile->updateFromChunk(&updateChunk, scale) 202 RefPtr<TiledDrawingAreaTile> tile = TiledDrawingAreaTile::create(this, coordinate); local 303 TiledDrawingAreaTile* tile = tilesToFlip[n]; local 444 RefPtr<TiledDrawingAreaTile> tile = tileAt(currentCoordinate); local 535 RefPtr<TiledDrawingAreaTile> tile = m_tiles.take(coordinate); local [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xlib.h | 227 Pixmap tile; /* tile pixmap for tiling operations */ member in struct:__anon25484 229 int ts_x_origin; /* offset for tile or stipple operations */ [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xlib.h | 227 Pixmap tile; /* tile pixmap for tiling operations */ member in struct:__anon27074 229 int ts_x_origin; /* offset for tile or stipple operations */ [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/ |
Xlib.h | 227 Pixmap tile; /* tile pixmap for tiling operations */ member in struct:__anon28589 229 int ts_x_origin; /* offset for tile or stipple operations */ [all...] |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |