Home | History | Annotate | Download | only in media

Lines Matching full:width

157             int width = iconWidth + menu.titleWidth;
158 int offset = (menu.mWidth - width) / 2;
177 int width = menu.mWidth - (int) ((MENU_HIGHLIGHT_EDGE_INSET * 2) * App.PIXEL_DENSITY);
185 view.draw2D(highlightMiddle, x, y, width, height);
188 view.draw2D(highlightRight, x + width, y, MENU_HIGHLIGHT_EDGE_WIDTH * App.PIXEL_DENSITY, height);
338 // it finds the maximum width for a set of menu items, and checks
339 // whether that width
341 // width, so on and
384 int width = menus[i].computeRequiredWidth();
385 if (width > maxWidth && width < previousMaxWidth) {
387 maxWidth = width;
390 // can all the menus have this width
401 float width = menus[i].computeRequiredWidth();
402 if (width < maxWidth) {
403 width = maxWidth + delta;
405 width += delta;
407 menu.mWidth = (int) width;
409 x += width;
504 int width = 0;
506 width += (ICON_WIDTH); // * App.PIXEL_DENSITY);
509 width += StringTexture.computeTextWidthForConfig(title, config);// title.computeTextWidth();
512 width += 20;
513 if (width < HEIGHT)
514 width = HEIGHT;
515 return width;