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

1 2 3

  /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));
Texture.h 51 void bindTile(int 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 {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageView.java 49 * This is the tile state in the CPU side.
50 * Life of a Tile:
85 // The offsets of the (left, top) of the upper-left tile to the (left, top)
96 private final HashMap<Long, Tile> mActiveTiles = new HashMap<Long, Tile>();
185 // 1. Decide the tile level we want to use for display.
186 // 2. Decide the tile levels we want to keep as texture (in addition to
195 // The tile levels we want to keep as texture is in the range
203 // We want to keep one more tile level as texture in addition to what
227 // If rotation is transient, don't update the tile
241 Tile tile = iter.next().getValue(); local
341 Tile tile = mRecycledQueue.pop(); local
447 Tile tile = mRecycledQueue.pop(); local
468 Tile tile = mActiveTiles.get(key); local
496 Tile tile; local
522 Tile tile = getTile(tx, ty, level); local
650 Tile tile = mHead; local
683 Tile tile = null; local
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/android/
TiledPage.cpp 82 // textures. This is because prepare() asks for a tile before it reserves
83 // a texture for that tile. If all textures are currently in use by the
84 // page then there will be no available tile and having the extra tile
85 // ensures that this does not happen. After claiming the extra tile the call
86 // to reserveTexture() will cause some other tile in the page to lose it's
88 // one tile that is available.
109 BaseTile& tile = m_baseTiles[j]; local
110 if (tile.x() == x && tile.y() == y
119 BaseTile& tile = m_baseTiles[j]; local
160 BaseTile& tile = m_baseTiles[j]; local
215 BaseTile& tile = m_baseTiles[x]; local
300 BaseTile& tile = m_baseTiles[j]; local
314 BaseTile& tile = m_baseTiles[j]; local
347 BaseTile& tile = m_baseTiles[j]; local
372 BaseTile& tile = m_baseTiles[j]; local
    [all...]
TiledTexture.cpp 72 BaseTile* tile = m_tiles[i]; local
73 if (tile->isTileVisible(m_area)) {
75 if (!tile->isTileReady()) {
193 BaseTile* tile = getTile(x, y); local
194 if (!tile) {
195 tile = new BaseTile(true);
196 m_tiles.append(tile);
199 XLOG("preparing tile %p at %d, %d, painter is this %p", tile, x, y, this);
200 tile->setContents(this, x, y, m_scale)
218 BaseTile* tile = m_tiles[i]; local
233 BaseTile* tile = m_tiles[i]; local
266 BaseTile* tile = m_tiles[i]; local
334 BaseTile* tile = m_tiles[i]; local
    [all...]
TilesProfiler.h 61 void nextTile(BaseTile& tile, float scale, bool inView);
71 TileProfileRecord* getTile(int frame, int tile) {
72 return &m_records[frame][tile];
TilePainter.h 41 virtual bool paint(BaseTile* tile, SkCanvas*, unsigned int*) = 0;
PaintTileOperation.cpp 35 PaintTileOperation::PaintTileOperation(BaseTile* tile, SurfacePainter* surface)
36 : QueuedOperation(QueuedOperation::PaintTile, tile->page())
37 , m_tile(tile)
TilesProfiler.cpp 72 XLOG("completed tile profiling, observed %d frames", m_records.size());
78 XLOG("clearing tile profiling of its %d frames", m_records.size());
93 XLOG("completed tile profiling frame, observed %d tiles. %f ms since last",
106 void TilesProfiler::nextTile(BaseTile& tile, float scale, bool inView)
111 bool isReady = tile.isTileReady();
112 int left = tile.x() * TilesManager::tileWidth();
113 int top = tile.y() * TilesManager::tileWidth();
125 scale, isReady, (int)tile.drawCount()));
126 XLOG("adding tile %d %d %d %d, scale %f", left, top, right, bottom, scale);
TiledTexture.h 77 bool paint(BaseTile* tile, SkCanvas*, unsigned int*);
86 bool tileIsVisible(BaseTile* tile);
97 // tile coordinates in viewport, set in prepare()
134 // Delay before we schedule a new tile at the new scale factor
  /frameworks/base/graphics/java/android/graphics/
LinearGradient.java 29 @param tile The Shader tiling mode
32 int colors[], float positions[], 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 int color0, int color1, 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);
  /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 148 for (int tile = 0; tile < data.frames[frame].length; tile++) {
149 int left = tileProfilingGetInt(frame, tile, "left");
150 int top = tileProfilingGetInt(frame, tile, "top");
151 int right = tileProfilingGetInt(frame, tile, "right");
152 int bottom = tileProfilingGetInt(frame, tile, "bottom");
155 frame, tile, "isReady") == 1;
156 int level = tileProfilingGetInt(frame, tile, "level");
158 float scale = tileProfilingGetFloat(frame, tile, "scale")
    [all...]
PlaybackGraphs.java 39 private static double viewportCoverage(TileData view, TileData tile) {
40 if (tile.left < view.right
41 && tile.right >= view.left
42 && tile.top < view.bottom
43 && tile.bottom >= view.top) {
  /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 48 Bitmap tile = Bitmap.createBitmap(TILE_WIDTH, TILE_HEIGHT, Config.ARGB_8888); local
49 tile.eraseColor(BORDER_COLOR);
50 Canvas c = new Canvas(tile);
55 BitmapShader shader = new BitmapShader(tile, Shader.TileMode.REPEAT,
74 * 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::__anon13523
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 39 * dimensions. X/Y Tile Counts are the number of tiles that will be drawn.
59 * index of the tile that should be drawn at that locations
112 * Function to set the specified Drawable as the tile for a particular
116 * @param tile
118 public void loadTile(int key, Drawable tile) {
121 tile.setBounds(0, 0, mTileSize, mTileSize);
122 tile.draw(canvas);
140 * Used to indicate that a particular tile (set with loadTile and referenced
  /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...]

Completed in 535 milliseconds

1 2 3