HomeSort by relevance Sort by last modified time
    Searched refs:unusedBitmap (Results 1 - 2 of 2) sorted by null

  /packages/apps/Launcher2/src/com/android/launcher2/
WidgetPreviewLoader.java 210 Bitmap unusedBitmap = null;
213 while ((unusedBitmap == null || !unusedBitmap.isMutable() ||
214 unusedBitmap.getWidth() != mPreviewBitmapWidth ||
215 unusedBitmap.getHeight() != mPreviewBitmapHeight)
217 unusedBitmap = mUnusedBitmaps.remove(0).get();
219 if (unusedBitmap != null) {
221 c.setBitmap(unusedBitmap);
227 if (unusedBitmap == null) {
228 unusedBitmap = Bitmap.createBitmap(mPreviewBitmapWidth, mPreviewBitmapHeight
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
WidgetPreviewLoader.java 214 Bitmap unusedBitmap = null;
217 while (unusedBitmap == null && mUnusedBitmaps.size() > 0) {
222 unusedBitmap = candidate;
225 if (unusedBitmap != null) {
227 c.setBitmap(unusedBitmap);
233 if (unusedBitmap == null) {
234 unusedBitmap = Bitmap.createBitmap(mPreviewBitmapWidth, mPreviewBitmapHeight,
237 Bitmap preview = readFromDb(name, unusedBitmap);
246 final Bitmap generatedPreview = generatePreview(o, unusedBitmap);
248 if (preview != unusedBitmap) {
    [all...]

Completed in 1023 milliseconds