Home | History | Annotate | Download | only in graphics

Lines Matching refs:Density

22 import com.android.resources.Density;
97 * @param density the density associated with the bitmap
102 public static Bitmap createBitmap(File input, boolean isMutable, Density density)
104 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
111 * @param density the density associated with the bitmap
118 Density density) throws IOException {
122 return createBitmap(delegate, createFlags, density.getDpiValue());
130 * @param density the density associated with the bitmap
135 public static Bitmap createBitmap(InputStream input, boolean isMutable, Density density)
137 return createBitmap(input, getPremultipliedBitmapCreateFlags(isMutable), density);
145 * @param density the density associated with the bitmap
152 Density density) throws IOException {
156 return createBitmap(delegate, createFlags, density.getDpiValue());
164 * @param density the density associated with the bitmap
170 Density density) throws IOException {
171 return createBitmap(image, getPremultipliedBitmapCreateFlags(isMutable), density);
179 * @param density the density associated with the bitmap
186 Density density) throws IOException {
190 return createBitmap(delegate, createFlags, density.getDpiValue());
477 int density, Parcel p) {
509 // the density doesn't matter, it's set by the Java method.
511 Density.DEFAULT_DENSITY /*density*/);
613 Set<BitmapCreateFlags> createFlags, int density) {
623 return new Bitmap(nativeInt, null /* buffer */, width, height, density, isMutable,