OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mIcon
(Results
1 - 25
of
127
) sorted by null
1
2
3
4
5
6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
CarNavigationButton.java
33
private AlphaOptimizedImageButton
mIcon
;
43
mIcon
= (AlphaOptimizedImageButton) findViewById(R.id.car_nav_button_icon);
44
mIcon
.setClickable(false);
45
mIcon
.setBackgroundColor(android.R.color.transparent);
46
mIcon
.setAlpha(UNSELECTED_ALPHA);
57
mIcon
.setImageDrawable(icon);
64
mIcon
.setAlpha(SELECTED_ALPHA);
67
mIcon
.setAlpha(UNSELECTED_ALPHA);
/packages/apps/Settings/src/com/android/settings/
IconPreferenceScreen.java
30
private Drawable
mIcon
;
44
mIcon
= a.getDrawable(R.styleable.IconPreferenceScreen_icon);
51
if (imageView != null &&
mIcon
!= null) {
52
imageView.setImageDrawable(
mIcon
);
63
if ((icon == null &&
mIcon
!= null) || (icon != null && !icon.equals(
mIcon
))) {
64
mIcon
= icon;
76
return
mIcon
;
/cts/tests/tests/preference2/src/android/preference2/cts/
CustomDialogPreference.java
27
private Drawable
mIcon
;
32
setIcon(
mIcon
);
39
setIcon(
mIcon
);
46
mIcon
= a.getDrawable(R.styleable.CustPref_icon);
CustomCheckBoxPreference.java
27
private Drawable
mIcon
;
32
setIcon(
mIcon
);
43
setIcon(
mIcon
);
50
mIcon
= a.getDrawable(R.styleable.CustPref_icon);
CustomEditTextPreference.java
27
private Drawable
mIcon
;
32
setIcon(
mIcon
);
43
setIcon(
mIcon
);
50
mIcon
= a.getDrawable(R.styleable.CustPref_icon);
CustomSwitchPreference.java
28
private Drawable
mIcon
;
33
setIcon(
mIcon
);
44
setIcon(
mIcon
);
51
mIcon
= a.getDrawable(R.styleable.CustPref_icon);
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
TouchExampleView.java
26
private Drawable
mIcon
;
43
mIcon
= context.getResources().getDrawable(R.drawable.icon);
44
mIcon
.setBounds(0, 0,
mIcon
.getIntrinsicWidth(),
mIcon
.getIntrinsicHeight());
62
mIcon
.draw(canvas);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
ImageTransformState.java
34
private Icon
mIcon
;
40
mIcon
= (Icon) view.getTag(ICON_TAG);
47
return
mIcon
!= null &&
mIcon
.sameAs(((ImageTransformState) otherState).getIcon());
53
return
mIcon
;
78
mIcon
= null;
/frameworks/base/core/java/android/content/pm/
LabeledIntent.java
32
private int
mIcon
;
49
mIcon
= icon;
67
mIcon
= icon;
82
mIcon
= icon;
98
mIcon
= icon;
126
return
mIcon
;
153
if (
mIcon
!= 0 && mSourcePackage != null) {
154
Drawable icon = pm.getDrawable(mSourcePackage,
mIcon
, null);
167
dest.writeInt(
mIcon
);
180
mIcon
= in.readInt()
[
all
...]
/frameworks/base/core/java/android/service/chooser/
ChooserTarget.java
56
private Icon
mIcon
;
106
mIcon
= icon;
119
mIcon
= Icon.CREATOR.createFromParcel(in);
121
mIcon
= null;
145
return
mIcon
;
194
if (
mIcon
!= null) {
196
mIcon
.writeToParcel(dest, 0);
/packages/apps/TV/src/com/android/tv/menu/
PlayControlsButton.java
34
private final ImageView
mIcon
;
54
mIcon
= (ImageView) findViewById(R.id.icon);
62
mIcon
.setImageResource(imageResId);
79
mIcon
.setVisibility(View.VISIBLE);
82
mIcon
.setVisibility(View.GONE);
96
mIcon
.setEnabled(enabled);
97
mIcon
.setAlpha(enabled ? ALPHA_ENABLED : ALPHA_DISABLED);
/developers/build/prebuilts/gradle/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/
FingerprintUiHelper.java
33
private final ImageView
mIcon
;
46
mIcon
= icon;
68
mIcon
.setImageResource(R.drawable.ic_fp_40px);
83
mIcon
.postDelayed(new Runnable() {
99
showError(
mIcon
.getResources().getString(
106
mIcon
.setImageResource(R.drawable.ic_fingerprint_success);
111
mIcon
.postDelayed(new Runnable() {
120
mIcon
.setImageResource(R.drawable.ic_fingerprint_error);
135
mIcon
.setImageResource(R.drawable.ic_fp_40px);
/developers/samples/android/security/FingerprintDialog/Application/src/main/java/com/example/android/fingerprintdialog/
FingerprintUiHelper.java
33
private final ImageView
mIcon
;
46
mIcon
= icon;
68
mIcon
.setImageResource(R.drawable.ic_fp_40px);
83
mIcon
.postDelayed(new Runnable() {
99
showError(
mIcon
.getResources().getString(
106
mIcon
.setImageResource(R.drawable.ic_fingerprint_success);
111
mIcon
.postDelayed(new Runnable() {
120
mIcon
.setImageResource(R.drawable.ic_fingerprint_error);
135
mIcon
.setImageResource(R.drawable.ic_fp_40px);
/development/samples/browseable/FingerprintDialog/src/com.example.android.fingerprintdialog/
FingerprintUiHelper.java
33
private final ImageView
mIcon
;
46
mIcon
= icon;
68
mIcon
.setImageResource(R.drawable.ic_fp_40px);
83
mIcon
.postDelayed(new Runnable() {
99
showError(
mIcon
.getResources().getString(
106
mIcon
.setImageResource(R.drawable.ic_fingerprint_success);
111
mIcon
.postDelayed(new Runnable() {
120
mIcon
.setImageResource(R.drawable.ic_fingerprint_error);
135
mIcon
.setImageResource(R.drawable.ic_fp_40px);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationListEmptyView.java
36
private ImageView
mIcon
;
51
mIcon
= (ImageView) findViewById(R.id.empty_icon);
62
EmptyStateUtils.bindEmptyFolderIcon(
mIcon
, folder);
63
mIcon
.setVisibility(VISIBLE);
65
mIcon
.setVisibility(GONE);
/frameworks/base/core/java/android/view/
KeyboardShortcutInfo.java
31
private final Icon
mIcon
;
52
mIcon
= icon;
88
mIcon
= null;
93
mIcon
= source.readParcelable(null);
114
return
mIcon
;
152
dest.writeParcelable(
mIcon
, 0);
/packages/apps/Settings/src/com/android/settings/fingerprint/
FingerprintUiHelper.java
34
private ImageView
mIcon
;
45
mIcon
= icon;
59
mIcon
.setImageResource(R.drawable.ic_fingerprint);
75
mIcon
.setVisibility(visible ? View.VISIBLE : View.GONE);
92
showError(
mIcon
.getResources().getString(
98
mIcon
.setImageResource(R.drawable.ic_fingerprint_success);
107
mIcon
.setImageResource(R.drawable.ic_fingerprint_error);
117
mIcon
.setImageResource(R.drawable.ic_fingerprint);
/packages/apps/Camera2/src/com/android/camera/ui/
ModeSelectorItem.java
46
private ModeIconView
mIcon
;
72
mIcon
= (ModeIconView) findViewById(R.id.selector_icon);
99
mIcon
.setSelected(selected);
156
mIcon
.setIconDrawable(drawableIcon);
201
if (mVisibleWidth < mMinVisibleWidth +
mIcon
.getLeft()) {
202
transX = mMinVisibleWidth +
mIcon
.getLeft() - mVisibleWidth;
216
mIcon
.setHighlightColor(highlightColor);
223
return
mIcon
.getHighlightColor();
231
return
mIcon
.getLeft() + mMinVisibleWidth;
240
mIcon
.getLocationInWindow(loc)
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
ShortcutInfo.java
59
private Bitmap
mIcon
;
74
mIcon
= info.
mIcon
; // TODO: should make a copy here. maybe we don't need this ctor at all
87
mIcon
= b;
91
if (
mIcon
== null) {
94
return
mIcon
;
98
mIcon
= iconCache.getIcon(intent, user);
99
usingFallbackIcon = iconCache.isDefaultIcon(
mIcon
);
134
writeBitmap(values,
mIcon
);
137
writeBitmap(values,
mIcon
);
[
all
...]
/frameworks/base/core/java/android/service/quicksettings/
Tile.java
63
private Icon
mIcon
;
119
return
mIcon
;
133
this.
mIcon
= icon;
190
if (
mIcon
!= null) {
192
mIcon
.writeToParcel(dest, flags);
203
mIcon
= Icon.CREATOR.createFromParcel(source);
205
mIcon
= null;
/frameworks/base/telecomm/java/android/telecom/
StatusHints.java
36
private final Icon
mIcon
;
51
mIcon
= icon;
93
return
mIcon
.loadDrawable(context);
100
return
mIcon
;
118
out.writeParcelable(
mIcon
, 0);
135
mIcon
= in.readParcelable(getClass().getClassLoader());
152
return Objects.hashCode(mLabel) + Objects.hashCode(
mIcon
) + Objects.hashCode(mExtras);
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
FingerprintUiHelper.java
37
private final ImageView
mIcon
;
69
mIcon
= icon;
87
mIcon
.setImageResource(R.drawable.ic_fp_40px);
102
mIcon
.postDelayed(new Runnable() {
118
showError(
mIcon
.getResources().getString(
125
mIcon
.setImageResource(R.drawable.ic_fingerprint_success);
130
mIcon
.postDelayed(new Runnable() {
139
mIcon
.setImageResource(R.drawable.ic_fingerprint_error);
155
mIcon
.setImageResource(R.drawable.ic_fp_40px);
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/
FingerprintUiHelper.java
37
private final ImageView
mIcon
;
69
mIcon
= icon;
87
mIcon
.setImageResource(R.drawable.ic_fp_40px);
102
mIcon
.postDelayed(new Runnable() {
118
showError(
mIcon
.getResources().getString(
125
mIcon
.setImageResource(R.drawable.ic_fingerprint_success);
130
mIcon
.postDelayed(new Runnable() {
139
mIcon
.setImageResource(R.drawable.ic_fingerprint_error);
155
mIcon
.setImageResource(R.drawable.ic_fp_40px);
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/
FingerprintUiHelper.java
37
private final ImageView
mIcon
;
69
mIcon
= icon;
87
mIcon
.setImageResource(R.drawable.ic_fp_40px);
102
mIcon
.postDelayed(new Runnable() {
118
showError(
mIcon
.getResources().getString(
125
mIcon
.setImageResource(R.drawable.ic_fingerprint_success);
130
mIcon
.postDelayed(new Runnable() {
139
mIcon
.setImageResource(R.drawable.ic_fingerprint_error);
155
mIcon
.setImageResource(R.drawable.ic_fp_40px);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
QSIconView.java
33
protected final View
mIcon
;
45
mIcon
= createIcon();
46
addView(
mIcon
);
54
return
mIcon
;
61
mIcon
.measure(MeasureSpec.makeMeasureSpec(w, getIconMeasureMode()), iconSpec);
62
setMeasuredDimension(w,
mIcon
.getMeasuredHeight() + mTilePaddingBelowIconPx);
70
final int iconLeft = (w -
mIcon
.getMeasuredWidth()) / 2;
71
layout(
mIcon
, iconLeft, top);
75
setIcon((ImageView)
mIcon
, state);
Completed in 536 milliseconds
1
2
3
4
5
6