Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/
DPhoneUi.java460 public void set(TitleBar tbar, WebView web) { in set() argument
461 if (tbar == null || web == null) { in set()
464 if (tbar.getWidth() > 0 && tbar.getEmbeddedHeight() > 0) { in set()
466 || mTitleBarBitmap.getWidth() != tbar.getWidth() in set()
467 || mTitleBarBitmap.getHeight() != tbar.getEmbeddedHeight()) { in set()
468 mTitleBarBitmap = safeCreateBitmap(tbar.getWidth(), in set()
469 tbar.getEmbeddedHeight()); in set()
473 tbar.draw(c); in set()
481 int h = web.getHeight() - tbar.getEmbeddedHeight(); in set()
491 c.translate(-tx, -ty - tbar.getEmbeddedHeight()); in set()