B2G/gecko/toolkit/content/tests/fennec-tile-testapp/chrome/content/TileManager.js
/**
   * Look up (possibly creating) a tile from its viewport coordinates.
   *
   * @param x
   * @param y
   * @param create Flag true if the tile should be created in case it doesn't
   * already exist at the tileholder corresponding to (x, y)
   */
Look up (possibly creating) a tile from its viewport coordinates.
@param x
@param y
@param create Flag true if the tile should be created in case it doesn't
already exist at the tileholder corresponding to (x, y)
Look up ( possibly creating ) a tile from its viewport coordinates . @param x @param y @param create Flag true if the tile should be created in case it doesn ' t already exist at the tileholder corresponding to ( x y )
function tileFromPoint(x, y, create) {
    let i = x >> kTileExponentWidth;
    let j = y >> kTileExponentHeight;
    return this.getTile(i, j, create);
  }
function tileFromPoint ( x , y , create ) { let i = x >> kTileExponentWidth ; let j = y >> kTileExponentHeight ; return this . getTile ( i , j , create ) ; }
Look up (possibly creating) a tile from its viewport coordinates.
Look up ( possibly creating ) a tile from its viewport coordinates .