HomeSort by relevance Sort by last modified time
    Searched full:keyvalues (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ResourceUtilsTests.java 51 final HashMap<String,String> keyValues = new HashMap<>();
52 keyValues.put(HARDWARE_KEY, "grouper");
53 assertEquals("0.3", ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
54 keyValues.put(HARDWARE_KEY, "mako");
55 assertEquals("0.4", ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
56 keyValues.put(HARDWARE_KEY, "manta");
57 assertEquals("0.2", ResourceUtils.findConstantForKeyValuePairs(keyValues, array));
59 keyValues.clear();
60 keyValues.put("hardware", "grouper");
61 assertNull(ResourceUtils.findConstantForKeyValuePairs(keyValues, array))
    [all...]
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ExtensionSpiTest.java 87 new Params("/class/keyvalues", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET),
88 new Params("/class/keyvalues/2", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), SERVLET),
89 new Params("/key/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), SERVLET),
90 new Params("/key/keyvalues/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), SERVLET),
91 new Params("/instance/keyvalues", dummyFilter2, ImmutableMap.of("key", "value"), SERVLET),
92 new Params("/instance/keyvalues/2", dummyFilter2, ImmutableMap.of("key", "value"), SERVLET),
100 new Params("/class[0-9]/keyvalues", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), REGEX),
101 new Params("/class[0-9]/keyvalues/2", Key.get(DummyFilterImpl.class), ImmutableMap.of("key", "value"), REGEX),
102 new Params("/key[0-9]/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), REGEX),
103 new Params("/key[0-9]/keyvalues/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("key", "value"), REGEX)
    [all...]
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
KeyValueMap.java 29 public void setKeyValues(Object... keyValues) {
30 if (keyValues.length % 2 != 0) {
34 for (int i = 0; i < keyValues.length; i += 2) {
35 if (!(keyValues[i] instanceof String)) {
37 + "String, but found an object of type " + keyValues[i].getClass() + "!");
39 String key = (String)keyValues[i];
40 Object value = keyValues[i+1];
45 public static KeyValueMap fromKeyValues(Object... keyValues) {
47 result.setKeyValues(keyValues);
Filter.java 122 public final void initWithAssignmentList(Object... keyValues) {
124 valueMap.setKeyValues(keyValues);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
IndicatorButton.java 87 public void overrideSettings(final String ... keyvalues) {
89 for (int i = 0; i < keyvalues.length; i += 2) {
90 String key = keyvalues[i];
91 String value = keyvalues[i + 1];
OtherSettingIndicatorButton.java 45 public void overrideSettings(final String ... keyvalues) {
49 ((OtherSettingsPopup)mPopup).overrideSettings(keyvalues);
OtherSettingsPopup.java 120 public void overrideSettings(final String ... keyvalues) {
122 for (int i = 0; i < keyvalues.length; i += 2) {
123 String key = keyvalues[i];
124 String value = keyvalues[i + 1];
IndicatorControlBarContainer.java 159 public void overrideSettings(final String ... keyvalues) {
160 mSecondLevelIndicatorControlBar.overrideSettings(keyvalues);
IndicatorControl.java 177 public void overrideSettings(final String ... keyvalues) {
178 if (keyvalues.length % 2 != 0) {
183 b.overrideSettings(keyvalues);
IndicatorControlWheelContainer.java 193 public void overrideSettings(final String ... keyvalues) {
194 mIndicatorControlWheel.overrideSettings(keyvalues);
AbstractIndicatorButton.java 71 abstract public void overrideSettings(final String ... keyvalues);
  /external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
kv_pb.py 198 class KeyValues(ProtocolBuffer.ProtocolMessage):
242 _net_proto___parse__python.MergeFromString(self, 'KeyValues', s)
246 return _net_proto___parse__python.Encode(self, 'KeyValues')
250 return _net_proto___parse__python.EncodePartial(self, 'KeyValues')
254 return _net_proto___parse__python.ToASCII(self, 'KeyValues', output_format)
259 _net_proto___parse__python.ParseASCII(self, 'KeyValues', s)
264 _net_proto___parse__python.ParseASCIIIgnoreUnknown(self, 'KeyValues', s)
369 _PROTO_DESCRIPTOR_NAME = 'KeyValues'
379 __all__ = ['KeyValue','KeyValues']
shuffler.py 564 Stores (key, values) into KeyValues proto and yields its serialization.
574 proto = kv_pb.KeyValues()
592 records with KeyValues serialized entity.
595 # Maximum number of values to produce in a single KeyValues proto.
597 # Maximum size of values to produce in a single KeyValues proto.
688 serialized kv_pb.KeyValues protocol messages with
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
VisualVoicemailSmsParser.java 42 WrappedMessageData(String prefix, Bundle keyValues) {
44 fields = keyValues;
90 Bundle keyValues = new Bundle();
110 keyValues.putString(key, value);
113 return keyValues;
  /prebuilts/go/darwin-x86/src/net/http/
header.go 104 type keyValues struct {
109 // A headerSorter implements sort.Interface by sorting a []keyValues
113 kvs []keyValues
127 func (h Header) sortedKeyValues(exclude map[string]bool) (kvs []keyValues, hs *headerSorter) {
130 hs.kvs = make([]keyValues, 0, len(h))
135 kvs = append(kvs, keyValues{k, vv})
  /prebuilts/go/linux-x86/src/net/http/
header.go 104 type keyValues struct {
109 // A headerSorter implements sort.Interface by sorting a []keyValues
113 kvs []keyValues
127 func (h Header) sortedKeyValues(exclude map[string]bool) (kvs []keyValues, hs *headerSorter) {
130 hs.kvs = make([]keyValues, 0, len(h))
135 kvs = append(kvs, keyValues{k, vv})
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictDecoderUtils.java 378 final LinkedList<String> keyValues = new LinkedList<>();
382 keyValues.add(sb.toString());
395 if ((keyValues.size() & 1) != 0) {
399 for (int i = 0; i < keyValues.size(); i += 2) {
400 attributes.put(keyValues.get(i), keyValues.get(i + 1));
  /external/guava/guava/src/com/google/common/collect/
LinkedListMultimap.java 609 ListIterator<V> keyValues = new ValueForKeyIterator(key);
613 while (keyValues.hasNext() && newValues.hasNext()) {
614 keyValues.next();
615 keyValues.set(newValues.next());
619 while (keyValues.hasNext()) {
620 keyValues.next();
621 keyValues.remove();
626 keyValues.add(newValues.next());
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
LinkedListMultimap.java 605 ListIterator<V> keyValues = new ValueForKeyIterator(key);
609 while (keyValues.hasNext() && newValues.hasNext()) {
610 keyValues.next();
611 keyValues.set(newValues.next());
615 while (keyValues.hasNext()) {
616 keyValues.next();
617 keyValues.remove();
622 keyValues.add(newValues.next());
  /external/clang/lib/AST/
ExprObjC.cpp 63 KeyValuePair *KeyValues = getKeyValues();
77 KeyValues[I].Key = VK[I].Key;
78 KeyValues[I].Value = VK[I].Value;
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
HtmlConversationTemplates.java 66 * for inline attachment images of the form "?view=KEYVALUES".
  /external/icu/android_icu4j/src/main/java/android/icu/text/
MeasureFormat.java     [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
MeasureFormat.java     [all...]
  /external/v8/src/js/
i18n.js 520 function setOptions(inOptions, extensionMap, keyValues, getOption, outOptions) {
537 for (var key in keyValues) {
538 if (%HasOwnProperty(keyValues, key)) {
540 var map = keyValues[key];
    [all...]
  /prebuilts/go/darwin-x86/pkg/darwin_amd64_race/net/
http.a 37 type @"".keyValues struct { @"".key string; @"".values []string }
38 type @"".headerSorter struct { @"".kvs []@"".keyValues }
51 func (@"".h·3 @"".Header "esc:0x9") @"".sortedKeyValues (@"".exclude·4 map[string]bool "esc:0x1") (@"".kvs·1 []@"".keyValues, @"".hs·2 *@"".headerSorter)
    [all...]

Completed in 1188 milliseconds

1 2 3 4 5 6