Home
last modified time | relevance | path

Searched refs:KeyMap (Results 1 – 21 of 21) sorted by relevance

/external/skqp/tools/viewer/
DImGuiLayer.cpp29 io.KeyMap[ImGuiKey_Tab] = (int)Window::Key::kTab; in ImGuiLayer()
30 io.KeyMap[ImGuiKey_LeftArrow] = (int)Window::Key::kLeft; in ImGuiLayer()
31 io.KeyMap[ImGuiKey_RightArrow] = (int)Window::Key::kRight; in ImGuiLayer()
32 io.KeyMap[ImGuiKey_UpArrow] = (int)Window::Key::kUp; in ImGuiLayer()
33 io.KeyMap[ImGuiKey_DownArrow] = (int)Window::Key::kDown; in ImGuiLayer()
34 io.KeyMap[ImGuiKey_PageUp] = (int)Window::Key::kPageUp; in ImGuiLayer()
35 io.KeyMap[ImGuiKey_PageDown] = (int)Window::Key::kPageDown; in ImGuiLayer()
36 io.KeyMap[ImGuiKey_Home] = (int)Window::Key::kHome; in ImGuiLayer()
37 io.KeyMap[ImGuiKey_End] = (int)Window::Key::kEnd; in ImGuiLayer()
38 io.KeyMap[ImGuiKey_Delete] = (int)Window::Key::kDelete; in ImGuiLayer()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeyMap.java25 public final class KeyMap implements Comparable<KeyMap> { class
29 private KeyMap(ModifierKeyCombinationSet modifierKeyCombinationSet, in KeyMap() method in KeyMap
36 public static KeyMap of(ModifierKeyCombinationSet modifierKeyCombinationSet, in of()
38 return new KeyMap(modifierKeyCombinationSet, ImmutableSortedMap.copyOf(Maps.uniqueIndex( in of()
63 if (o instanceof KeyMap) { in equals()
64 KeyMap other = (KeyMap) o; in equals()
77 public int compareTo(KeyMap o) { in compareTo()
DKeyboard.java19 private final ImmutableSortedSet<KeyMap> keyMaps;
21 private volatile KeyMap baseMap;
24 ImmutableSortedSet<KeyMap> keyMaps, ImmutableSortedSet<Transform> transforms) { in Keyboard()
36 ImmutableSortedSet<KeyMap> keyMaps, ImmutableSortedSet<Transform> transforms) { in of()
48 public ImmutableSet<KeyMap> keyMaps() { in keyMaps()
52 public KeyMap baseMap() { in baseMap()
56 private KeyMap getBaseMap() { in getBaseMap()
57 for (KeyMap keyMap : keyMaps) { in getBaseMap()
DKeyboardBuilder.java92 ImmutableSortedSet.Builder<KeyMap> keyMaps = ImmutableSortedSet.naturalOrder(); in build()
96 keyMaps.add(KeyMap.of(combinationSet, characterMaps)); in build()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
DKeyMapTest.java7 import org.unicode.cldr.draft.keyboard.KeyMap;
18 private KeyMap keyMap = createKeyMap();
20 private static KeyMap createKeyMap() { in createKeyMap()
29 return KeyMap.of(combinationSet, ImmutableSet.of(characterMap1, characterMap2)); in createKeyMap()
57KeyMap keyMapTest = KeyMap.of(combinationSet, ImmutableSet.of(characterMap1, characterMap2)); in testEqualsFalse()
71KeyMap keyMapTest = KeyMap.of(combinationSet, ImmutableSet.of(characterMap1, characterMap2)); in testEqualsTrue()
79 KeyMap keyMapTest = KeyMap.of(combinationSet, ImmutableSet.<CharacterMap> of()); in testCompareToGreater()
86 KeyMap keyMapTest = KeyMap.of(combinationSet, ImmutableSet.<CharacterMap> of()); in testCompareToLess()
96 KeyMap keyMapTest = KeyMap.of(combinationSet, ImmutableSet.<CharacterMap> of()); in testCompareTo_equals()
DKeyboardTest.java7 import org.unicode.cldr.draft.keyboard.KeyMap;
33 KeyMap keyMap1 = KeyMap.of(combinationSet1, in createKeyboard()
46 KeyMap keyMap2 = KeyMap.of(combinationSet2, in createKeyboard()
77 KeyMap keyMap1 = KeyMap.of(combinationSet1, in testKeyMaps()
90 KeyMap keyMap2 = KeyMap.of(combinationSet2, in testKeyMaps()
112 KeyMap keyMap1 = KeyMap.of(combinationSet1, in testEqualsTrue()
124 KeyMap keyMap2 = KeyMap.of(combinationSet2, in testEqualsTrue()
148 KeyMap keyMap1 = KeyMap.of(combinationSet1, ImmutableSet.of(characterMap1, characterMap2)); in testEqualsFalse()
/external/skia/tools/viewer/
DImGuiLayer.cpp45 io.KeyMap[ImGuiKey_Tab] = (int)skui::Key::kTab; in ImGuiLayer()
46 io.KeyMap[ImGuiKey_LeftArrow] = (int)skui::Key::kLeft; in ImGuiLayer()
47 io.KeyMap[ImGuiKey_RightArrow] = (int)skui::Key::kRight; in ImGuiLayer()
48 io.KeyMap[ImGuiKey_UpArrow] = (int)skui::Key::kUp; in ImGuiLayer()
49 io.KeyMap[ImGuiKey_DownArrow] = (int)skui::Key::kDown; in ImGuiLayer()
50 io.KeyMap[ImGuiKey_PageUp] = (int)skui::Key::kPageUp; in ImGuiLayer()
51 io.KeyMap[ImGuiKey_PageDown] = (int)skui::Key::kPageDown; in ImGuiLayer()
52 io.KeyMap[ImGuiKey_Home] = (int)skui::Key::kHome; in ImGuiLayer()
53 io.KeyMap[ImGuiKey_End] = (int)skui::Key::kEnd; in ImGuiLayer()
54 io.KeyMap[ImGuiKey_Delete] = (int)skui::Key::kDelete; in ImGuiLayer()
[all …]
/external/libchrome/components/policy/core/common/
Dregistry_dict.h44 using KeyMap = std::map<std::string,
91 const KeyMap& keys() const { return keys_; } in keys()
95 KeyMap keys_;
Dregistry_dict.cc159 KeyMap::iterator entry = keys_.find(name); in GetKey()
164 KeyMap::const_iterator entry = keys_.find(name); in GetKey()
180 KeyMap::iterator entry = keys_.find(name); in RemoveKey()
228 for (KeyMap::const_iterator entry(other.keys_.begin()); in Merge()
315 for (RegistryDict::KeyMap::const_iterator entry(keys_.begin()); in ConvertToJSON()
329 for (RegistryDict::KeyMap::const_iterator entry(keys_.begin()); in ConvertToJSON()
Dregistry_dict_unittest.cc110 RegistryDict::KeyMap::const_iterator entry = test_dict.keys().begin(); in TEST()
/external/cldr/tools/java/org/unicode/cldr/draft/
DKeyboard.java149 Fallback fallback, Set<KeyMap> keyMaps, Map<TransformType, Transforms> transforms) { in Keyboard()
274 public static class KeyMap { class in Keyboard
278 public KeyMap(KeyboardModifierSet keyMapModifiers, Map<Iso, Output> data) { in KeyMap() method in Keyboard.KeyMap
321 private final Set<KeyMap> keyMaps;
344 public Set<KeyMap> getKeyMaps() { in getKeyMaps()
358 for (KeyMap keymap : getKeyMaps()) { in getPossibleResults()
427 Set<KeyMap> keyMaps = new LinkedHashSet<>();
536 for (KeyMap item : keyMaps) { in addToKeyMaps()
544 keyMaps.add(new KeyMap(keyMapModifiers, iso2output)); in addToKeyMaps()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/
DKeyboardToXml.java9 import org.unicode.cldr.draft.keyboard.KeyMap;
91 for (KeyMap keyMap : keyboard.keyMaps()) { in addKeyMaps()
144 KeyMap baseMap = keyboard.baseMap(); in buildReadabilityComment()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_test.cc145 using KeyMap = std::map<std::string, bssl::UniquePtr<EVP_PKEY>>; typedef
147 static bool ImportKey(FileTest *t, KeyMap *key_map, in ImportKey()
250 static bool SetupContext(FileTest *t, KeyMap *key_map, EVP_PKEY_CTX *ctx) { in SetupContext()
304 static bool TestDerive(FileTest *t, KeyMap *key_map, EVP_PKEY *key) { in TestDerive()
361 static bool TestEVP(FileTest *t, KeyMap *key_map) { in TestEVP()
557 KeyMap key_map; in TEST()
/external/boringssl/src/crypto/evp/
Devp_test.cc145 using KeyMap = std::map<std::string, bssl::UniquePtr<EVP_PKEY>>; typedef
147 static bool ImportKey(FileTest *t, KeyMap *key_map, in ImportKey()
250 static bool SetupContext(FileTest *t, KeyMap *key_map, EVP_PKEY_CTX *ctx) { in SetupContext()
304 static bool TestDerive(FileTest *t, KeyMap *key_map, EVP_PKEY *key) { in TestDerive()
361 static bool TestEVP(FileTest *t, KeyMap *key_map) { in TestEVP()
557 KeyMap key_map; in TEST()
/external/python/cpython2/Mac/Modules/evt/
Devtsupport.py31 KeyMap = ArrayOutputBufferType("KeyMap") variable
D_Evtmodule.c102 KeyMap theKeys__out__; in Evt_GetKeys()
110 (char *)&theKeys__out__, (int)sizeof(KeyMap)); in Evt_GetKeys()
/external/mesa3d/src/intel/tools/imgui/
Dimgui_impl_gtk3.cpp196 io.KeyMap[i] = i; in ImGui_ImplGtk3_Init()
/external/cldr/tools/java/org/unicode/cldr/tool/
DShowKeyboards.java22 import org.unicode.cldr.draft.Keyboard.KeyMap;
150 for (KeyMap keymap : keyboard.getKeyMaps()) { in showRepertoire()
286 for (KeyMap map : keyboard.getKeyMaps()) { in showHtml()
/external/mesa3d/src/imgui/
Dimgui.cpp1160 KeyMap[i] = -1; in ImGuiIO()
3377 …IM_ASSERT(g.IO.KeyMap[n] >= -1 && g.IO.KeyMap[n] < IM_ARRAYSIZE(g.IO.KeysDown) && "io.KeyMap[] con… in NewFrame()
3381 …IM_ASSERT(g.IO.KeyMap[ImGuiKey_Space] != -1 && "ImGuiKey_Space is not mapped, required for keyboar… in NewFrame()
4026 return GImGui->IO.KeyMap[imgui_key]; in GetKeyIndex()
7233 …ast = (ImGuiDir)((g.NavMoveDirLast + 1) & 3); g.IO.KeysDownDuration[g.IO.KeyMap[ImGuiKey_C]] = 0.0… in NavScoreItem()
7588 …#define NAV_MAP_KEY(_KEY, _NAV_INPUT) if (IsKeyDown(g.IO.KeyMap[_KEY])) { g.IO.NavInputs[_NAV_INPU… in NavUpdate()
7901 …bool page_up_held = IsKeyDown(g.IO.KeyMap[ImGuiKey_PageUp]) && (allowed_dir_flags & (1 << ImGuiDir… in NavUpdatePageUpPageDown()
7902 …bool page_down_held = IsKeyDown(g.IO.KeyMap[ImGuiKey_PageDown]) && (allowed_dir_flags & (1 << ImGu… in NavUpdatePageUpPageDown()
7908 if (IsKeyPressed(g.IO.KeyMap[ImGuiKey_PageUp], true)) in NavUpdatePageUpPageDown()
7910 else if (IsKeyPressed(g.IO.KeyMap[ImGuiKey_PageDown], true)) in NavUpdatePageUpPageDown()
[all …]
Dimgui_internal.h1412 …ey key, bool repeat = true) { const int key_index = GImGui->IO.KeyMap[key]; return (key_…
Dimgui.h1296 …int KeyMap[ImGuiKey_COUNT]; // <unset> // Map of indices into the KeysDow… member