Home
last modified time | relevance | path

Searched refs:y_index (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/cc/base/
Dtiling_data.cc237 int TilingData::TilePositionY(int y_index) const { in TilePositionY()
238 DCHECK_GE(y_index, 0); in TilePositionY()
239 DCHECK_LT(y_index, num_tiles_y_); in TilePositionY()
241 int pos = (max_texture_size_.height() - 2 * border_texels_) * y_index; in TilePositionY()
242 if (y_index != 0) in TilePositionY()
265 int TilingData::TileSizeY(int y_index) const { in TileSizeY()
266 DCHECK_GE(y_index, 0); in TileSizeY()
267 DCHECK_LT(y_index, num_tiles_y_); in TileSizeY()
269 if (!y_index && num_tiles_y_ == 1) in TileSizeY()
271 if (!y_index && num_tiles_y_ > 1) in TileSizeY()
[all …]
Dtiling_data.h61 int TilePositionY(int y_index) const;
63 int TileSizeY(int y_index) const;
66 gfx::Vector2d TextureOffset(int x_index, int y_index) const;
Dtiling_data_unittest.cc89 int y_index) { in PosY() argument
91 return tiling.TilePositionY(y_index); in PosY()
105 int y_index) { in SizeY() argument
107 return tiling.TileSizeY(y_index); in SizeY()
/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/pdfium/core/src/fxcodec/codec/
Dfx_codec_icc.cpp1282 int y_index = (fix_y + 4096) >> 13; in AdobeCMYK_to_sRGB1() local
1284 int pos = (c_index * 9 * 9 * 9 + m_index * 9 * 9 + y_index * 9 + k_index) * 3; in AdobeCMYK_to_sRGB1()
1297 if (y1_index == y_index) { in AdobeCMYK_to_sRGB1()
1306 int y1_pos = pos + (y1_index - y_index) * 9 * 3; in AdobeCMYK_to_sRGB1()
1328 int y_rate = (fix_y - (y_index << 13)) * (y_index - y1_index); in AdobeCMYK_to_sRGB1()
/external/chromium_org/tools/gyp/pylib/gyp/
Dxcodeproj_file.py2789 y_index = remote_products.index(y_remote)
2793 return cmp(x_index, y_index)