OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:originalbitmap
(Results
1 - 11
of
11
) sorted by null
/packages/experimental/KBars/app/src/main/java/js/kbars/
DropShadowActivity.java
35
Bitmap
originalBitmap
= BitmapFactory.decodeResource(getResources(), 17301624);
36
Bitmap shadowImage32 =
originalBitmap
.extractAlpha(shadowPaint, offsetXY).copy(Config.ARGB_8888, true);
37
new Canvas(shadowImage32).drawBitmap(
originalBitmap
, (float) ((-offsetXY[0]) - 10), (float) ((-offsetXY[1]) - 10), null);
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
BitmapTest.java
24
Bitmap
originalBitmap
= Robolectric.newInstanceOf(Bitmap.class);
25
shadowOf(
originalBitmap
).appendDescription("Original bitmap");
26
Bitmap scaledBitmap = Bitmap.createScaledBitmap(
originalBitmap
, 100, 200, false);
46
Bitmap
originalBitmap
= Robolectric.newInstanceOf(Bitmap.class);
47
shadowOf(
originalBitmap
).appendDescription("Original bitmap");
48
Bitmap newBitmap = Bitmap.createBitmap(
originalBitmap
);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ThumbnailLoadTask.java
140
final Bitmap
originalBitmap
= BitmapFactory.decodeFileDescriptor(
142
if (
originalBitmap
!= null && orientation != 0) {
145
return Bitmap.createBitmap(
originalBitmap
, 0, 0,
originalBitmap
.getWidth(),
146
originalBitmap
.getHeight(), matrix, true);
148
return
originalBitmap
;
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
ImageUtils.java
155
final Bitmap
originalBitmap
= BitmapFactory.decodeStream(is, outPadding, opts);
157
if (is != null &&
originalBitmap
== null && !opts.inJustDecodeBounds) {
165
if (
originalBitmap
!= null && orientation != 0) {
168
return Bitmap.createBitmap(
originalBitmap
, 0, 0,
originalBitmap
.getWidth(),
169
originalBitmap
.getHeight(), matrix, true);
171
return
originalBitmap
;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
CacheProcessing.java
131
public Bitmap process(Bitmap
originalBitmap
,
136
return environment.getBitmapCopy(
originalBitmap
, BitmapCache.PREVIEW_CACHE_NO_FILTERS);
193
cacheBitmap = environment.getBitmapCopy(
originalBitmap
,
210
cacheBitmap = environment.getBitmapCopy(
originalBitmap
,
216
+ " got from original Bitmap: " +
originalBitmap
+ " w: "
217
+
originalBitmap
.getWidth() + " h: " +
originalBitmap
.getHeight());
ProcessingService.java
74
public void setOriginalBitmap(Bitmap
originalBitmap
) {
78
mUpdatePreviewTask.setOriginal(
originalBitmap
);
79
mHighresRenderingRequestTask.setOriginal(
originalBitmap
);
80
mFullresRenderingRequestTask.setOriginal(
originalBitmap
);
81
mRenderingRequestTask.setOriginal(
originalBitmap
);
CachingPipeline.java
189
Bitmap
originalBitmap
= mOriginalBitmap;
191
if (
originalBitmap
== null) {
198
mFiltersOnlyOriginalAllocation = Allocation.createFromBitmap(RS,
originalBitmap
,
205
mResizedOriginalBitmap = preset.applyGeometry(
originalBitmap
, mEnvironment);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBitmapTest.java
31
Bitmap
originalBitmap
= create("Original bitmap");
32
Bitmap scaledBitmap = Bitmap.createScaledBitmap(
originalBitmap
, 100, 200, false);
87
Bitmap
originalBitmap
= create("Original bitmap");
88
Bitmap newBitmap = Bitmap.createBitmap(
originalBitmap
);
95
Bitmap
originalBitmap
= create("Original bitmap");
96
shadowOf(
originalBitmap
).setWidth(200);
97
shadowOf(
originalBitmap
).setHeight(200);
100
Bitmap newBitmap = Bitmap.createBitmap(
originalBitmap
, 0, 0, 100, 100, m, true);
/packages/apps/Camera2/src/com/android/camera/widget/
RoundedThumbnailView.java
726
Bitmap
originalBitmap
= thumbnailBitmap;
728
if (
originalBitmap
.getWidth() !=
originalBitmap
.getHeight()) {
729
originalBitmap
= cropCenterBitmap(
originalBitmap
);
732
precomputeThumbnailPaint(
originalBitmap
, rotation);
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
ImagePixelization.java
296
Bitmap
originalBitmap
= (Bitmap)params[1];
297
return pixelizeImage(pixelizationFactor,
originalBitmap
);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
Utils.java
671
final Bitmap
originalBitmap
= drawingCache.copy(Bitmap.Config.RGB_565, false);
672
double originalHeight =
originalBitmap
.getHeight();
673
double originalWidth =
originalBitmap
.getWidth();
682
return Bitmap.createScaledBitmap(
originalBitmap
, newWidth, newHeight, true);
[
all
...]
Completed in 1901 milliseconds