OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:setTargetDensity
(Results
1 - 4
of
4
) sorted by null
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java
388
bitmapDrawable.
setTargetDensity
(bitmap.getDensity());
394
bitmapDrawable.
setTargetDensity
(bitmapDrawable.getBitmap().getDensity());
415
bitmapDrawable.
setTargetDensity
(canvas);
429
bitmapDrawable.
setTargetDensity
(mContext.getResources().getDisplayMetrics());
444
bitmapDrawable.
setTargetDensity
(targetDensity);
NinePatchDrawableTest.java
440
void
setTargetDensity
(NinePatchDrawable dr, int density);
476
densitySetter.
setTargetDensity
(scaledDrawable, scaledDensityDpi);
505
verifySetTargetDensityOuter((dr, density) -> dr.
setTargetDensity
(density));
510
// This should be identical to calling
setTargetDensity
(int) with the
515
dr.
setTargetDensity
(c);
521
// This should be identical to calling
setTargetDensity
(int) with the
526
dr.
setTargetDensity
(dm);
ClipDrawableTest.java
141
bmpDrawable.
setTargetDensity
(bitmap.getDensity()); // avoid scaling
156
bmpDrawable.
setTargetDensity
(bitmap.getDensity()); // avoid scaling
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DensityActivity.java
141
if (!scale) d.
setTargetDensity
(getResources().getDisplayMetrics());
Completed in 57 milliseconds