OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:originalbitmap
(Results
1 - 15
of
15
) sorted by null
/external/chromium_org/third_party/skia/src/core/
SkBitmapHeap.cpp
255
bool SkBitmapHeap::copyBitmap(const SkBitmap&
originalBitmap
, SkBitmap& copiedBitmap) {
260
if (
originalBitmap
.isImmutable()) {
261
copiedBitmap =
originalBitmap
;
265
// copiedBitmap.setPixelRef(sharedPixelRef,
originalBitmap
.pixelRefOffset());
266
} else if (
originalBitmap
.empty()) {
268
} else if (!
originalBitmap
.deepCopyTo(&copiedBitmap)) {
288
int32_t SkBitmapHeap::insert(const SkBitmap&
originalBitmap
) {
290
int searchIndex = this->findInLookupTable(LookupEntry(
originalBitmap
), &entry);
314
LookupEntry* lookupEntry = this->findEntryToReplace(
originalBitmap
);
346
copySucceeded = fExternalStorage->insert(
originalBitmap
, entry->fSlot)
[
all
...]
SkBitmapHeap.h
266
bool copyBitmap(const SkBitmap&
originalBitmap
, SkBitmap& copiedBitmap);
/external/skia/src/core/
SkBitmapHeap.cpp
255
bool SkBitmapHeap::copyBitmap(const SkBitmap&
originalBitmap
, SkBitmap& copiedBitmap) {
260
if (
originalBitmap
.isImmutable()) {
261
copiedBitmap =
originalBitmap
;
265
// copiedBitmap.setPixelRef(sharedPixelRef,
originalBitmap
.pixelRefOffset());
266
} else if (
originalBitmap
.empty()) {
268
} else if (!
originalBitmap
.deepCopyTo(&copiedBitmap)) {
288
int32_t SkBitmapHeap::insert(const SkBitmap&
originalBitmap
) {
290
int searchIndex = this->findInLookupTable(LookupEntry(
originalBitmap
), &entry);
314
LookupEntry* lookupEntry = this->findEntryToReplace(
originalBitmap
);
346
copySucceeded = fExternalStorage->insert(
originalBitmap
, entry->fSlot)
[
all
...]
SkBitmapHeap.h
266
bool copyBitmap(const SkBitmap&
originalBitmap
, SkBitmap& copiedBitmap);
/external/robolectric/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/chromium_org/ui/android/java/src/org/chromium/ui/
UiUtils.java
163
Bitmap
originalBitmap
= currentView.getDrawingCache();
164
if (
originalBitmap
!= null) {
165
double originalHeight =
originalBitmap
.getHeight();
166
double originalWidth =
originalBitmap
.getWidth();
175
Bitmap.createScaledBitmap(
originalBitmap
, newWidth, newHeight, true);
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
ImagePixelization.java
296
Bitmap
originalBitmap
= (Bitmap)params[1];
297
return pixelizeImage(pixelizationFactor,
originalBitmap
);
/external/chromium_org/third_party/skia/tools/
skimage_main.cpp
342
* extractSubset on
originalBitmap
to create a bitmap with the same dimensions/pixels as
344
* @param
originalBitmap
SkBitmap decoded from the same stream as bitmapFromDecodeSubset,
352
SkIRect rect, const SkBitmap&
originalBitmap
) {
381
if (!
originalBitmap
.extractSubset(&extractedSubset, rect)) {
[
all
...]
/external/skia/tools/
skimage_main.cpp
342
* extractSubset on
originalBitmap
to create a bitmap with the same dimensions/pixels as
344
* @param
originalBitmap
SkBitmap decoded from the same stream as bitmapFromDecodeSubset,
352
SkIRect rect, const SkBitmap&
originalBitmap
) {
381
if (!
originalBitmap
.extractSubset(&extractedSubset, rect)) {
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
Utils.java
666
final Bitmap
originalBitmap
= drawingCache.copy(Bitmap.Config.RGB_565, false);
667
double originalHeight =
originalBitmap
.getHeight();
668
double originalWidth =
originalBitmap
.getWidth();
677
return Bitmap.createScaledBitmap(
originalBitmap
, newWidth, newHeight, true);
[
all
...]
Completed in 1767 milliseconds