Home
last modified time | relevance | path

Searched refs:scaledIcon (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUserIconProvider.java56 BitmapDrawable scaledIcon = (BitmapDrawable) mCarUserManagerHelper.scaleUserIcon(icon, res in getUserIcon() local
61 .create(res, scaledIcon.getBitmap()); in getUserIcon()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java1050 Bitmap scaledIcon = Bitmap.createScaledBitmap( in scaleUserIcon() local
1052 return new BitmapDrawable(mContext.getResources(), scaledIcon); in scaleUserIcon()
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/
DCarUserManagerHelperTest.java596 Drawable scaledIcon = mCarUserManagerHelper.scaleUserIcon(fakeIcon, 300); in testScaleUserIcon() local
597 assertThat(scaledIcon.getIntrinsicWidth()).isEqualTo(300); in testScaleUserIcon()
598 assertThat(scaledIcon.getIntrinsicHeight()).isEqualTo(300); in testScaleUserIcon()