Home
last modified time | relevance | path

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

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationBuilderTest.java491 final BitmapDrawable bd = (BitmapDrawable)getResources().getDrawable(id); in loadBitmap() local
492 return Bitmap.createBitmap(bd.getBitmap()); in loadBitmap()
DNotificationTestList.java1214 BitmapDrawable bd = (BitmapDrawable)getResources().getDrawable(resId); in loadBitmap() local
1215 return Bitmap.createBitmap(bd.getBitmap()); in loadBitmap()
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java128 BitmapDrawable bd = (BitmapDrawable) d; in isGrayscaleIcon() local
129 return bd.getBitmap() != null && isGrayscaleIcon(bd.getBitmap()); in isGrayscaleIcon()
/frameworks/base/core/java/android/os/
DBatteryStats.java5481 BitDescription bd = descriptions[i]; in printBitDescriptions() local
5482 if ((diff&bd.mask) != 0) { in printBitDescriptions()
5484 if (bd.shift < 0) { in printBitDescriptions()
5485 pw.print((newval&bd.mask) != 0 ? "+" : "-"); in printBitDescriptions()
5486 pw.print(longNames ? bd.name : bd.shortName); in printBitDescriptions()
5487 if (bd.mask == HistoryItem.STATE_WAKE_LOCK_FLAG && wakelockTag != null) { in printBitDescriptions()
5500 pw.print(longNames ? bd.name : bd.shortName); in printBitDescriptions()
5502 int val = (newval&bd.mask)>>bd.shift; in printBitDescriptions()
5503 if (bd.values != null && val >= 0 && val < bd.values.length) { in printBitDescriptions()
5504 pw.print(longNames? bd.values[val] : bd.shortValues[val]); in printBitDescriptions()