/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
QSIconViewImplTest.java | 46 private QSIconViewImpl mIconView; 50 mIconView = new QSIconViewImpl(mContext); 62 mIconView.updateIcon(iv, s); 69 mIconView.updateIcon(iv, s); 79 int desiredColor = mIconView.getColor(s.state); 82 mIconView.setIcon(iv, s);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
StatusBarIconViewTest.java | 63 private StatusBarIconView mIconView; 88 mIconView = new StatusBarIconView(mContext, "test_slot", null); 95 mIconView.setTag(R.id.icon_is_grayscale, true); 96 mIconView.set(mStatusBarIcon); 97 assertNull(mIconView.getTag(R.id.icon_is_grayscale)); 105 assertFalse(mIconView.set(mStatusBarIcon)); 110 mIconView.setStaticDrawableColor(Color.DKGRAY); 111 int color = mIconView.getContrastedStaticDrawableColor(Color.WHITE); 115 mIconView.setStaticDrawableColor(Color.WHITE); 116 color = mIconView.getContrastedStaticDrawableColor(Color.WHITE) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
ProgressDialogFragment.java | 37 private ImageView mIconView; 50 mIconView = (ImageView) view.findViewById(android.R.id.icon); 66 mIconView.setImageResource(resId); 67 mIconView.setVisibility(View.VISIBLE); 71 mIconView.setImageDrawable(icon); 72 mIconView.setVisibility(icon == null ? View.GONE : View.VISIBLE);
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
LensPickerRow.java | 30 private final ImageView mIconView; 36 mIconView = (ImageView) itemView.findViewById(R.id.icon); 47 mIconView.setImageDrawable(item.getIcon());
|
ResolverListRow.java | 32 private final ImageView mIconView; 42 mIconView = (ImageView) itemView.findViewById(R.id.icon); 54 mIconView.setImageDrawable(item.getIcon());
|
/frameworks/base/core/tests/coretests/src/android/preference/ |
PreferenceIconSpaceTest.java | 48 private ImageView mIconView; 58 .thenReturn(mIconView); 68 verify(mIconView).setVisibility(View.INVISIBLE); 77 verify(mIconView).setVisibility(View.GONE); 86 verify(mIconView).setVisibility(View.VISIBLE);
|
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/ |
PreferenceIconSpaceTest.java | 50 private ImageView mIconView; 60 .thenReturn(mIconView); 72 verify(mIconView).setVisibility(View.INVISIBLE); 84 verify(mIconView).setVisibility(View.GONE); 95 verify(mIconView).setVisibility(View.VISIBLE);
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
IconMixinTest.java | 52 private ImageView mIconView; 60 mIconView = new ImageView(mContext); 61 doReturn(mIconView).when(mTemplateLayout).findManagedViewById(eq(R.id.suw_layout_icon)); 67 assertSame(mIconView, mixin.getView()); 76 assertSame(drawable, mIconView.getDrawable()); 82 mIconView.setImageDrawable(drawable); 102 final BitmapDrawable actual = (BitmapDrawable) mIconView.getDrawable();
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
ItemTest.java | 57 private ImageView mIconView; 78 mIconView.setImageLevel(1); 80 mIconView.setImageDrawable(recycledIcon); 87 assertSame("Icon should be the icon shape drawable", icon, mIconView.getDrawable()); 194 mIconView = new ImageView(context); 195 mIconView.setId(R.id.suw_items_icon); 196 mIconContainer.addView(mIconView);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
GuidanceStylingRelativeLayout.java | 51 ImageView mIconView = getRootView().findViewById(R.id.guidance_icon); 72 if (mIconView != null && mIconView.getParent() == this) { 73 Drawable drawable = mIconView.getDrawable(); 75 mIconView.offsetTopAndBottom( 76 mTitleKeylinePixels - mIconView.getMeasuredHeight() / 2);
|
GuidanceStylist.java | 134 private ImageView mIconView; 156 mIconView = (ImageView) guidanceView.findViewById(R.id.guidance_icon); 173 if (mIconView != null) { 175 mIconView.setImageDrawable(guidance.getIconDrawable()); 177 mIconView.setVisibility(View.GONE); 207 mIconView = null; 252 return mIconView;
|
/packages/apps/TV/src/com/android/tv/menu/ |
ActionCardView.java | 38 private ImageView mIconView; 57 mIconView = (ImageView) findViewById(R.id.action_card_icon); 67 mIconView.setImageDrawable(action.getDrawable(getContext())); 73 mIconView.setAlpha(OPACITY_ENABLED); 79 mIconView.setAlpha(OPACITY_DISABLED);
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
PopupItemView.java | 48 protected View mIconView; 81 mIconView = findViewById(R.id.popup_item_icon);
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
DeepShortcutView.java | 44 private View mIconView; 67 mIconView = findViewById(R.id.icon); 75 mIconView.setVisibility(willDraw ? View.VISIBLE : View.INVISIBLE); 79 return mIconView.getVisibility() == View.VISIBLE; 105 mIconView.setBackground(mBubbleText.getIcon()); 134 return mIconView;
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
GrantPermissionsViewHandlerImpl.java | 35 private ImageView mIconView; 57 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon); 87 mIconView.setImageIcon(icon);
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertController.java | 101 private ImageView mIconView; 383 if (mIconView != null) { 385 mIconView.setVisibility(View.VISIBLE); 386 mIconView.setImageResource(mIconId); 388 mIconView.setVisibility(View.GONE); 402 if (mIconView != null) { 404 mIconView.setVisibility(View.VISIBLE); 405 mIconView.setImageDrawable(icon); 407 mIconView.setVisibility(View.GONE); 633 mIconView = (ImageView) mWindow.findViewById(R.id.icon) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AlertController.java | 99 private ImageView mIconView; 351 if (mIconView != null) { 353 mIconView.setVisibility(View.VISIBLE); 354 mIconView.setImageResource(mIconId); 356 mIconView.setVisibility(View.GONE); 370 if (mIconView != null) { 372 mIconView.setVisibility(View.VISIBLE); 373 mIconView.setImageDrawable(icon); 375 mIconView.setVisibility(View.GONE); 673 mIconView = (ImageView) mWindow.findViewById(android.R.id.icon) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
TaskViewHeader.java | 145 ImageView mIconView; 247 mIconView = findViewById(R.id.icon); 248 mIconView.setOnLongClickListener(this); 315 updateLayoutParams(mIconView, mTitleView, mMoveTaskButton, mDismissButton); 346 int appIconWidth = mIconView.getMeasuredWidth(); 416 return mIconView; 516 mIconView.setContentDescription(t.appInfoDescription); 517 mIconView.setOnClickListener(this); 518 mIconView.setClickable(true); 528 mIconView.setImageDrawable(mTask.icon) [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
VolumeSeekBarPreference.java | 47 private ImageView mIconView; 115 mIconView = (ImageView) view.findViewById(com.android.internal.R.id.icon); 168 if (mIconView == null) return; 170 mIconView.setImageResource(mIconResId); 172 mIconView.setImageResource(mMuteIconResId); 174 mIconView.setImageDrawable(getIcon());
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ListMenuItemView.java | 41 private ImageView mIconView; 223 if (mIconView == null && icon == null && !mPreserveIconSpacing) { 227 if (mIconView == null) { 232 mIconView.setImageDrawable(showIcon ? icon : null); 234 if (mIconView.getVisibility() != VISIBLE) { 235 mIconView.setVisibility(VISIBLE); 238 mIconView.setVisibility(GONE); 244 if (mIconView != null && mPreserveIconSpacing) { 247 LayoutParams iconLp = (LayoutParams) mIconView.getLayoutParams(); 257 mIconView = (ImageView) inflater.inflate(com.android.internal.R.layout.list_menu_item_icon [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
ListMenuItemView.java | 48 private ImageView mIconView; 236 if (mIconView == null && icon == null && !mPreserveIconSpacing) { 240 if (mIconView == null) { 245 mIconView.setImageDrawable(showIcon ? icon : null); 247 if (mIconView.getVisibility() != VISIBLE) { 248 mIconView.setVisibility(VISIBLE); 251 mIconView.setVisibility(GONE); 257 if (mIconView != null && mPreserveIconSpacing) { 260 LayoutParams iconLp = (LayoutParams) mIconView.getLayoutParams(); 270 mIconView = (ImageView) inflater.inflate(R.layout.abc_list_menu_item_icon [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
GrantPermissionsViewHandlerImpl.java | 71 private ImageView mIconView; 131 if (mIconView != null) { 152 mIconView.animate() 218 mIconView = (ImageView) mCurrentDesc.findViewById(R.id.permission_icon); 278 mIconView = (ImageView) mRootView.findViewById(R.id.permission_icon); 313 mIconView.setImageDrawable(mGroupIcon.loadDrawable(mActivity));
|
/frameworks/base/core/java/com/android/internal/widget/ |
ScrollingTabContainerView.java | 365 private ImageView mIconView; 421 if (mIconView != null) { 422 mIconView.setVisibility(GONE); 423 mIconView.setImageDrawable(null); 435 if (mIconView == null) { 442 mIconView = iconView; 444 mIconView.setImageDrawable(icon); 445 mIconView.setVisibility(VISIBLE); 446 } else if (mIconView != null) { 447 mIconView.setVisibility(GONE) [all...] |
ActionBarView.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ScrollingTabContainerView.java | 385 private ImageView mIconView; 457 if (mIconView != null) { 458 mIconView.setVisibility(GONE); 459 mIconView.setImageDrawable(null); 471 if (mIconView == null) { 478 mIconView = iconView; 480 mIconView.setImageDrawable(icon); 481 mIconView.setVisibility(VISIBLE); 482 } else if (mIconView != null) { 483 mIconView.setVisibility(GONE) [all...] |