Lines Matching refs:bitmap
245 // We tired to preload but didn't know the bitmap size, now
402 Bitmap bitmap = page.content.getBitmap();
403 return bitmap.getWidth() == bitmapWidth
404 && bitmap.getHeight() == bitmapHeight;
828 // Reuse bitmap for the page only if the right size.
831 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageIndex
841 // Try to find a bitmap to reuse.
855 Log.i(LOG_TAG, "Recycling bitmap for page: " + mPageIndex
865 Log.i(LOG_TAG, "Reused bitmap for page: " + mPageIndex + " cache size: "
874 Log.i(LOG_TAG, "Created bitmap for page: " + mPageIndex + " cache size: "
877 Bitmap bitmap = Bitmap.createBitmap(mRenderSpec.bitmapWidth,
879 bitmap.eraseColor(Color.WHITE);
880 BitmapDrawable content = new BitmapDrawable(mContext.getResources(), bitmap);
896 Bitmap bitmap = mRenderedPage.content.getBitmap();
906 mRenderer.renderPage(mPageIndex, bitmap.getWidth(),
907 bitmap.getHeight(), mRenderSpec.printAttributes,
915 BitmapSerializeUtils.readBitmapPixels(bitmap, source);
942 // Invalidate all caches of the old state of the bitmap