OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scaledBitmap
(Results
1 - 4
of
4
) sorted by null
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
OvicDetectorBenchmarker.java
34
private Bitmap
scaledBitmap
= null; // Preallocate bitmap for scaling.
147
scaledBitmap
= Bitmap.createScaledBitmap(bitmap, imgWidth, imgHeight, true);
150
scaledBitmap
.getPixels(intValues, 0, imgWidth, 0, 0, imgWidth, imgHeight);
151
scaledBitmap
.recycle();
/development/samples/devbytes/graphics/BitmapScaling/src/com/example/android/bitmapscaling/
BitmapScaling.java
67
Bitmap
scaledBitmap
= BitmapFactory.decodeResource(getResources(),
72
scaledImageView.setImageBitmap(
scaledBitmap
);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBitmap.java
213
Bitmap
scaledBitmap
= ReflectionHelpers.callConstructor(Bitmap.class);
214
ShadowBitmap shadowBitmap = Shadow.extract(
scaledBitmap
);
225
return
scaledBitmap
;
242
Bitmap
scaledBitmap
= ReflectionHelpers.callConstructor(Bitmap.class);
243
ShadowBitmap shadowBitmap = Shadow.extract(
scaledBitmap
);
257
return
scaledBitmap
;
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBitmapTest.java
34
Bitmap
scaledBitmap
= Bitmap.createScaledBitmap(originalBitmap, 100, 200, false);
35
assertThat(shadowOf(
scaledBitmap
).getDescription())
37
assertThat(
scaledBitmap
.getWidth()).isEqualTo(100);
38
assertThat(
scaledBitmap
.getHeight()).isEqualTo(200);
39
scaledBitmap
.getPixels(new int[20000], 0, 0, 0, 0, 100, 200);
Completed in 382 milliseconds