OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:KeyboardId
(Results
1 - 11
of
11
) sorted by null
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/test/
KeyboardIdTest.java
3
import org.unicode.cldr.draft.keyboard.
KeyboardId
;
10
* Unit tests for {@link
KeyboardId
}.
15
KeyboardId
id =
KeyboardId
.fromString("de-CH-t-k0-windows-extended-var");
17
assertEquals("",
KeyboardId
.Platform.WINDOWS, id.platform());
23
KeyboardId
keyboardLocale =
KeyboardId
.fromString("bn-t-k0-windows");
28
KeyboardId
keyboardLocale =
KeyboardId
.fromString("es-US-t-k0-android-768dpi.xml");
34
KeyboardId
.fromString("en-US-android")
[
all
...]
KeyboardTest.java
9
import org.unicode.cldr.draft.keyboard.
KeyboardId
;
10
import org.unicode.cldr.draft.keyboard.
KeyboardId
.Platform;
53
return Keyboard.of(
KeyboardId
.fromString("cs-t-k0-osx-qwerty"),
58
KeyboardId
id = keyboard.
keyboardId
();
59
KeyboardId
testId =
KeyboardId
.of(ULocale.forLanguageTag("cs"), Platform.OSX,
103
KeyboardId
id =
KeyboardId
.of(ULocale.forLanguageTag("cs"), Platform.OSX,
139
KeyboardId
id = KeyboardId.of(ULocale.forLanguageTag("cs"), Platform.OSX
[
all
...]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
KeyboardId.java
34
public final class
KeyboardId
{
39
private
KeyboardId
(ULocale locale, Platform platform, ImmutableList<String> attributes) {
46
public static
KeyboardId
of(ULocale locale, Platform platform, ImmutableList<String> attributes) {
47
return new
KeyboardId
(locale, platform, attributes);
54
public static
KeyboardId
fromString(String keyboardLocale) {
65
return new
KeyboardId
(locale, platform, attributes);
101
if (o instanceof
KeyboardId
) {
102
KeyboardId
other = (
KeyboardId
) o;
KeyboardIdMap.java
10
import org.unicode.cldr.draft.keyboard.
KeyboardId
.Platform;
23
private final ImmutableMultimap<String,
KeyboardId
> nameToKeyboardId;
27
private KeyboardIdMap(ImmutableMultimap<String,
KeyboardId
> nameToKeyboardId) {
44
ImmutableMultimap.Builder<String,
KeyboardId
> builder = ImmutableMultimap.builder();
57
builder.put(name,
KeyboardId
.of(locale, platform, attributes));
73
public ImmutableCollection<
KeyboardId
> getKeyboardId(String name) {
75
ImmutableCollection<
KeyboardId
> ids = nameToKeyboardId.get(name);
Keyboard.java
17
private final
KeyboardId
keyboardId
;
23
private Keyboard(
KeyboardId
keyboardId
, ImmutableList<String> names,
25
this.
keyboardId
= checkNotNull(
keyboardId
);
35
public static Keyboard of(
KeyboardId
keyboardId
, ImmutableList<String> names,
37
return new Keyboard(
keyboardId
, names, keyMaps, transforms);
40
public
KeyboardId
keyboardId()
[
all
...]
KeyboardBuilder.java
25
private final ImmutableSet.Builder<
KeyboardId
> keyboardIds;
37
public KeyboardBuilder addKeyboardIds(Iterable<
KeyboardId
> keyboardIds) {
82
ImmutableSet<
KeyboardId
> keyboardIds = this.keyboardIds.build();
91
KeyboardId
id = keyboardIds.iterator().next();
104
for (
KeyboardId
keyboardId
: keyboardIds) {
105
keyboards.add(Keyboard.of(
keyboardId
, names.build(), keyMaps.build(), transforms.build()));
KeyboardTool.java
11
import org.unicode.cldr.draft.keyboard.
KeyboardId
.Platform;
74
String id = keyboard.
keyboardId
().toString();
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/out/
KeycodeMapToXml.java
9
import org.unicode.cldr.draft.keyboard.
KeyboardId
.Platform;
KeyboardToXml.java
11
import org.unicode.cldr.draft.keyboard.
KeyboardId
.Platform;
43
xmlWriter.startElement("keyboard", ImmutableMap.of("locale", keyboard.
keyboardId
()));
54
Platform platform = keyboard.
keyboardId
().platform();
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/osx/
KeylayoutParser.java
19
import org.unicode.cldr.draft.keyboard.
KeyboardId
;
20
import org.unicode.cldr.draft.keyboard.
KeyboardId
.Platform;
100
ImmutableCollection<
KeyboardId
> ids = KEYBOARD_ID_MAP.getKeyboardId(name);
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/windows/
KlcParser.java
16
import org.unicode.cldr.draft.keyboard.
KeyboardId
;
17
import org.unicode.cldr.draft.keyboard.
KeyboardId
.Platform;
101
ImmutableCollection<
KeyboardId
> ids = KEYBOARD_ID_MAP.getKeyboardId(name);
Completed in 156 milliseconds