Lines Matching refs:key
1719 // Parameter key suffix for supported values.
2017 * semi-colon delimited key-value pairs
2037 * @param flattened a String of parameters (key-value paired) that
2056 public void remove(String key) {
2057 mMap.remove(key);
2063 * @param key the key name for the parameter
2066 public void set(String key, String value) {
2067 if (key.indexOf('=') != -1 || key.indexOf(';') != -1 || key.indexOf(0) != -1) {
2068 Log.e(TAG, "Key \"" + key + "\" contains invalid character (= or ; or \\0)");
2076 mMap.put(key, value);
2082 * @param key the key name for the parameter
2085 public void set(String key, int value) {
2086 mMap.put(key, Integer.toString(value));
2089 private void set(String key, List<Area> areas) {
2091 set(key, "(0,0,0,0,0)");
2110 set(key, buffer.toString());
2117 * @param key the key name for the parameter
2120 public String get(String key) {
2121 return mMap.get(key);
2127 * @param key the key name for the parameter
2130 public int getInt(String key) {
2131 return Integer.parseInt(mMap.get(key));
3632 private float getFloat(String key, float defaultValue) {
3634 return Float.parseFloat(mMap.get(key));
3641 private int getInt(String key, int defaultValue) {
3643 return Integer.parseInt(mMap.get(key));