Home
last modified time | relevance | path

Searched refs:TranslationId (Results 1 – 6 of 6) sorted by relevance

/system/teeui/libteeui/prebuilt/localization/
DConfirmationUITranslations-test.cpp58 ASSERT_STR(lookup(TranslationId::CANCEL), "Cancel"); in main()
59 ASSERT_STR(lookup(TranslationId::CANCEL_VOL), "Press any volume button to cancel"); in main()
60 ASSERT_STR(lookup(TranslationId::CANCEL_VOL_DOWN), "Cancel"); in main()
61 ASSERT_STR(lookup(TranslationId::CANCEL_VOL_UP), "Cancel"); in main()
62 ASSERT_STR(lookup(TranslationId::CONFIRM), "Confirm"); in main()
63 ASSERT_STR(lookup(TranslationId::CONFIRM_PWR_BUTTON), "Press power to confirm"); in main()
64 …ASSERT_STR(lookup(TranslationId::CONFIRM_PWR_BUTTON_DOUBLE_PRESS), "Double-press power to confirm"… in main()
65 …ASSERT_STR(lookup(TranslationId::DESCRIPTION), "Review the details on this screen carefully. Only … in main()
66 ASSERT_STR(lookup(TranslationId::TITLE), "Android Protected Confirmation"); in main()
70 ASSERT_STR(lookup(TranslationId::CANCEL), "Cancel"); in main()
[all …]
DConfirmationUITranslations.cpp161 #define NUM_TRANSLATION_IDS uint32_t(TranslationId::__COUNT__)
1367 const char* lookup(TranslationId translation_id) { in lookup()
/system/teeui/libteeui/prebuilt/localization/include/teeui/localization/
DConfirmationUITranslations.h34 enum class TranslationId : uint32_t { enum
47 const char* lookup(TranslationId translation_id);
/system/teeui/libteeui/example/layout/
Dtouch_button_layout.h25 using teeui::localization::TranslationId;
68 TextID(TEXT_ID(TranslationId::TITLE));
95 TextID(TEXT_ID(TranslationId::CONFIRM));
110 TextID(TEXT_ID(TranslationId::CANCEL));
124 TextID(TEXT_ID(TranslationId::DESCRIPTION));
Dphys_button_layout.h25 using teeui::localization::TranslationId;
66 TextID(TEXT_ID(TranslationId::CONFIRM_PWR_BUTTON_DOUBLE_PRESS));
91 TextID(TEXT_ID(TranslationId::CANCEL));
124 TextID(TEXT_ID(TranslationId::TITLE));
138 TextID(TEXT_ID(TranslationId::DESCRIPTION));
/system/teeui/libteeui/example/
Dexample_utils.cpp56 localization::lookup(static_cast<localization::TranslationId>(textId)); in translate()