/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/eventhandlingadvanced/ |
D | AdvancedEventHandlingActivity.java | 36 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/ |
D | ImageDisplayRegionFragment.java | 27 final SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView() local 28 …imageView.setBitmapDecoderFactory(new CompatDecoderFactory<ImageDecoder>(SkiaImageDecoder.class, B… in onCreateView() 29 …imageView.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()
|
D | ImageDisplayRotateFragment.java | 20 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()
|
D | ImageDisplayLargeFragment.java | 26 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/ |
D | ShadowRelativeLayoutTest.java | 22 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()
|
D | ShadowImageViewTest.java | 24 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/ |
D | EventHandlingActivity.java | 31 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/ |
D | GrVkTextureRenderTarget.cpp | 97 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()
|
D | GrVkTexture.cpp | 80 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()
|
D | GrVkImageView.h | 29 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()
|
D | GrVkStencilAttachment.cpp | 52 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()
|
D | GrVkImageView.cpp | 36 VkImageView imageView; in Create() local 56 nullptr, &imageView)); in Create() 61 return new GrVkImageView(imageView, ycbcrConversion); in Create()
|
D | GrVkFramebuffer.cpp | 24 attachments[0] = colorAttachment->imageView(); in Create() 27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create()
|
/external/skia/src/gpu/vk/ |
D | GrVkTextureRenderTarget.cpp | 97 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()
|
D | GrVkTexture.cpp | 80 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()
|
D | GrVkImageView.h | 29 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()
|
D | GrVkStencilAttachment.cpp | 52 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()
|
D | GrVkImageView.cpp | 36 VkImageView imageView; in Create() local 56 nullptr, &imageView)); in Create() 61 return new GrVkImageView(imageView, ycbcrConversion); in Create()
|
D | GrVkFramebuffer.cpp | 24 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/ |
D | ExtensionPinFragment.java | 27 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()
|
D | ExtensionFreehandFragment.java | 26 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()
|
D | ExtensionCircleFragment.java | 29 SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView() local 30 imageView.setImage(ImageSource.asset("sanmartino.jpg")); in onCreateView()
|
/external/subsampling-scale-image-view/ |
D | README.md | 94 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/ |
D | ViewPagerFragment.java | 38 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/ |
D | ShadowNotification.java | 83 …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()
|