Searched refs:getTextWidth (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | power.js | 67 function getTextWidth(ctx, text) { 81 ctx.strokeRect(x, y - textHeight, getTextWidth(ctx, text), textHeight); 83 ctx.fillRect(x, y - textHeight, getTextWidth(ctx, text), textHeight); 138 xLoc += legendSquareSide + getTextWidth(legendCtx, legendText) + 142 getTextWidth(legendCtx, getLegend(plots[i + 1].name)) + 165 xLoc += getTextWidth(legendCtx, legendText) + 2 * padding; 169 getTextWidth(legendCtx, getLegend(plots[i + 1].name)) + 182 var yMinWidth = getTextWidth(plotCtx, yMinStr); 183 var yMaxWidth = getTextWidth(plotCtx, yMaxStr); 184 var yHalfWidth = getTextWidth(plotCt [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_manager/ |
H A D | popup.js | 47 getTextWidth(formatBytes(1024 * 1024 * 1023.9) + '/' + 55 max_time_left_width = Math.max(max_time_left_width, getTextWidth( 63 function getTextWidth(s) { function
|
Completed in 1731 milliseconds