Searched refs:imageView (Results 1 – 6 of 6) sorted by relevance
137 ImageView imageView = new ImageView(mActivity); in testInvalidateDrawable() local138 imageView.invalidateDrawable(null); in testInvalidateDrawable()142 ImageView imageView = new ImageView(mActivity); in testSetAdjustViewBounds() local143 imageView.setScaleType(ScaleType.FIT_XY); in testSetAdjustViewBounds()145 imageView.setAdjustViewBounds(false); in testSetAdjustViewBounds()146 assertEquals(ScaleType.FIT_XY, imageView.getScaleType()); in testSetAdjustViewBounds()148 imageView.setAdjustViewBounds(true); in testSetAdjustViewBounds()149 assertEquals(ScaleType.FIT_CENTER, imageView.getScaleType()); in testSetAdjustViewBounds()153 ImageView imageView = new ImageView(mActivity); in testSetMaxWidth() local154 imageView.setMaxWidth(120); in testSetMaxWidth()[all …]
756 ImageView imageView;758 imageView = new ImageView(mContext);760 imageView.setLayoutParams(new GridView.LayoutParams(layoutSize, layoutSize));761 imageView.setAdjustViewBounds(false);762 imageView.setScaleType(ImageView.ScaleType.CENTER);763 imageView.setPadding(0, 0, 0, 0);765 imageView = (ImageView) convertView;768 imageView.setImageResource(mThumbIds[position]);770 return imageView;
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()
119 ImageView imageView = (ImageView) dialog.findViewById(R.id.imageView); in onCreateDialog() local120 imageView.setVisibility(View.VISIBLE); in onCreateDialog()121 imageView.setImageURI(uri); in onCreateDialog()
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()
193 ImageView imageView = (ImageView) findViewById(R.id.cam_overlay); in switchAxis() local198 imageView.setImageResource(prompts[axis-1]); in switchAxis()203 imageView.setImageDrawable(null); in switchAxis()