Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java125 BitmapDrawable bd = (BitmapDrawable) d; in isGrayscaleIcon() local
126 return bd.getBitmap() != null && isGrayscaleIcon(bd.getBitmap()); in isGrayscaleIcon()
/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.java1303 BitmapDrawable bd = (BitmapDrawable)getResources().getDrawable(resId); in loadBitmap() local
1304 return Bitmap.createBitmap(bd.getBitmap()); in loadBitmap()
/frameworks/base/core/java/android/os/
DBatteryStats.java4677 BitDescription bd = descriptions[i]; in printBitDescriptions() local
4678 if ((diff&bd.mask) != 0) { in printBitDescriptions()
4680 if (bd.shift < 0) { in printBitDescriptions()
4681 pw.print((newval&bd.mask) != 0 ? "+" : "-"); in printBitDescriptions()
4682 pw.print(longNames ? bd.name : bd.shortName); in printBitDescriptions()
4683 if (bd.mask == HistoryItem.STATE_WAKE_LOCK_FLAG && wakelockTag != null) { in printBitDescriptions()
4696 pw.print(longNames ? bd.name : bd.shortName); in printBitDescriptions()
4698 int val = (newval&bd.mask)>>bd.shift; in printBitDescriptions()
4699 if (bd.values != null && val >= 0 && val < bd.values.length) { in printBitDescriptions()
4700 pw.print(longNames? bd.values[val] : bd.shortValues[val]); in printBitDescriptions()