OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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
225
Bitmap
unusedBitmap
= null;
228
while (
unusedBitmap
== null && mUnusedBitmaps.size() > 0) {
233
unusedBitmap
= candidate;
236
if (
unusedBitmap
!= null) {
238
c.setBitmap(
unusedBitmap
);
244
if (
unusedBitmap
== null) {
245
unusedBitmap
= Bitmap.createBitmap(mPreviewBitmapWidth, mPreviewBitmapHeight,
248
Bitmap preview = readFromDb(name,
unusedBitmap
);
257
final Bitmap generatedPreview = generatePreview(o,
unusedBitmap
);
259
if (preview !=
unusedBitmap
) {
[
all
...]
Completed in 1254 milliseconds