Home
last modified time | relevance | path

Searched refs:mImageView (Results 1 – 24 of 24) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DImageCardView.java125 private ImageView mImageView; field in ImageCardView
178 mImageView = (ImageView) findViewById(R.id.main_image); in buildImageCardView()
179 if (mImageView.getDrawable() == null) { in buildImageCardView()
180 mImageView.setVisibility(View.INVISIBLE); in buildImageCardView()
289 return mImageView; in getMainImageView()
296 if (mImageView != null) { in setMainImageAdjustViewBounds()
297 mImageView.setAdjustViewBounds(adjustViewBounds); in setMainImageAdjustViewBounds()
305 if (mImageView != null) { in setMainImageScaleType()
306 mImageView.setScaleType(scaleType); in setMainImageScaleType()
321 if (mImageView == null) { in setMainImage()
[all …]
DDetailsOverviewRowPresenter.java127 final ImageView mImageView; field in DetailsOverviewRowPresenter.ViewHolder
271 mImageView = (ImageView) rootView.findViewById(R.id.details_overview_image); in ViewHolder()
467 (ViewGroup.MarginLayoutParams) vh.mImageView.getLayoutParams(); in bindImageDrawable()
468 final int cardHeight = getCardHeight(vh.mImageView.getContext()); in bindImageDrawable()
469 final int verticalMargin = vh.mImageView.getResources().getDimensionPixelSize( in bindImageDrawable()
471 final int horizontalMargin = vh.mImageView.getResources().getDimensionPixelSize( in bindImageDrawable()
516 vh.mImageView.setBackground(null); in bindImageDrawable()
520 vh.mImageView.setBackgroundColor(bgColor); in bindImageDrawable()
526 vh.mImageView.setScaleType(ImageView.ScaleType.FIT_START); in bindImageDrawable()
527 vh.mImageView.setAdjustViewBounds(true); in bindImageDrawable()
[all …]
DDetailsOverviewSharedElementHelper.java59 ImageView imageView = mViewHolder.mImageView; in saveImageViewScale()
79 ImageView imageView = mViewHolder.mImageView; in changeImageViewScale()
95 ImageView imageView = mViewHolder.mImageView; in restoreImageViewScale()
124 View imageView = mViewHolder.mImageView; in onSharedElementStart()
DPlaybackControlsRowPresenter.java57 final ImageView mImageView; field in PlaybackControlsRowPresenter.ViewHolder
88 mImageView = (ImageView) rootView.findViewById(R.id.image); in ViewHolder()
380 vh.mImageView.setImageDrawable(null); in onBindRowViewHolder()
383 vh.mImageView.setImageDrawable(row.getImageDrawable()); in onBindRowViewHolder()
384 updateCardLayout(vh, vh.mImageView.getLayoutParams().height); in onBindRowViewHolder()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DHitRectBug.java44 private ImageView mImageView; field in HitRectBug.TestDrawingView
55 mImageView = new ImageView(context); in TestDrawingView()
56 mImageView.setLeft(100); in TestDrawingView()
57 mImageView.setRight(200); in TestDrawingView()
58 mImageView.setImageResource(R.drawable.self_portrait_square); in TestDrawingView()
59 mImageView.setScaleX(3); in TestDrawingView()
60 mImageView.setScaleY(3); in TestDrawingView()
63 ObjectAnimator anim = ObjectAnimator.ofFloat(mImageView, View.ROTATION, 0, 360); in TestDrawingView()
75 addView(mImageView, params); in TestDrawingView()
87 mImageView.getHitRect(mRect); in dispatchDraw()
DCrossfadeImage.java37 ImageView mImageView; field in CrossfadeImage
47 mImageView = (ImageView) findViewById(R.id.contact_picture); in onCreate()
48 mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in onCreate()
62 mImageView.setImageResource(R.drawable.self_portrait_square_100); in sendMessage()
64 mImageView.setImageResource(R.drawable.self_portrait_square_200); in sendMessage()
DCrossfadeMultiple.java39 ImageView mImageView; field in CrossfadeMultiple
56 mImageView = (ImageView) findViewById(R.id.imageview); in onCreate()
103 mImageView.setImageResource(R.drawable.self_portrait_square_100); in sendMessage()
109 mImageView.setImageResource(R.drawable.self_portrait_square_200); in sendMessage()
115 mImageView.setImageResource(R.drawable.self_portrait_square_400); in sendMessage()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorFragment.java40 private ImageView mImageView; field in ErrorFragment
170 mImageView = (ImageView) root.findViewById(R.id.image); in onCreateView()
212 if (mImageView != null) { in updateImageDrawable()
213 mImageView.setImageDrawable(mDrawable); in updateImageDrawable()
214 mImageView.setVisibility(mDrawable == null ? View.GONE : View.VISIBLE); in updateImageDrawable()
DErrorSupportFragment.java42 private ImageView mImageView; field in ErrorSupportFragment
172 mImageView = (ImageView) root.findViewById(R.id.image); in onCreateView()
214 if (mImageView != null) { in updateImageDrawable()
215 mImageView.setImageDrawable(mDrawable); in updateImageDrawable()
216 mImageView.setVisibility(mDrawable == null ? View.GONE : View.VISIBLE); in updateImageDrawable()
/frameworks/rs/java/tests/HealingBrush/src/rs/example/android/com/healingbrush/
DDrawView.java37 private ImageView mImageView; field in DrawView
80 mImageView = imageView; in setImageView()
87 Matrix m = mImageView.getImageMatrix(); in onDraw()
88 Drawable d = mImageView.getDrawable(); in onDraw()
/frameworks/base/docs/html/training/volley/
Drequest.jd81 ImageView mImageView;
83 mImageView = (ImageView) findViewById(R.id.myImage);
91 mImageView.setImageBitmap(bitmap);
96 mImageView.setImageResource(R.drawable.image_load_error);
120 ImageView mImageView;
125 mImageView = (ImageView) findViewById(R.id.regularImageView);
129 mImageLoader.get(IMAGE_URL, ImageLoader.getImageListener(mImageView,
255 ImageView mImageView;
/frameworks/base/docs/html/training/displaying-bitmaps/
Ddisplay-bitmap.jd111 private ImageView mImageView;
135 mImageView = (ImageView) v.findViewById(R.id.imageView);
143 <strong>mImageView.setImageResource(resId);</strong> // Load image into ImageView
159 mImageView.setImageResource(R.drawable.image_placeholder);
160 BitmapWorkerTask task = new BitmapWorkerTask(mImageView);
176 ((ImageDetailActivity) getActivity()).loadBitmap(resId, mImageView);
205 mImageView.setImageBitmap(bitmap);
207 mImageView.setImageResource(R.drawable.image_placeholder);
208 BitmapWorkerTask task = new BitmapWorkerTask(mImageView);
Dcache-bitmap.jd146 mImageView.setImageBitmap(bitmap);
148 mImageView.setImageResource(R.drawable.image_placeholder);
149 BitmapWorkerTask task = new BitmapWorkerTask(mImageView);
Dload-bitmap.jd162 mImageView.setImageBitmap(
/frameworks/base/docs/html-intl/intl/ru/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);
/frameworks/base/docs/html-intl/intl/ja/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);
/frameworks/base/docs/html-intl/intl/ko/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);
/frameworks/base/docs/html-intl/intl/zh-cn/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);
/frameworks/base/docs/html-intl/intl/zh-tw/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);
/frameworks/base/docs/html/training/camera/
Dphotobasics.jd126 mImageView.setImageBitmap(imageBitmap);
326 int targetW = mImageView.getWidth();
327 int targetH = mImageView.getHeight();
345 mImageView.setImageBitmap(bitmap);
/frameworks/base/docs/html-intl/intl/in/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);
/frameworks/base/docs/html/guide/components/
Dprocesses-and-threads.jd247 mImageView.setImageBitmap(b);
279 mImageView.post(new Runnable() {
281 mImageView.setImageBitmap(bitmap);
331 mImageView.setImageBitmap(result);
/frameworks/base/docs/html-intl/intl/pt-br/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);
/frameworks/base/docs/html-intl/intl/vi/guide/components/
Dprocesses-and-threads.jd243 mImageView.setImageBitmap(b);
274 mImageView.post(new Runnable() {
276 mImageView.setImageBitmap(bitmap);
326 mImageView.setImageBitmap(result);