Home | History | Annotate | Download | only in ui

Lines Matching refs:width

47             Texture content, int width, int height, int rotation) {
52 width = height = Math.min(width, height);
54 canvas.translate(width / 2, height / 2);
56 canvas.translate(-width / 2, -height / 2);
61 (float) width / content.getWidth(),
69 protected void drawVideoOverlay(GLCanvas canvas, int width, int height) {
78 int s = Math.min(width, height) / 6;
79 mVideoPlayIcon.draw(canvas, (width - s) / 2, (height - s) / 2, s, s);
82 protected void drawPanoramaIcon(GLCanvas canvas, int width, int height) {
83 int iconSize = Math.min(width, height) / 6;
84 mPanoramaIcon.draw(canvas, (width - iconSize) / 2, (height - iconSize) / 2,
99 protected void drawPressedUpFrame(GLCanvas canvas, int width, int height) {
103 drawFrame(canvas, mFramePressed.getPaddings(), mFramePressedUp, 0, 0, width, height);
106 protected void drawPressedFrame(GLCanvas canvas, int width, int height) {
107 drawFrame(canvas, mFramePressed.getPaddings(), mFramePressed, 0, 0, width, height);
110 protected void drawSelectedFrame(GLCanvas canvas, int width, int height) {
111 drawFrame(canvas, mFrameSelected.getPaddings(), mFrameSelected, 0, 0, width, height);
115 int x, int y, int width, int height) {
116 frame.draw(canvas, x - padding.left, y - padding.top, width + padding.left + padding.right,