Searched refs:imageView (Results 1 – 9 of 9) sorted by relevance
148 ImageView imageView = new ImageView(mActivity); in testInvalidateDrawable() local149 imageView.invalidateDrawable(null); in testInvalidateDrawable()153 ImageView imageView = new ImageView(mActivity); in testSetAdjustViewBounds() local154 imageView.setScaleType(ScaleType.FIT_XY); in testSetAdjustViewBounds()156 imageView.setAdjustViewBounds(false); in testSetAdjustViewBounds()157 assertFalse(imageView.getAdjustViewBounds()); in testSetAdjustViewBounds()158 assertEquals(ScaleType.FIT_XY, imageView.getScaleType()); in testSetAdjustViewBounds()160 imageView.setAdjustViewBounds(true); in testSetAdjustViewBounds()161 assertTrue(imageView.getAdjustViewBounds()); in testSetAdjustViewBounds()162 assertEquals(ScaleType.FIT_CENTER, imageView.getScaleType()); in testSetAdjustViewBounds()[all …]
181 final ImageView imageView = new ImageView(mActivity); in testAccessView() local183 imageView.setImageDrawable(drawable); in testAccessView()187 mToast.setView(imageView); in testAccessView()192 assertSame(imageView, mToast.getView()); in testAccessView()193 assertShowAndHide(imageView); in testAccessView()
833 ImageView imageView; in getView() local835 imageView = new ImageView(mContext); in getView()837 imageView.setLayoutParams(new GridView.LayoutParams(layoutSize, layoutSize)); in getView()838 imageView.setAdjustViewBounds(false); in getView()839 imageView.setScaleType(ImageView.ScaleType.CENTER); in getView()840 imageView.setPadding(0, 0, 0, 0); in getView()842 imageView = (ImageView) convertView; in getView()845 imageView.setImageResource(mThumbIds[position]); in getView()847 return imageView; in getView()
292 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testAddCallbackBeforeStart()293 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testAddCallbackBeforeStart()312 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testAddCallbackAfterTrigger()313 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testAddCallbackAfterTrigger()335 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testAddCallbackAfterStart()336 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testAddCallbackAfterStart()356 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testRemoveCallback()357 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testRemoveCallback()378 ImageView imageView = (ImageView) mActivity.findViewById(mImageViewId); in testClearCallback()379 AnimatedVectorDrawable d1 = (AnimatedVectorDrawable) imageView.getDrawable(); in testClearCallback()
64 ImageView imageView = (ImageView) activity.findViewById(R.id.imageview); in setUp()65 imageView.setBackgroundResource(R.drawable.animationdrawable); in setUp()66 mAnimationDrawable = (AnimationDrawable) imageView.getBackground(); in setUp()
139 ImageView imageView = (ImageView) dialog.findViewById(R.id.imageView); in onCreateDialog() local140 imageView.setVisibility(View.VISIBLE); in onCreateDialog()169 imageView.setImageBitmap(scaled); in onCreateDialog()
407 final ImageView imageView = (ImageView) view.findViewById(R.id.status);410 imageView.setImageResource(R.drawable.fs_good);413 imageView.setImageResource(R.drawable.fs_error);416 imageView.setImageResource(R.drawable.fs_indeterminate);
211 final ImageView imageView = enterImageViewScene(startScale); in transformImage() local216 imageView.setScaleType(endScale); in transformImage()
194 ImageView imageView = (ImageView) findViewById(R.id.cam_overlay); in switchAxis() local199 imageView.setImageResource(prompts[axis-1]); in switchAxis()204 imageView.setImageDrawable(null); in switchAxis()