OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scaleFromDensity
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java
184
private static Insets
scaleFromDensity
(Insets insets, int sdensity, int tdensity) {
185
int left = Bitmap.
scaleFromDensity
(insets.left, sdensity, tdensity);
186
int top = Bitmap.
scaleFromDensity
(insets.top, sdensity, tdensity);
187
int right = Bitmap.
scaleFromDensity
(insets.right, sdensity, tdensity);
188
int bottom = Bitmap.
scaleFromDensity
(insets.bottom, sdensity, tdensity);
200
mBitmapWidth = Bitmap.
scaleFromDensity
(mNinePatch.getWidth(),
202
mBitmapHeight = Bitmap.
scaleFromDensity
(mNinePatch.getHeight(),
210
dest.left = Bitmap.
scaleFromDensity
(src.left, sdensity, tdensity);
211
dest.top = Bitmap.
scaleFromDensity
(src.top, sdensity, tdensity);
212
dest.right = Bitmap.
scaleFromDensity
(src.right, sdensity, tdensity)
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java
638
int scaledHeight =
scaleFromDensity
(ret.getHeight(), ret.getDensity(), dummyDensity);
647
int scaledHeight =
scaleFromDensity
(ret.getHeight(), ret.getDensity(), metrics.densityDpi);
657
int scaledHeight =
scaleFromDensity
(
665
int scaledWidth =
scaleFromDensity
(ret.getWidth(), ret.getDensity(), dummyDensity);
674
int scaledWidth =
scaleFromDensity
(ret.getWidth(), ret.getDensity(), metrics.densityDpi);
684
int scaledWidth =
scaleFromDensity
(ret.getWidth(), ret.getDensity(), mCanvas.getDensity());
688
private int
scaleFromDensity
(int size, int sdensity, int tdensity) {
/frameworks/base/graphics/java/android/graphics/
Bitmap.java
[
all
...]
Completed in 47 milliseconds