Home
last modified time | relevance | path

Searched refs:x_index (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/cc/base/
Dtiling_data.cc234 int TilingData::TilePositionX(int x_index) const { in TilePositionX()
235 DCHECK_GE(x_index, 0); in TilePositionX()
236 DCHECK_LT(x_index, num_tiles_x_); in TilePositionX()
238 int pos = (max_texture_size_.width() - 2 * border_texels_) * x_index; in TilePositionX()
239 if (x_index != 0) in TilePositionX()
260 int TilingData::TileSizeX(int x_index) const { in TileSizeX()
261 DCHECK_GE(x_index, 0); in TileSizeX()
262 DCHECK_LT(x_index, num_tiles_x_); in TileSizeX()
264 if (!x_index && num_tiles_x_ == 1) in TileSizeX()
266 if (!x_index && num_tiles_x_ > 1) in TileSizeX()
[all …]
Dtiling_data.h60 int TilePositionX(int x_index) const;
62 int TileSizeX(int x_index) const;
66 gfx::Vector2d TextureOffset(int x_index, int y_index) const;
Dtiling_data_unittest.cc81 int x_index) { in PosX() argument
83 return tiling.TilePositionX(x_index); in PosX()
97 int x_index) { in SizeX() argument
99 return tiling.TileSizeX(x_index); in SizeX()
/external/chromium_org/cc/resources/
Dlayer_tiling_data.h39 gfx::Vector2d texture_offset(int x_index, int y_index) const { in texture_offset() argument
40 return tiling_data_.TextureOffset(x_index, y_index); in texture_offset()
/external/chromium_org/tools/gyp/pylib/gyp/
Dxcodeproj_file.py2785 x_index = remote_products.index(x_remote)
2790 return cmp(x_index, y_index)