/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
HitRectBug.java | 44 private ImageView mImageView; 55 mImageView = new ImageView(context); 56 mImageView.setLeft(100); 57 mImageView.setRight(200); 58 mImageView.setImageResource(R.drawable.self_portrait_square); 59 mImageView.setScaleX(3); 60 mImageView.setScaleY(3); 61 // mImageView.setRotation(145); 63 ObjectAnimator anim = ObjectAnimator.ofFloat(mImageView, View.ROTATION, 0, 360); 75 addView(mImageView, params) [all...] |
CrossfadeImage.java | 37 ImageView mImageView; 47 mImageView = (ImageView) findViewById(R.id.contact_picture); 48 mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER); 62 mImageView.setImageResource(R.drawable.self_portrait_square_100); 64 mImageView.setImageResource(R.drawable.self_portrait_square_200);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
HolographicLinearLayout.java | 33 private ImageView mImageView; 60 if (mImageView != null) { 61 Drawable d = mImageView.getDrawable(); 70 mHolographicHelper.invalidatePressedFocusedStates(mImageView); 80 if (mImageView == null) { 81 mImageView = (ImageView) findViewById(mImageViewId); 83 mHolographicHelper.generatePressedFocusedStates(mImageView);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ImageCardView.java | 34 private ImageView mImageView; 56 mImageView = (ImageView) v.findViewById(R.id.main_image); 57 mImageView.setVisibility(View.INVISIBLE); 77 return mImageView; 81 if (mImageView != null) { 82 mImageView.setAdjustViewBounds(adjustViewBounds); 87 if (mImageView != null) { 88 mImageView.setScaleType(scaleType); 103 if (mImageView == null) { 107 mImageView.setImageDrawable(drawable) [all...] |
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageDetailFragment.java | 38 private ImageView mImageView; 77 mImageView = (ImageView) v.findViewById(R.id.imageView); 89 mImageFetcher.loadImage(mImageUrl, mImageView); 94 mImageView.setOnClickListener((OnClickListener) getActivity()); 101 if (mImageView != null) { 103 ImageWorker.cancelWork(mImageView); 104 mImageView.setImageDrawable(null);
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/ui/ |
ImageDetailFragment.java | 38 private ImageView mImageView; 77 mImageView = (ImageView) v.findViewById(R.id.imageView); 89 mImageFetcher.loadImage(mImageUrl, mImageView); 94 mImageView.setOnClickListener((OnClickListener) getActivity()); 101 if (mImageView != null) { 103 ImageWorker.cancelWork(mImageView); 104 mImageView.setImageDrawable(null);
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/ |
ImageDetailFragment.java | 38 private ImageView mImageView; 77 mImageView = (ImageView) v.findViewById(R.id.imageView); 89 mImageFetcher.loadImage(mImageUrl, mImageView); 94 mImageView.setOnClickListener((OnClickListener) getActivity()); 101 if (mImageView != null) { 103 ImageWorker.cancelWork(mImageView); 104 mImageView.setImageDrawable(null);
|
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
PictureDetailsActivity.java | 62 private ImageView mImageView; 72 mImageView = (ImageView) findViewById(R.id.imageView); 90 mImageView.setImageDrawable(mBitmapDrawable); 99 ViewTreeObserver observer = mImageView.getViewTreeObserver(); 104 mImageView.getViewTreeObserver().removeOnPreDrawListener(this); 109 mImageView.getLocationOnScreen(screenLocation); 114 mWidthScale = (float) thumbnailWidth / mImageView.getWidth(); 115 mHeightScale = (float) thumbnailHeight / mImageView.getHeight(); 137 mImageView.setPivotX(0); 138 mImageView.setPivotY(0) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
ImageViewTest.java | 58 private ImageView mImageView; 106 mImageView = null; 177 mImageView = findImageViewById(R.id.imageview); 178 mImageView.setImageResource(-1); 179 assertNull(mImageView.getDrawable()); 181 mImageView.setImageResource(R.drawable.testimage); 182 assertTrue(mImageView.isLayoutRequested()); 183 assertNotNull(mImageView.getDrawable()); 186 Drawable imageViewDrawable = mImageView.getDrawable(); 193 mImageView = findImageViewById(R.id.imageview) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
Transition3d.java | 31 private ImageView mImageView; 60 mImageView = (ImageView) findViewById(R.id.picture); 71 mImageView.setClickable(true); 72 mImageView.setFocusable(true); 73 mImageView.setOnClickListener(this); 106 mImageView.setImageResource(PHOTOS_RESOURCES[position]); 155 mImageView.setVisibility(View.VISIBLE); 156 mImageView.requestFocus(); 160 mImageView.setVisibility(View.GONE);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowAttachmentView.java | 45 private ImageView mImageView; 58 mImageView = (ImageView) findViewById(R.id.slideshow_image); 84 mImageView.setImageBitmap(bitmap); // implementation doesn't appear to be null-safe 93 mImageView.setVisibility(visible ? View.VISIBLE : View.INVISIBLE); 106 mImageView.setImageBitmap(null); 122 mImageView.setImageBitmap(null);
|
IconListAdapter.java | 43 private ImageView mImageView; 58 if (mImageView == null) { 59 mImageView = (ImageView) mView.findViewById(R.id.icon); 62 return mImageView;
|
ImageAttachmentView.java | 39 private ImageView mImageView; 52 mImageView = (ImageView) findViewById(R.id.image_content); 76 mImageView.setImageBitmap(bitmap); 126 mImageView.setImageDrawable(null);
|
SlideView.java | 61 private ImageView mImageView; 108 if (mImageView == null) { 109 mImageView = new ImageView(mContext); 110 mImageView.setPadding(0, 5, 0, 5); 111 addView(mImageView, new LayoutParams( 114 mImageView.setBackgroundColor(0xFFFF0000); 122 mImageView.setVisibility(View.VISIBLE); 123 mImageView.setImageBitmap(bitmap); 131 if (mImageView != null && !mConformanceMode) { 132 mImageView.setLayoutParams(new LayoutParams(width, height, left, top)) [all...] |
BasicSlideEditorView.java | 46 private ImageView mImageView; 63 mImageView = (ImageView) findViewById(R.id.image); 105 mImageView.setImageBitmap(bitmap); 139 mImageView.setImageBitmap(bitmap); 146 mImageView.setImageBitmap(bitmap); 162 mImageView.setImageDrawable(null);
|
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
QueueAdapter.java | 46 ImageView mImageView; 58 holder.mImageView = (ImageView) convertView.findViewById(R.id.play_eq); 74 holder.mImageView.setImageDrawable( 77 holder.mImageView.setImageDrawable(
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
QueueAdapter.java | 46 ImageView mImageView; 58 holder.mImageView = (ImageView) convertView.findViewById(R.id.play_eq); 74 holder.mImageView.setImageDrawable( 77 holder.mImageView.setImageDrawable(
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
QueueAdapter.java | 46 ImageView mImageView; 58 holder.mImageView = (ImageView) convertView.findViewById(R.id.play_eq); 74 holder.mImageView.setImageDrawable( 77 holder.mImageView.setImageDrawable(
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PrintBitmap.java | 44 private ImageView mImageView; 50 mImageView = (ImageView) findViewById(R.id.image); 77 Bitmap bitmap = ((BitmapDrawable) mImageView.getDrawable()).getBitmap();
|
/developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 44 private ImageView mImageView; 58 mImageView = new ImageView(this); 59 mImageView.setImageResource(R.drawable.example_big_picture); 61 ImageZoomView zoomView = new ImageZoomView(this, mImageView, mAnimationRange); 71 float startX = mImageView.getTranslationX(); 72 float startY = mImageView.getTranslationY(); 77 mAnimation = ObjectAnimator.ofPropertyValuesHolder(mImageView,
|
/developers/samples/android/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/ |
AnimatedNotificationDisplayActivity.java | 44 private ImageView mImageView; 58 mImageView = new ImageView(this); 59 mImageView.setImageResource(R.drawable.example_big_picture); 61 ImageZoomView zoomView = new ImageZoomView(this, mImageView, mAnimationRange); 71 float startX = mImageView.getTranslationX(); 72 float startY = mImageView.getTranslationY(); 77 mAnimation = ObjectAnimator.ofPropertyValuesHolder(mImageView,
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
AnimatedNotificationDisplayActivity.java | 44 private ImageView mImageView; 58 mImageView = new ImageView(this); 59 mImageView.setImageResource(R.drawable.example_big_picture); 61 ImageZoomView zoomView = new ImageZoomView(this, mImageView, mAnimationRange); 71 float startX = mImageView.getTranslationX(); 72 float startY = mImageView.getTranslationY(); 77 mAnimation = ObjectAnimator.ofPropertyValuesHolder(mImageView,
|
/packages/apps/Browser/src/com/android/browser/ |
BookmarkItem.java | 39 protected ImageView mImageView; 58 mImageView = (ImageView) findViewById(R.id.favicon); 70 item.mImageView.setImageDrawable(mImageView.getDrawable()); 92 mImageView.setImageBitmap(b); 94 mImageView.setImageResource(R.drawable.app_web_browser_sm); 99 mImageView.setBackgroundDrawable(d);
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
MultiTouchActivity.java | 55 private MultiTouchView mImageView; 71 mImageView = (MultiTouchView) findViewById(R.id.imageView); 77 ah.View_setSystemUiVisibility(mImageView, View.SYSTEM_UI_FLAG_LOW_PROFILE); 96 mImageView.setEnabled(false); 107 mHandler.setViewSize(mImageView.getWidth(), mImageView.getHeight()); 147 mImageView.setEnabled(connected); 182 mImageView.constructEventMessage(bb, event, n); 191 mImageView.constructEventMessage(bb, event, action_pid_index); 207 mImageView.constructEventMessage(bb, event, action_pid_index) [all...] |
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/ |
DirectoryEntryAdapter.java | 42 private final ImageView mImageView; 48 mImageView = (ImageView) v.findViewById(R.id.entry_image); 60 return mImageView;
|