/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | HitRectBug.java | 44 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()
|
D | CrossfadeImage.java | 37 ImageView mImageView; field in CrossfadeImage 47 mImageView = 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()
|
D | CrossfadeMultiple.java | 39 ImageView mImageView; field in CrossfadeMultiple 56 mImageView = 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/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MagnificationModeSwitch.java | 79 private final ImageView mImageView; field in MagnificationModeSwitch 116 mImageView = imageView; in MagnificationModeSwitch() 117 mImageView.setOnTouchListener(this::onTouch); in MagnificationModeSwitch() 118 mImageView.setAccessibilityDelegate(new View.AccessibilityDelegate() { in MagnificationModeSwitch() 167 mImageView.setOnApplyWindowInsetsListener((v, insets) -> { in MagnificationModeSwitch() 170 if (!mImageView.getHandler().hasCallbacks(mWindowInsetChangeRunnable)) { in MagnificationModeSwitch() 171 mImageView.getHandler().post(mWindowInsetChangeRunnable); in MagnificationModeSwitch() 177 mImageView.animate() in MagnificationModeSwitch() 183 mImageView.animate() in MagnificationModeSwitch() 274 mImageView.removeCallbacks(mFadeInAnimationTask); in removeButton() [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | BitmapLoader.java | 78 ImageView mImageView; field in BitmapLoader.BitmapAsyncTask 84 mImageView = view; in BitmapAsyncTask() 86 mImageView.setTag(this); in BitmapAsyncTask() 105 if (mImageView.getTag() == this) { in onCancelled() 106 mImageView.setTag(null); in onCancelled() 112 if (mImageView.getTag() == this) { in onPostExecute() 113 mImageView.setTag(null); in onPostExecute() 115 mImageView.setImageBitmap(bitmap); in onPostExecute() 133 if (task != null && task.mImageView == view) { in cancel() 134 task.mImageView.setTag(null); in cancel()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedSwitchPreferenceTest.java | 43 private ImageView mImageView; field in RestrictedSwitchPreferenceTest 52 mImageView = (ImageView) mViewHolder.findViewById(android.R.id.icon); in setUp() 61 assertThat(mImageView.getLayoutParams().height).isEqualTo(SIZE); in onBindViewHolder_setIconSize_shouldHaveCorrectLayoutParam() 62 assertThat(mImageView.getLayoutParams().width).isEqualTo(SIZE); in onBindViewHolder_setIconSize_shouldHaveCorrectLayoutParam() 69 assertThat(mImageView.getLayoutParams().height).isEqualTo( in onBindViewHolder_notSetIconSize_shouldHaveCorrectLayoutParam() 71 assertThat(mImageView.getLayoutParams().width).isEqualTo( in onBindViewHolder_notSetIconSize_shouldHaveCorrectLayoutParam()
|
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | MyLittleTextureView.java | 38 private ImageView mImageView; field in MyLittleTextureView 43 mImageView = new ImageView(this); in onCreate() 44 mImageView.setScaleType(ImageView.ScaleType.FIT_CENTER); in onCreate() 45 setContentView(mImageView); in onCreate() 84 mImageView.setImageBitmap(bitmap); in onCreate()
|
D | HardwareBufferRendererActivity.java | 43 private ImageView mImageView; field in HardwareBufferRendererActivity 48 mImageView = new ImageView(this); in onCreate() 49 mImageView.setBackgroundColor(Color.MAGENTA); in onCreate() 54 layout.addView(mImageView, new FrameLayout.LayoutParams(100, 100)); in onCreate() 82 mImageView.setImageBitmap(copy); in onCreate()
|
D | StretchShaderActivity.java | 57 private ImageView mImageView; field in StretchShaderActivity 78 mImageView = new ImageView(this); in onCreate() 80 mImageView.setRenderEffect(RenderEffect.createShaderEffect(mRuntimeShader)); in onCreate() 81 mImageView.setImageDrawable(new ColorDrawable(Color.CYAN)); in onCreate() 237 linearLayout.addView(mImageView, in onCreate() 332 mImageView.getViewTreeObserver().addOnPreDrawListener( in onResume() 337 mImageView.getViewTreeObserver().removeOnPreDrawListener(this); in onResume() 344 final float width = mImageView.getWidth(); in updateShader() 345 final float height = mImageView.getHeight(); in updateShader() 373 mImageView.setRenderEffect(RenderEffect.createShaderEffect(mRuntimeShader)); in updateShader()
|
D | ColorBitmapActivity.java | 63 private ImageView mImageView; field in ColorBitmapActivity 163 mImageView = new ImageView(this); in onCreate() 197 linearLayout.addView(mImageView, new LinearLayout.LayoutParams(WIDTH, HEIGHT)); in onCreate() 233 mImageView.setImageBitmap(copy); in populateBuffers()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | EditUserPhotoController.java | 72 private final ImageView mImageView; field in EditUserPhotoController 94 mImageView = view; in EditUserPhotoController() 95 mImageView.setOnClickListener(v -> showAvatarPicker(isUserNew)); in EditUserPhotoController() 138 intent.setPackage(mImageView.getContext().getApplicationContext().getPackageName()); in showAvatarPicker() 161 }, mImageView.getContext().getMainExecutor()); in onDefaultIconSelected() 194 }, mImageView.getContext().getMainExecutor()); in onPhotoCropped() 204 .getInstance(mImageView.getContext(), mNewUserPhotoBitmap); in onPhotoProcessed() 205 mImageView.setImageDrawable(mNewUserPhotoDrawable); in onPhotoProcessed()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceListAdapter.java | 63 viewHolder.mImageView.setImageDrawable( in onCreateViewHolder() 66 viewHolder.mImageView.setImageDrawable( in onCreateViewHolder() 70 viewHolder.mImageView.setColorFilter( in onCreateViewHolder() 109 private ImageView mImageView; field in DeviceListAdapter.ViewHolder 113 mImageView = itemView.findViewById(android.R.id.icon); in ViewHolder()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMenuActionView.java | 33 private ImageView mImageView; field in PipMenuActionView 43 mImageView = findViewById(R.id.image); in onFinishInflate() 49 mImageView.setImageDrawable(drawable); in setImageDrawable()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipMenuActionView.java | 33 private ImageView mImageView; field in PipMenuActionView 43 mImageView = findViewById(R.id.image); in onFinishInflate() 49 mImageView.setImageDrawable(drawable); in setImageDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationBigPictureTemplateViewWrapper.java | 39 private BigPictureNotificationImageView mImageView; field in NotificationBigPictureTemplateViewWrapper 54 mImageView = mView.findViewById(R.id.big_picture); in resolveViews() 86 if (mImageView == null) { in setAnimationsRunning() 89 Drawable d = mImageView.getDrawable(); in setAnimationsRunning()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | MailAdapter.java | 79 ImageView mImageView; field in MailAdapter.ViewHolder 87 mImageView = itemView.findViewById(R.id.mail_row_item_icon); in ViewHolder() 97 final Resources resources = mImageView.getContext().getResources(); in setContent() 100 final Shape badge = new BadgeShape(mImageView.getContext(), String.valueOf(c)); in setContent() 105 mImageView.setImageDrawable(drawable); in setContent()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/ |
D | BubbleBarMenuItemView.java | 34 private ImageView mImageView; field in BubbleBarMenuItemView 57 mImageView = findViewById(R.id.bubble_bar_menu_item_icon); in onFinishInflate() 74 mImageView.setImageIcon(icon); in update()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/ |
D | WalletCardViewHolder.java | 33 final ImageView mImageView; field in WalletCardViewHolder 39 mImageView = mCardView.requireViewById(R.id.card_image); in WalletCardViewHolder()
|
D | WalletCardCarousel.java | 405 viewHolder.mImageView.setScaleType(ImageView.ScaleType.CENTER); 407 viewHolder.mImageView.setImageDrawable(cardViewInfo.getCardDrawable());
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | DrawView.java | 37 private ImageView mImageView; field in DrawView 78 mImageView = imageView; in setImageView() 85 Matrix m = mImageView.getImageMatrix(); in onDraw() 86 Drawable d = mImageView.getDrawable(); in onDraw()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | DrawView.java | 37 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/packages/SettingsLib/AvatarPicker/src/ |
D | AvatarPickerActivity.java | 368 private final ImageView mImageView; field in AvatarPickerActivity.AvatarViewHolder 372 mImageView = view.findViewById(R.id.avatar_image); in AvatarViewHolder() 376 mImageView.setImageDrawable(drawable); in setDrawable() 380 mImageView.setContentDescription(desc); in setContentDescription() 384 mImageView.setOnClickListener(listener); in setClickListener() 388 mImageView.setSelected(selected); in setSelected()
|