HomeSort by relevance Sort by last modified time
    Searched refs:imageResource (Results 1 - 22 of 22) sorted by null

  /external/skia/src/gpu/vk/
GrVkTexture.cpp 19 const GrVkImage::Resource* imageResource,
22 , GrVkImage(imageResource)
32 const GrVkImage::Resource* imageResource,
36 , GrVkImage(imageResource)
45 const GrVkImage::Resource* imageResource) {
46 VkImage image = imageResource->fImage;
53 return new GrVkTexture(gpu, desc, lifeCycle, imageResource, imageView);
61 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc);
62 if (!imageResource) {
66 GrVkTexture* texture = Create(gpu, desc, lifeCycle, imageDesc.fFormat, imageResource);
    [all...]
GrVkTextureRenderTarget.h 51 const GrVkImage::Resource* imageResource,
57 , GrVkImage(imageResource)
58 , GrVkTexture(gpu, desc, lifeCycle, imageResource, texView, GrVkTexture::kDerived)
59 , GrVkRenderTarget(gpu, desc, lifeCycle, imageResource, msaaResource, colorAttachmentView,
67 const GrVkImage::Resource* imageResource,
71 , GrVkImage(imageResource)
72 , GrVkTexture(gpu, desc, lifeCycle, imageResource, texView, GrVkTexture::kDerived)
73 , GrVkRenderTarget(gpu, desc, lifeCycle, imageResource, colorAttachmentView,
81 const GrVkImage::Resource* imageResource);
GrVkStencilAttachment.cpp 20 const GrVkImage::Resource* imageResource,
24 , fImageResource(imageResource)
27 imageResource->ref();
48 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc);
49 if (!imageResource) {
53 const GrVkImageView* imageView = GrVkImageView::Create(gpu, imageResource->fImage,
57 imageResource->unref(gpu);
62 imageResource, imageView);
63 imageResource->unref(gpu);
GrVkRenderTarget.cpp 25 const GrVkImage::Resource* imageResource,
30 , GrVkImage(imageResource)
51 const GrVkImage::Resource* imageResource,
57 , GrVkImage(imageResource)
77 const GrVkImage::Resource* imageResource,
80 , GrVkImage(imageResource)
98 const GrVkImage::Resource* imageResource,
102 , GrVkImage(imageResource)
118 const GrVkImage::Resource* imageResource) {
149 resolveAttachmentView = GrVkImageView::Create(gpu, imageResource->fImage, pixelFormat
    [all...]
GrVkImage.h 45 GrVkImage(const Resource* imageResource) : fResource(imageResource) {
46 if (imageResource->fFlags & Resource::kLinearTiling_Flag) {
51 imageResource->ref();
GrVkRenderTarget.h 73 const GrVkImage::Resource* imageResource,
81 const GrVkImage::Resource* imageResource,
90 const GrVkImage::Resource* imageResource,
96 const GrVkImage::Resource* imageResource,
102 const GrVkImage::Resource* imageResource);
GrVkTextureRenderTarget.cpp 22 const GrVkImage::Resource* imageResource) {
24 VkImage image = imageResource->fImage;
78 colorImage = imageResource->fImage;
104 imageResource, imageView, msaaImageResource,
110 imageResource, imageView,
146 // Note: we assume the caller will unref the imageResource
GrVkStencilAttachment.h 33 const GrVkImage::Resource* imageResource() const { return fImageResource; }
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
ImageRequestTest.java 59 final ImageResource imageResource = imageRequest.loadMediaBlocking(null);
67 assertNotNull(imageResource);
68 assertNotNull(imageResource.getBitmap());
71 final int bitmapWidth = imageResource.getBitmap().getWidth();
72 final int bitmapHeight = imageResource.getBitmap().getHeight();
90 final ImageResource imageResource = imageRequest.loadMediaBlocking(null);
97 assertNotNull(imageResource);
98 assertNotNull(imageResource.getBitmap())
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
PoolableImageCache.java 37 public class PoolableImageCache extends MediaCache<ImageResource> {
67 public synchronized ImageResource addResourceToCache(final String key,
68 final ImageResource imageResource) {
69 mReusablePoolAccessor.onResourceEnterCache(imageResource);
70 return super.addResourceToCache(key, imageResource);
75 final ImageResource oldValue, final ImageResource newValue) {
118 private final SparseArray<LinkedList<ImageResource>> mImageListSparseArray;
121 mImageListSparseArray = new SparseArray<LinkedList<ImageResource>>();
    [all...]
AvatarRequest.java 70 protected ImageResource loadMediaInternal(List<MediaRequest<ImageResource>> chainedTasks)
80 ImageResource imageResource = super.loadMediaInternal(chainedTasks);
81 bitmap = imageResource.getBitmap();
82 orientation = imageResource.mOrientation;
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
CameraPicker.java 44 public static void setImageResourceId(int imageResource) {
45 mImageResource = imageResource;
  /packages/apps/Dialer/src/com/android/dialer/list/
RegularSearchFragment.java 94 final int imageResource;
99 imageResource = R.drawable.empty_contacts;
105 imageResource = EmptyContentView.NO_IMAGE;
112 mEmptyView.setImage(imageResource);
  /external/replicaisland/src/com/replica/replicaisland/
ConversationUtils.java 32 public int imageResource;
65 page.imageResource = value;
ConversationDialogActivity.java 133 newPage.imageResource = currentPage.imageResource;
185 if (page.imageResource != 0) {
186 image.setImageResource(page.imageResource);
  /packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
BuglePhotoBitmapLoader.java 28 import com.android.messaging.datamodel.media.ImageResource;
40 private ImageResource mImageResource;
67 final MediaRequest<ImageResource> imageRequest =
69 final ImageResource imageResource =
71 if (imageResource != null) {
72 setImageResource(imageResource);
171 private void setImageResource(final ImageResource resource) {
182 // If we are getting rid of the imageResource backing the drawable, we must also
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
CommonControllerOverlay.java 311 int imageResource = R.drawable.ic_vidcontrol_reload;
314 imageResource = R.drawable.ic_vidcontrol_play;
317 imageResource = R.drawable.ic_vidcontrol_pause;
321 mPlayPauseReplayView.setImageResource(imageResource);
  /packages/apps/Messaging/src/com/android/messaging/widget/
BaseWidgetFactory.java 37 import com.android.messaging.datamodel.media.ImageResource;
62 protected ImageResource mAvatarResource;
178 final MediaRequest<ImageResource> imageRequest =
180 final ImageResource imageResource =
182 if (imageResource != null) {
183 setAvatarResource(imageResource);
218 private void setAvatarResource(final ImageResource resource) {
WidgetConversationService.java 40 import com.android.messaging.datamodel.media.ImageResource;
74 private ImageResource mImageResource;
449 final MediaRequest<ImageResource> imageRequest =
451 final ImageResource imageResource =
453 if (imageResource != null && imageResource.getBitmap() != null) {
454 setImageResource(imageResource);
455 return Bitmap.createBitmap(imageResource.getBitmap());
505 private void setImageResource(final ImageResource resource)
    [all...]
  /external/skia/include/device/xps/
SkXPSDevice.h 275 IXpsOMImageResource* imageResource,
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleNotifications.java 57 import com.android.messaging.datamodel.media.ImageResource;
479 final MediaRequest<ImageResource> imageRequest = descriptor.buildSyncMediaRequest(
487 final ImageResource avatarImage =
490 ImageResource avatarHiRes = null;
513 // because the bitmap in the ImageResource is managed and will automatically
579 private static ImageResource requestContactDisplayPhoto(final Context context,
    [all...]
  /external/skia/src/device/xps/
SkXPSDevice.cpp 673 SkTScopedComPtr<IXpsOMImageResource> imageResource;
678 &imageResource),
686 HRM(this->fXpsFactory->CreateImageBrush(imageResource.get(),
736 imageResource.get(),
745 imageResource.get(),
757 imageResource.get(),
766 imageResource.get(),
    [all...]

Completed in 285 milliseconds