Home
last modified time | relevance | path

Searched refs:imageView (Results 1 – 25 of 102) sorted by relevance

12345

/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandlingadvanced/
DAdvancedEventHandlingActivity.java36 final SubsamplingScaleImageView imageView = findViewById(id.imageView); in onCreate() local
40 if (imageView.isReady()) { in onCreate()
41 PointF sCoord = imageView.viewToSourceCoord(e.getX(), e.getY()); in onCreate()
50 if (imageView.isReady()) { in onCreate()
51 PointF sCoord = imageView.viewToSourceCoord(e.getX(), e.getY()); in onCreate()
59 if (imageView.isReady()) { in onCreate()
60 PointF sCoord = imageView.viewToSourceCoord(e.getX(), e.getY()); in onCreate()
69 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreate()
70 imageView.setOnTouchListener(new View.OnTouchListener() { in onCreate()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/imagedisplay/
DImageDisplayRegionFragment.java27 final SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView() local
28imageView.setBitmapDecoderFactory(new CompatDecoderFactory<ImageDecoder>(SkiaImageDecoder.class, B… in onCreateView()
29imageView.setRegionDecoderFactory(new CompatDecoderFactory<ImageRegionDecoder>(SkiaImageRegionDeco… in onCreateView()
30 imageView.setOrientation(SubsamplingScaleImageView.ORIENTATION_90); in onCreateView()
31 imageView.setImage(ImageSource.asset("card.png").region(new Rect(5200, 651, 8200, 3250))); in onCreateView()
39 …@Override public void onClick(View v) { imageView.setOrientation((imageView.getOrientation() + 90)… in onCreateView()
DImageDisplayRotateFragment.java20 final SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView() local
21 imageView.setImage(ImageSource.asset("swissroad.jpg")); in onCreateView()
22 imageView.setOrientation(90); in onCreateView()
33 …@Override public void onClick(View v) { imageView.setOrientation((imageView.getOrientation() + 90)… in onCreateView()
DImageDisplayLargeFragment.java26 SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView() local
27 imageView.setImage(ImageSource.asset("card.png")); in onCreateView()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowRelativeLayoutTest.java22 ImageView imageView = new ImageView(ApplicationProvider.getApplicationContext()); in getRules_shouldShowAddRuleData_sinceApiLevel17() local
24 …layout.addView(imageView, new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, Vie… in getRules_shouldShowAddRuleData_sinceApiLevel17()
25 …RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) imageView.getLayoutParams… in getRules_shouldShowAddRuleData_sinceApiLevel17()
35 ImageView imageView = new ImageView(ApplicationProvider.getApplicationContext()); in getRules_shouldShowAddRuleData_uptoApiLevel16() local
37 …layout.addView(imageView, new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, Vie… in getRules_shouldShowAddRuleData_uptoApiLevel16()
38 …RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) imageView.getLayoutParams… in getRules_shouldShowAddRuleData_uptoApiLevel16()
DShadowImageViewTest.java24 ImageView imageView = new ImageView(ApplicationProvider.getApplicationContext()); in getDrawableResourceId_shouldWorkWhenTheDrawableWasCreatedFromAResource() local
25 imageView.setImageBitmap(bitmap); in getDrawableResourceId_shouldWorkWhenTheDrawableWasCreatedFromAResource()
27 imageView.setImageResource(R.drawable.an_image); in getDrawableResourceId_shouldWorkWhenTheDrawableWasCreatedFromAResource()
28 …assertThat(shadowOf(imageView.getDrawable()).getCreatedFromResId()).isEqualTo(R.drawable.an_image); in getDrawableResourceId_shouldWorkWhenTheDrawableWasCreatedFromAResource()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandling/
DEventHandlingActivity.java31 SubsamplingScaleImageView imageView = findViewById(id.imageView); in onCreate() local
32 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreate()
33 imageView.setOnClickListener(new View.OnClickListener() { in onCreate()
36 imageView.setOnLongClickListener(new View.OnLongClickListener() { in onCreate()
/external/skqp/src/gpu/vk/
DGrVkTextureRenderTarget.cpp97 const GrVkImageView* imageView = nullptr; member
109 views.imageView = GrVkImageView::Create(gpu, image, info.fFormat, GrVkImageView::kColor_Type, in create_views()
111 if (!views.imageView) { in create_views()
136 views.imageView->unref(gpu); in create_views()
149 views.imageView->unref(gpu); in create_views()
165 views.imageView->unref(gpu); in create_views()
193 gpu, budgeted, desc, info, std::move(layout), views.imageView, views.msInfo, in MakeNewTextureRenderTarget()
198 gpu, budgeted, desc, info, std::move(layout), views.imageView, in MakeNewTextureRenderTarget()
224 gpu, desc, info, std::move(layout), views.imageView, views.msInfo, in MakeWrappedTextureRenderTarget()
229 gpu, desc, info, std::move(layout), views.imageView, views.colorAttachmentView, in MakeWrappedTextureRenderTarget()
DGrVkTexture.cpp80 const GrVkImageView* imageView = GrVkImageView::Create( in MakeNewTexture() local
83 if (!imageView) { in MakeNewTexture()
90 imageView, mipMapsStatus)); in MakeNewTexture()
101 const GrVkImageView* imageView = GrVkImageView::Create( in MakeWrappedTexture() local
104 if (!imageView) { in MakeWrappedTexture()
113 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, desc, info, std::move(layout), imageView, in MakeWrappedTexture()
DGrVkImageView.h29 VkImageView imageView() const { return fImageView; } in imageView() function
38 GrVkImageView(VkImageView imageView, GrVkSamplerYcbcrConversion* ycbcrConversion) in GrVkImageView() argument
39 : INHERITED(), fImageView(imageView), fYcbcrConversion(ycbcrConversion) {} in GrVkImageView()
DGrVkStencilAttachment.cpp52 const GrVkImageView* imageView = GrVkImageView::Create(gpu, info.fImage, in Create() local
56 if (!imageView) { in Create()
63 info, std::move(layout), imageView); in Create()
64 imageView->unref(gpu); in Create()
DGrVkImageView.cpp36 VkImageView imageView; in Create() local
56 nullptr, &imageView)); in Create()
61 return new GrVkImageView(imageView, ycbcrConversion); in Create()
DGrVkFramebuffer.cpp24 attachments[0] = colorAttachment->imageView(); in Create()
27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create()
/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp97 const GrVkImageView* imageView = nullptr; member
109 views.imageView = GrVkImageView::Create(gpu, image, info.fFormat, GrVkImageView::kColor_Type, in create_views()
111 if (!views.imageView) { in create_views()
136 views.imageView->unref(gpu); in create_views()
149 views.imageView->unref(gpu); in create_views()
165 views.imageView->unref(gpu); in create_views()
193 gpu, budgeted, desc, info, std::move(layout), views.imageView, views.msInfo, in MakeNewTextureRenderTarget()
198 gpu, budgeted, desc, info, std::move(layout), views.imageView, in MakeNewTextureRenderTarget()
224 gpu, desc, info, std::move(layout), views.imageView, views.msInfo, in MakeWrappedTextureRenderTarget()
229 gpu, desc, info, std::move(layout), views.imageView, views.colorAttachmentView, in MakeWrappedTextureRenderTarget()
DGrVkTexture.cpp80 const GrVkImageView* imageView = GrVkImageView::Create( in MakeNewTexture() local
83 if (!imageView) { in MakeNewTexture()
90 imageView, mipMapsStatus)); in MakeNewTexture()
101 const GrVkImageView* imageView = GrVkImageView::Create( in MakeWrappedTexture() local
104 if (!imageView) { in MakeWrappedTexture()
113 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, desc, info, std::move(layout), imageView, in MakeWrappedTexture()
DGrVkImageView.h29 VkImageView imageView() const { return fImageView; } in imageView() function
38 GrVkImageView(VkImageView imageView, GrVkSamplerYcbcrConversion* ycbcrConversion) in GrVkImageView() argument
39 : INHERITED(), fImageView(imageView), fYcbcrConversion(ycbcrConversion) {} in GrVkImageView()
DGrVkStencilAttachment.cpp52 const GrVkImageView* imageView = GrVkImageView::Create(gpu, info.fImage, in Create() local
56 if (!imageView) { in Create()
63 info, std::move(layout), imageView); in Create()
64 imageView->unref(gpu); in Create()
DGrVkImageView.cpp36 VkImageView imageView; in Create() local
56 nullptr, &imageView)); in Create()
61 return new GrVkImageView(imageView, ycbcrConversion); in Create()
DGrVkFramebuffer.cpp24 attachments[0] = colorAttachment->imageView(); in Create()
27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/
DExtensionPinFragment.java27 PinView imageView = rootView.findViewById(id.imageView); in onCreateView() local
28 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreateView()
29 imageView.setPin(new PointF(1602f, 405f)); in onCreateView()
DExtensionFreehandFragment.java26 final FreehandView imageView = rootView.findViewById(id.imageView); in onCreateView() local
27 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreateView()
29 @Override public void onClick(View v) { imageView.reset(); } in onCreateView()
DExtensionCircleFragment.java29 SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView() local
30 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreateView()
/external/subsampling-scale-image-view/
DREADME.md94 android:id="@+id/imageView"
102 SubsamplingScaleImageView imageView = (SubsamplingScaleImageView)findViewById(id.imageView);
103 imageView.setImage(ImageSource.resource(R.drawable.monkey));
105 imageView.setImage(ImageSource.asset("map.png"))
107 imageView.setImage(ImageSource.uri("/sdcard/DCIM/DSCM00123.JPG"));
111 SubsamplingScaleImageView imageView = (SubsamplingScaleImageView)findViewById(id.imageView);
112 imageView.setImage(ImageSource.bitmap(bitmap));
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/viewpager/
DViewPagerFragment.java38 SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView() local
39 imageView.setImage(ImageSource.asset(asset)); in onCreateView()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowNotification.java83 …ImageView imageView = (ImageView) applyBigContentView().findViewById(getInternalResourceId("big_pi… in getBigPicture() local
84 return imageView != null && imageView.getDrawable() != null in getBigPicture()
85 ? ((BitmapDrawable) imageView.getDrawable()).getBitmap() : null; in getBigPicture()

12345