Home
last modified time | relevance | path

Searched refs:mIconId (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyVisual.java54 private final int mIconId; field in ExpectedKeyVisual.Icon
57 mIconId = iconId; in Icon()
62 return mIconId; in getIconId()
89 return mIconId == key.getIconId() && key.getLabel() == null; in hasSameKeyVisual()
97 return mIconId == moreKeySpec.mIconId && moreKeySpec.mLabel == null; in hasSameKeyVisual()
107 return (visual instanceof Icon) && mIconId == ((Icon)visual).mIconId; in hasSameKeyVisual()
112 return KeyboardIconsSet.getIconName(mIconId); in toString()
165 && moreKeySpec.mIconId == KeyboardIconsSet.ICON_UNDEFINED; in hasSameKeyVisual()
DActualKeyboardBuilder.java107 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/activities/
DProvisioningProgress.java39 final int mIconId; field in ProvisioningProgress
70 mIconId = iconId; in ProvisioningProgress()
105 return mIconId == that.mIconId && mHeaderId == that.mHeaderId in equals()
115 return Objects.hash(mIconId, mHeaderId, mSubheaderId, mProgressBarVisible, in hashCode()
123 + "mIconId=" + mIconId in toString()
DProgressFragment.java106 if (provisioningProgress.mIconId != 0) { in onCreateView()
107 headerIconImageView.setImageResource(provisioningProgress.mIconId); in onCreateView()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java53 public final int mIconId; field in MoreKeySpec
76 mIconId = KeySpecParser.getIconId(moreKeySpec); in MoreKeySpec()
82 return new Key(mLabel, mIconId, mCode, mOutputText, null /* hintLabel */, labelFlags, in buildKey()
91 hashCode = hashCode * 31 + mIconId; in hashCode()
107 && mIconId == other.mIconId in equals()
116 final String label = (mIconId == KeyboardIconsSet.ICON_UNDEFINED ? mLabel in toString()
117 : KeyboardIconsSet.PREFIX_ICON + KeyboardIconsSet.getIconName(mIconId)); in toString()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntry.java58 public final int mIconId; field in BatteryEntry.NameAndIcon
67 this.mIconId = iconId; in NameAndIcon()
120 public int mIconId; field in BatteryEntry
245 mIconId = nameAndIcon.mIconId; in BatteryEntry()
247 if (mIconId != 0) { in BatteryEntry()
248 mIcon = context.getDrawable(mIconId); in BatteryEntry()
264 mIconId = R.drawable.ic_power_system; in BatteryEntry()
265 mIcon = context.getDrawable(mIconId); in BatteryEntry()
DBatteryDiffEntry.java344 mAppIconId = nameAndIcon.mIconId; in loadLabelAndIcon()
391 if (nameAndIconForSystem.mIconId != 0) { in loadLabelAndIcon()
392 mAppIconId = nameAndIconForSystem.mIconId; in loadLabelAndIcon()
393 mAppIcon = mContext.getDrawable(nameAndIconForSystem.mIconId); in loadLabelAndIcon()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java98 private final int mIconId; field in Key
234 mIconId = iconId; in Key()
339 mIconId = KeySpecParser.getIconId(keySpec); in Key()
424 mIconId = key.mIconId; in Key()
475 key.mIconId, in computeHashCode()
502 && o.mIconId == mIconId in equalsInternal()
809 return mIconId; in getIconId()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java66 public final int mIconId; field in KeyboardLayoutSetNavigateMoreKeysBase.ExpectedMoreKey
70 mIconId = KeyboardIconsSet.getIconId(iconName); in ExpectedMoreKey()
75 mIconId = KeyboardIconsSet.ICON_UNDEFINED; in ExpectedMoreKey()
115 final int expectedIconId = expectedMoreKeys[index].mIconId; in doTestMoreKeysOf()
116 assertEquals(tag + " icon " + index, expectedIconId, actualMoreKeys[index].mIconId); in doTestMoreKeysOf()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DAdvancedPowerUsageDetail.java119 private int mIconId; field in AdvancedPowerUsageDetail.LaunchBatteryDetailPageArgs
145 launchArgs.mIconId = diffEntry.getAppIconId(); in startBatteryDetailPage()
172 launchArgs.mIconId = entry.mIconId; in startBatteryDetailPage()
185 args.putInt(EXTRA_ICON_ID, launchArgs.mIconId); in startBatteryDetailPage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryEntryTest.java179 assertThat(entry.mIconId).isEqualTo(R.drawable.ic_settings_aod); in batteryEntryForAOD_containCorrectInfo()
192 assertThat(entry.mIconId).isEqualTo(R.drawable.ic_power_system); in batteryEntryForCustomComponent_containCorrectInfo()
409 assertThat(nameAndIcon.mIconId).isEqualTo(iconId); in assertNameAndIcon()
DBatteryDiffEntryTest.java219 assertThat(nameAndIcon.mIconId).isEqualTo(R.drawable.ic_settings_aod); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()
245 assertThat(nameAndIcon.mIconId).isEqualTo(0); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java66 private final String mIconId; field in DirectoryListBot
78 mIconId = mTargetPackage + ":id/icon"; in DirectoryListBot()
233 return parent.findObject(By.res(mIconId)); in findSelectionHotspot()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DProgressFragmentTest.java164 if (mProvisioningProgress.mIconId != 0) { in onCreateView_viewsAndListenersShouldBeCorrectlySet()
169 mProvisioningProgress.mIconId); in onCreateView_viewsAndListenersShouldBeCorrectlySet()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java42 KeyboardIconsSet.getIconName(spec.mIconId)); in assertParser()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DPowerBackgroundUsageDetailTest.java170 mBatteryEntry.mIconId = ICON_ID; in setUp()
DAdvancedPowerUsageDetailTest.java172 mBatteryEntry.mIconId = ICON_ID; in setUp()