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
186
private static Insets
scaleFromDensity
(Insets insets, int sdensity, int tdensity) {
187
int left = Bitmap.
scaleFromDensity
(insets.left, sdensity, tdensity);
188
int top = Bitmap.
scaleFromDensity
(insets.top, sdensity, tdensity);
189
int right = Bitmap.
scaleFromDensity
(insets.right, sdensity, tdensity);
190
int bottom = Bitmap.
scaleFromDensity
(insets.bottom, sdensity, tdensity);
202
mBitmapWidth = Bitmap.
scaleFromDensity
(mNinePatch.getWidth(), sdensity, tdensity);
203
mBitmapHeight = Bitmap.
scaleFromDensity
(mNinePatch.getHeight(), sdensity, tdensity);
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
...]
/frameworks/base/graphics/java/android/graphics/
Bitmap.java
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/cts/
BitmapTest.java
849
int scaledHeight =
scaleFromDensity
(ret.getHeight(), ret.getDensity(), dummyDensity);
858
int scaledHeight =
scaleFromDensity
(ret.getHeight(), ret.getDensity(), metrics.densityDpi);
868
int scaledHeight =
scaleFromDensity
(
876
int scaledWidth =
scaleFromDensity
(ret.getWidth(), ret.getDensity(), dummyDensity);
885
int scaledWidth =
scaleFromDensity
(ret.getWidth(), ret.getDensity(), metrics.densityDpi);
895
int scaledWidth =
scaleFromDensity
(ret.getWidth(), ret.getDensity(), mCanvas.getDensity());
899
private int
scaleFromDensity
(int size, int sdensity, int tdensity) {
Completed in 31 milliseconds