Home
last modified time | relevance | path

Searched refs:getIconId (Results 1 – 25 of 31) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractLayoutBase.java109 private static final int ICON_DELETE = KeyboardIconsSet.getIconId(
111 private static final int ICON_SPACE = KeyboardIconsSet.getIconId(
113 private static final int ICON_TAB = KeyboardIconsSet.getIconId(
115 private static final int ICON_SHORTCUT = KeyboardIconsSet.getIconId(
117 private static final int ICON_SETTINGS = KeyboardIconsSet.getIconId(
119 private static final int ICON_LANGUAGE_SWITCH = KeyboardIconsSet.getIconId(
121 private static final int ICON_ENTER = KeyboardIconsSet.getIconId(
123 private static final int ICON_EMOJI_ACTION = KeyboardIconsSet.getIconId(
125 private static final int ICON_EMOJI_NORMAL = KeyboardIconsSet.getIconId(
127 private static final int ICON_SHIFT = KeyboardIconsSet.getIconId(
[all …]
DExpectedKeyVisual.java40 public abstract int getIconId(); in getIconId() method in ExpectedKeyVisual
61 public int getIconId() { in getIconId() method in ExpectedKeyVisual.Icon
89 return mIconId == key.getIconId() && key.getLabel() == null; in hasSameKeyVisual()
127 public int getIconId() { in getIconId() method in ExpectedKeyVisual.Label
156 && key.getIconId() == KeyboardIconsSet.ICON_UNDEFINED; in hasSameKeyVisual()
DActualKeyboardBuilder.java144 key.getLabel(), key.getIconId(), key.getOutputText(), key.getCode())); in stringize()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java42 final int iconId = KeyboardIconsSet.getIconId(iconName); in newIconKey()
67 public int getIconId() { return mVisual.getIconId(); } in getIconId() method in ActionTestsBase.ExpectedActionKey
86 assertEquals(tag + " icon " + expectedKey, expectedKey.getIconId(), actualKey.getIconId()); in assertActionKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java339 mIconId = KeySpecParser.getIconId(keySpec); in Key()
340 final int disabledIconId = KeySpecParser.getIconId(style.getString(keyAttr, in Key()
541 final int iconId = getIconId(); in toLongString()
808 public int getIconId() { in getIconId() method in Key
816 final int iconId = mEnabled ? getIconId() : disabledIconId; in getIcon()
826 return iconSet.getIconDrawable(getIconId()); in getPreviewIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTipTest.java79 assertThat(parcelTip.getIconId()).isEqualTo(ICON_ID); in parcelable()
121 public int getIconId() { in getIconId() method in BatteryTipTest.TestBatteryTip
DEarlyWarningTipTest.java72 assertThat(tip.getIconId()).isEqualTo(R.drawable.ic_battery_status_bad_24dp); in testInfo_stateNew_displayPowerModeInfo()
83 assertThat(tip.getIconId()).isEqualTo(R.drawable.ic_battery_status_maybe_24dp); in testInfo_stateHandled_displayPowerModeHandledInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/
DBatteryTip.java129 public abstract int getIconId(); in getIconId() method in BatteryTip
155 preference.setIcon(getIconId()); in updatePreference()
DSmartBatteryTip.java50 public int getIconId() { in getIconId() method in SmartBatteryTip
DUnrestrictAppTip.java58 public int getIconId() { in getIconId() method in UnrestrictAppTip
DSummaryTip.java58 public int getIconId() { in getIconId() method in SummaryTip
DEarlyWarningTip.java60 public int getIconId() { in getIconId() method in EarlyWarningTip
DHighUsageTip.java73 public int getIconId() { in getIconId() method in HighUsageTip
DRestrictAppTip.java85 public int getIconId() { in getIconId() method in RestrictAppTip
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTip.java129 public abstract int getIconId(); in getIconId() method in BatteryTip
155 preference.setIcon(getIconId()); in updatePreference()
DSmartBatteryTip.java50 public int getIconId() { in getIconId() method in SmartBatteryTip
DUnrestrictAppTip.java58 public int getIconId() { in getIconId() method in UnrestrictAppTip
DSummaryTip.java58 public int getIconId() { in getIconId() method in SummaryTip
DEarlyWarningTip.java60 public int getIconId() { in getIconId() method in EarlyWarningTip
DHighUsageTip.java73 public int getIconId() { in getIconId() method in HighUsageTip
DRestrictAppTip.java85 public int getIconId() { in getIconId() method in RestrictAppTip
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardIconsSet.java138 public static int getIconId(final String name) { in getIconId() method in KeyboardIconsSet
147 final int iconId = getIconId(name); in getIconResourceId()
DKeySpecParser.java238 public static int getIconId(@Nullable final String keySpec) { in getIconId() method in KeySpecParser
249 return KeyboardIconsSet.getIconId(iconName); in getIconId()
DKeyPreviewView.java57 final int iconId = key.getIconId(); in setPreviewVisual()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeySpecParserTests.java35 final int actualIcon = KeySpecParser.getIconId(keySpecResolved); in assertParser()

12