/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | InstallShortcutReceiver.java | 67 SharedPreferences.Editor editor, String key, String value) { 74 strings.add(value); 84 .key(DATA_INTENT_KEY).value(info.data.toUri(0)) 85 .key(LAUNCH_INTENT_KEY).value(info.launchIntent.toUri(0)) 86 .key(NAME_KEY).value(info.name); 89 json = json.key(ICON_KEY).value( 94 json = json.key(ICON_RESOURCE_NAME_KEY).value(info.iconResource.resourceName); 96 .value(info.iconResource.packageName); 66 addToStringSet(SharedPreferences sharedPrefs, SharedPreferences.Editor editor, String key, String value) argument
|
H A D | PagedViewWidget.java | 95 public static void setDeletePreviewsWhenDetachedFromWindow(boolean value) { argument 96 sDeletePreviewsWhenDetachedFromWindow = value; 99 public static void setRecyclePreviewsWhenDetachedFromWindow(boolean value) { argument 100 sRecyclePreviewsWhenDetachedFromWindow = value;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | ComboPreferences.java | 168 public Editor putString(String key, String value) { argument 170 mEditorGlobal.putString(key, value); 172 mEditorLocal.putString(key, value); 177 public Editor putInt(String key, int value) { argument 179 mEditorGlobal.putInt(key, value); 181 mEditorLocal.putInt(key, value); 186 public Editor putLong(String key, long value) { argument 188 mEditorGlobal.putLong(key, value); 190 mEditorLocal.putLong(key, value); 195 public Editor putFloat(String key, float value) { argument 204 putBoolean(String key, boolean value) argument [all...] |
/packages/apps/Mms/src/com/android/mms/dom/ |
H A D | ElementImpl.java | 105 public void setAttribute(String name, String value) throws DOMException { argument 110 attribute.setNodeValue(value); 115 String value) throws DOMException { 141 // The value of nodeName is tagName when Node is an Element 114 setAttributeNS(String namespaceURI, String qualifiedName, String value) argument
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
H A D | TimeImpl.java | 40 * Creates a TimeImpl representation of a time-value represented as a String. 44 * Time-val ::= ( smil-1.0-syncbase-value 46 * | offset-value 47 * | syncbase-value 48 * | syncToPrev-value 49 * | event-value 50 * | media-marker-value 51 * | wallclock-sync-value ) 52 * Smil-1.0-syncbase-value ::= 53 * "id(" id-ref ")" ( "(" ( "begin" | "end" | clock-value ) ")" ) 207 parseFloat(String value, int ignoreLast, boolean parseDecimal) argument [all...] |
/packages/apps/Nfc/nci/jni/ |
H A D | RouteDataSet.cpp | 197 xmlChar* value = xmlGetProp (node1, (const xmlChar*) "Type"); local 198 if (value && (xmlStrcmp (value, (const xmlChar*) "SecElemSelectedRoutes") == 0)) 211 else if (value && (xmlStrcmp (value, (const xmlChar*) "DefaultRoutes") == 0)) 224 if (value) 225 xmlFree (value); 344 xmlChar* value = NULL; local 347 value = xmlGetProp (element, id); 348 if (value) 416 xmlChar* value = NULL; local [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SearchSettingsImpl.java | 61 * Preference key for the base search URL. This value is normally set by 98 protected void storeBoolean(String name, boolean value) { argument 99 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value)); 102 protected void storeInt(String name, int value) { argument 103 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value)); 106 protected void storeLong(String name, long value) { argument 107 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); 110 protected void storeString(String name, String value) { argument 111 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value));
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | DeviceInfoSettings.java | 249 private void setStringSummary(String preference, String value) { argument 251 findPreference(preference).setSummary(value); 325 * Returns " (ENGINEERING)" if the msv file has a zero value, else returns "". 329 // Production devices should have a non-zero value. If we can't read it, assume it's a
|
H A D | DreamBackend.java | 149 public void setEnabled(boolean value) { argument 150 logd("setEnabled(%s)", value); 151 setBoolean(SCREENSAVER_ENABLED, value); 158 public void setActivatedOnDock(boolean value) { argument 159 logd("setActivatedOnDock(%s)", value); 160 setBoolean(SCREENSAVER_ACTIVATE_ON_DOCK, value); 167 public void setActivatedOnSleep(boolean value) { argument 168 logd("setActivatedOnSleep(%s)", value); 169 setBoolean(SCREENSAVER_ACTIVATE_ON_SLEEP, value); 176 private void setBoolean(String key, boolean value) { argument [all...] |
H A D | ZonePicker.java | 60 private static final String KEY_ID = "id"; // value: String 61 private static final String KEY_DISPLAYNAME = "name"; // value: String 62 private static final String KEY_GMT = "gmt"; // value: String 63 private static final String KEY_OFFSET = "offset"; // value: int (Integer) 296 // Update the system timezone value 336 private boolean isComparable(Object value) { argument 337 return (value != null) && (value instanceof Comparable);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
H A D | ListDialogPreference.java | 47 /** The current value of this preference. */ 50 /** The index within the value set of the current value. */ 53 /** Whether the value had been set using {@link #setValue}. */ 61 * Sets a listened to invoke when the value of this preference changes. 120 * @return the value at the specified index 170 * @return the index of the specified value within the list of entry values, 173 protected int getIndexForValue(int value) { argument 177 if (values[i] == value) { 186 * Sets the current value 191 setValue(int value) argument 288 public int value; field in class:ListDialogPreference.SavedState 320 onValueChanged(ListDialogPreference preference, int value) argument [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | ProcessStatsDetail.java | 189 private void addDetailsItem(ViewGroup parent, CharSequence label, CharSequence value) { argument 195 TextView valueView = (TextView) item.findViewById(R.id.value); 197 valueView.setText(value);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothPairingDialog.java | 308 private void onPair(String value) { argument 311 byte[] pinBytes = BluetoothDevice.convertPinToBytes(value); 319 int passkey = Integer.parseInt(value);
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatterySipper.java | 47 double value; field in class:BatterySipper 83 if (values != null) value = values[0]; 91 return value; 111 // Return the flipped value because we want the items in descending order
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | PieChartView.java | 63 public long value; field in class:PieChartView.Slice 71 public Slice(long value, int color) { argument 72 this.value = value; 117 public void addSlice(long value, int color) { argument 118 mSlices.add(new Slice(value, color)); 145 total += slice.value; 172 final int sweepAngle = (int) (slice.value * 360 / total);
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
H A D | FolderPreferences.java | 46 /** Boolean value indicating whether notifications are enabled */ 48 /** String value of the notification ringtone URI */ 50 /** Boolean value indicating whether we should explicitly vibrate */ 53 * Boolean value indicating whether we notify for every message (<code>true</code>), or just 129 protected Object getBackupValue(final String key, final Object value) { argument 131 return getRingtoneTitle((String) value); 134 return super.getBackupValue(key, value); 138 protected Object getRestoreValue(final String key, final Object value) { argument 140 return getRingtoneUri((String) value); 143 return super.getBackupValue(key, value); [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationUpdater.java | 40 * Modify the given conversation by changing the column provided here to contain the value 45 * @param value 47 void updateConversation(Collection <Conversation> target, String columnName, String value); argument 50 * Modify the given conversation by changing the column provided here to contain the value 55 * @param value 57 void updateConversation(Collection <Conversation> target, String columnName, int value); argument 60 * Modify the given conversation by changing the column provided here to contain the value 65 * @param value 67 void updateConversation(Collection <Conversation> target, String columnName, boolean value); argument
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
H A D | EncoderUtil.java | 165 * @param value 166 * parameter value. 169 public static String encodeHeaderParameter(String name, String value) { argument 172 // value := token / quoted-string 173 if (isToken(value)) { 174 return name + "=" + value; 176 return name + "=" + quote(value);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
H A D | ContentTypeParser.java | 92 val = value(); 97 final public String value() throws ParseException { method in class:ContentTypeParser
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
H A D | ProviderPerfActivity.java | 393 String value = null; 400 //value = new String(buf, 0, readBytes); 412 Log.v(TAG, "proc loop: total: " + total + "; avg_ms=" + averageMillis + "; value=" + value); 432 String value = c.moveToNext() ? c.getString(0) : null; 434 //Log.v(TAG, "got value: " + value + " in " + duration); 445 private float serviceLoop(String value) { argument 458 if (value == null) { 461 value [all...] |
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 59 char *value; // text to be reported when it changes member in struct:data 70 // Set data->name and data->value to malloc'd strings with the 77 data->value = NULL; 85 data->value = NULL; 91 data->value = malloc(len + 1); 92 memcpy(data->value, buf, len); 93 data->value[len] = '\0'; 96 // Read a name/value file and write data entries for each line. 99 // delimiter: used to split each line into name and value 130 // Line format: <sp>name<delim><sp>value 150 char *value = name_end + 1; local 201 char *value = name_end; local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictIOUtils.java | 145 * @param words the map to store the address as a key and the word as a value. 146 * @param frequencies the map to store the address as a key and the frequency as a value. 147 * @param bigrams the map to store the address as a key and the list of address as a value. 249 final int value) { 250 final int absValue = Math.abs(value); 251 dictBuffer.put((byte)(((value < 0 ? 0x80 : 0) | (absValue >> 16)) & 0xFF)); 260 static int writeSInt24ToStream(final OutputStream destination, final int value) argument 262 final int absValue = Math.abs(value); 263 destination.write((byte)(((value < 0 ? 0x80 : 0) | (absValue >> 16)) & 0xFF)); 272 private static int writeVariableAddress(final OutputStream destination, final int value) argument 248 writeSInt24ToBuffer(final DictBuffer dictBuffer, final int value) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | SeekBarDialogPreference.java | 36 public void writeValue(final int value, final String key); argument 38 public String getValueText(final int value); argument 39 public void feedbackValue(final int value); argument 64 final int value = mValueProxy.readValue(getKey()); 65 setSummary(mValueProxy.getValueText(value)); 78 private int getProgressFromValue(final int value) { argument 79 return value - mMinValue; 86 private int clipValue(final int value) { argument 87 final int clippedValue = Math.min(mMaxValue, Math.max(mMinValue, value)); 100 final int value [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
H A D | header_read_write_utils.cpp | 101 std::vector<int> value; local 102 value.insert(value.end(), valueBuffer, valueBuffer + valueLength); 103 headerAttributes->insert(AttributeMap::value_type(key, value)); 150 // Write a value. 160 const char *const key, const bool value) { 161 setIntAttribute(headerAttributes, key, value ? 1 : 0); 165 const char *const key, const int value) { 168 setIntAttributeInner(headerAttributes, &keyVector, value); 172 const AttributeMap::key_type *const key, const int value) { 159 setBoolAttribute(AttributeMap *const headerAttributes, const char *const key, const bool value) argument 164 setIntAttribute(AttributeMap *const headerAttributes, const char *const key, const int value) argument 171 setIntAttributeInner(AttributeMap *const headerAttributes, const AttributeMap::key_type *const key, const int value) argument 201 int value = 0; local [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
H A D | byte_array_utils.h | 82 const uint32_t value = readUint32(buffer, *pos); local 84 return value; 89 const uint8_t value = readUint8(buffer, *pos); local 90 if (value < 0x80) { 94 return -(((value & 0x7F) << 16) ^ readUint16AndAdvancePosition(buffer, pos)); 100 const uint32_t value = readUint24(buffer, *pos); local 102 return value; 107 const uint16_t value = readUint16(buffer, *pos); local 109 return value; 123 * unicode code points range from 0 to 0x10FFFF, so any 3-byte value startin [all...] |