Lines Matching refs:bitmap
580 Bitmap bitmap = SurfaceControl.screenshot((int) dims[0], (int) dims[1]); in createScreenshot() local
582 if (bitmap == null) { in createScreenshot()
594 c.drawBitmap(bitmap, 0, 0, null); in createScreenshot()
596 bitmap = ss; in createScreenshot()
605 int newWidth = bitmap.getWidth(); in createScreenshot()
606 int newHeight = bitmap.getHeight(); in createScreenshot()
609 if (bitmap.getWidth() < bitmap.getHeight()) { in createScreenshot()
611 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeight; in createScreenshot()
616 newHeight = bitmap.getHeight() - statusBarHeight - navBarHeightLandscape; in createScreenshot()
618 newHeight = bitmap.getHeight() - statusBarHeight; in createScreenshot()
619 newWidth = bitmap.getWidth() - navBarWidth; in createScreenshot()
622 bitmap = Bitmap.createBitmap(bitmap, newLeft, newTop, newWidth, newHeight); in createScreenshot()
624 return bitmap; in createScreenshot()