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

1 2 3 4 5

  /external/skia/src/core/
SkTileGrid.h 17 * to tile regions, disposed in a regular grid. This is useful when the tile
22 * that are an exact match to a single tile. Implementation could be augmented
46 * The query argument is expected to be an exact match to a tile of the grid
62 SkTDArray<void*>& tile(int x, int y);
81 * recorded into the tile grid.
83 * \param tileData array of pointers to arrays of tile data
84 * \param tileIndices per-tile data indices, indices are incremented for tiles that contain
87 * such that 'a < b' is true if 'a' was inserted into the tile grid before 'b'.
95 for (int tile = 0; tile < tileCount; ++tile)
    [all...]
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/webkit/Source/WebCore/platform/graphics/gpu/
TilingData.h 57 int tileXIndex(int tile) const { assertTile(tile); return tile % numTilesX(); }
58 int tileYIndex(int tile) const { assertTile(tile); return tile / numTilesX(); }
62 IntRect tileBounds(int tile) const;
63 IntRect tileBoundsWithBorder(int tile) const;
64 FloatRect tileBoundsNormalized(int tile) const;
73 // in texel units, returns adjusted data to render just the one tile
    [all...]
TilingData.cpp 88 IntRect TilingData::tileBounds(int tile) const
90 assertTile(tile);
91 int ix = tileXIndex(tile);
92 int iy = tileYIndex(tile);
102 IntRect TilingData::tileBoundsWithBorder(int tile) const
104 IntRect bounds = tileBounds(tile);
112 if (tileXIndex(tile) > 0)
114 if (tileXIndex(tile) < (numTilesX() - 1))
116 if (tileYIndex(tile) > 0)
118 if (tileYIndex(tile) < (numTilesY() - 1)
    [all...]
Texture.cpp 171 for (int tile = 0; tile < m_tiles.numTiles(); tile++) {
172 // Intersect with tile
173 IntRect tileBoundsWithBorder = m_tiles.tileBoundsWithBorder(tile);
196 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_tileTextureIds->at(tile));
205 void Texture::bindTile(int tile)
207 m_context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_tileTextureIds->at(tile));
  /external/chromium/chrome/browser/resources/ntp4/
tile_page.css 6 .tile-page {
12 .tile-page-title {
19 .tile-grid {
25 .tile {
38 .resizing-tile-page .tile {
  /external/replicaisland/tools/
ExtractPoints.js 41 var tileSizeX = prompt("Tile pixel width:");
42 var tileSizeY = prompt("Tile pixel height:");
54 // an array by tile.
66 var tile = new Object;
67 tile.edges = new Array();
111 tile.edges.push(edge);
116 tile.centerX = totalX;
117 tile.centerY = totalY;
119 var column = Math.floor(tile.centerX / tileSizeX);
120 var row = Math.floor(tile.centerY / tileSizeY)
    [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/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...]
TilePainter.h 37 class Tile;
48 virtual bool blitFromContents(Tile* tile) { return false; }
TilesProfiler.h 37 class Tile;
63 void nextTile(Tile* tile, float scale, bool inView);
73 TileProfileRecord* getTile(int frame, int tile) {
74 return &m_records[frame][tile];
TilesProfiler.cpp 35 #include "Tile.h"
62 ALOGV("completed tile profiling, observed %d frames", m_records.size());
68 ALOGV("clearing tile profiling of its %d frames", m_records.size());
83 ALOGD("completed tile profiling frame, observed %d tiles. %f ms since last",
96 void TilesProfiler::nextTile(Tile* tile, float scale, bool inView)
101 bool isReady = tile->isTileReady();
102 int left = tile->x() * TilesManager::tileWidth();
103 int top = tile->y() * TilesManager::tileWidth();
115 scale, isReady, (int)tile->drawCount()))
    [all...]
Surface.cpp 41 #include "Tile.h"
417 bool Surface::blitFromContents(Tile* tile)
419 if (!singleLayer() || !tile || !getFirstLayer() || !getFirstLayer()->content())
422 if (tile->frontTexture() != tile->lastDrawnTexture()) {
428 tile->frontTexture()->drawGL(false, rect, 1.0f, 0, false, true, fillPortion);
432 // to this tile
433 IntRect dirtyRect = tile->dirtyArea().getBounds();
434 IntRect tileRect = IntRect(tile->x() * TilesManager::tileWidth()
    [all...]
TexturesGenerator.cpp 56 bool TexturesGenerator::tryUpdateOperationWithPainter(Tile* tile, TilePainter* painter)
59 if (!mRequestedOperationsHash.contains(tile))
62 static_cast<PaintTileOperation*>(mRequestedOperationsHash.get(tile))->updatePainter(painter);
  /frameworks/base/graphics/java/android/graphics/
LinearGradient.java 29 @param tile The Shader tiling mode
32 TileMode tile) {
39 native_instance = nativeCreate1(x0, y0, x1, y1, colors, positions, tile.nativeInt);
41 tile.nativeInt);
51 @param tile The Shader tiling mode
54 TileMode tile) {
55 native_instance = nativeCreate2(x0, y0, x1, y1, color0, color1, tile.nativeInt);
57 tile.nativeInt);
RadialGradient.java 29 @param tile The Shader tiling mode
32 int colors[], float positions[], TileMode tile) {
42 native_instance = nativeCreate1(x, y, radius, colors, positions, tile.nativeInt);
44 tile.nativeInt);
53 @param tile The Shader tiling mode
56 int color0, int color1, TileMode tile) {
60 native_instance = nativeCreate2(x, y, radius, color0, color1, tile.nativeInt);
62 tile.nativeInt);
  /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...]
  /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...]
  /frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
ProfiledWebView.java 138 "kicking off test with callback registration, and tile discard...");
214 for (int tile = 0; tile < data.frames[frame].length; tile++) {
215 int left = getWebViewClassic().tileProfilingGetInt(frame, tile, "left");
216 int top = getWebViewClassic().tileProfilingGetInt(frame, tile, "top");
217 int right = getWebViewClassic().tileProfilingGetInt(frame, tile, "right");
218 int bottom = getWebViewClassic().tileProfilingGetInt(frame, tile, "bottom");
221 frame, tile, "isReady") == 1;
222 int level = getWebViewClassic().tileProfilingGetInt(frame, tile, "level")
    [all...]
  /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);
  /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...]
  /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/webkit/Source/WebCore/platform/graphics/openvg/
TiledImageOpenVG.h 52 VGImage tile(int xIndex, int yIndex) const;
  /external/webkit/Source/WebKit/efl/ewk/
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...]
  /development/samples/Snake/src/com/example/android/snake/
TileView.java 36 * pixels, and Drawables will be scaled to fit to these dimensions. X/Y Tile Counts are the
57 * A two-dimensional array of integers in which the number represents the index of the tile that
94 * Function to set the specified Drawable as the tile for a particular integer key.
97 * @param tile
99 public void loadTile(int key, Drawable tile) {
102 tile.setBounds(0, 0, mTileSize, mTileSize);
103 tile.draw(canvas);
134 * Used to indicate that a particular tile (set with loadTile and referenced by an integer)

Completed in 1038 milliseconds

1 2 3 4 5