/libcore/json/src/test/java/org/json/ |
SelfUseTest.java | 209 JSONArray values = new JSONArray(); local 210 values.put(5.5d); 211 values.put(11d); 212 values.put(30); 213 values.toJSONObject(array);
|
/libcore/luni/src/main/java/libcore/net/http/ |
RawHeaders.java | 30 * The HTTP status and unparsed header fields of a single HTTP message. Values 36 * separated values on the same line will be treated as a field with a single 38 * on commas if their field permits multiple values. This simplifies use of 39 * single-valued fields whose values routinely contain commas, such as cookies 42 * <p>This class trims whitespace from values. It never returns values with 154 * Given null values, the RI sends a malformed field line like 156 * print a warning and ignore null values. 182 * added. If the field is found, the existing values are replaced. 190 * Returns the number of field values 288 List<String> values = entry.getValue(); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectCalendarsSyncFragment.java | 145 for (CalendarRow row : changes.values()) { 153 ContentValues values = new ContentValues(); local 156 values.put(Calendars.SYNC_EVENTS, synced); 157 values.put(Calendars.VISIBLE, synced); 158 mService.startUpdate((int) id, null, uri, values, null, null, 0);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
KindSectionView.java | 295 ValuesDelta values = null; local 305 values = entries.get(0); 310 if (values == null) { 311 values = EntityModifier.insertChild(mState, mKind); 314 final View newField = createEditorView(values);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserUnigramDictionary.java | 255 ContentValues values = new ContentValues(4); 256 values.put(COLUMN_WORD, word); 257 values.put(COLUMN_FREQUENCY, frequency); 258 values.put(COLUMN_LOCALE, locale); 259 return values;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 201 ContentValues values = new ContentValues(); local 202 values.put(PhotoFiles.HEIGHT, height); 203 values.put(PhotoFiles.WIDTH, width); 204 values.put(PhotoFiles.FILESIZE, photoBytes.length); 205 long id = mDb.insert(Tables.PHOTO_FILES, null, values);
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
SdkSources.java | 104 for (SdkSourceCategory cat : SdkSourceCategory.values()) {
142 for (ArrayList<SdkSource> list : mSources.values()) {
149 for (ArrayList<SdkSource> list : mSources.values()) {
167 for (ArrayList<SdkSource> list : mSources.values()) {
208 for (ArrayList<SdkSource> list : mSources.values()) {
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/ |
SparseArray.java | 99 Object[] values = mValues; local 102 Object val = values[i]; 107 values[o] = val; 262 Object[] values = mValues; local 265 values[i] = null;
|
/system/media/mca/filterfw/native/core/ |
shader_program.h | 54 // The shader program will bind these attributes to the correct values, if they 132 // the origin (x, y) and dimensions (width, height). Values are considered 138 // the passed Quad. Values are considered normalized between 0.0 and 1.0. 146 // the origin (x, y) and dimensions (width, height). Values are considered 152 // the passed Quad. Values are considered normalized between 0.0 and 1.0. 163 // When setting values, the value type must be match the type of the uniform 185 // Set the specified uniform value to the given values. Returns true 187 bool SetUniformValue(ProgramVar var, const int* values, int count); 189 // Set the specified uniform value to the given values. Returns true 191 bool SetUniformValue(ProgramVar var, const float* values, int count) 419 const void* values; member in struct:android::filterfw::ShaderProgram::VertexAttrib [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/avd/ |
AvdManager.java | 261 * failed to parse. The values are null if the sdcard is not a size pattern. 281 // get the sdcard values for checks 569 HashMap<String, String> values = new HashMap<String, String>(); local 571 if (setImagePathProperties(target, abiType, values, log) == false) { 597 values.put(AVD_INI_SNAPSHOT_PRESENT, "true"); 601 values.put(AVD_INI_ABI_TYPE, abiType); 605 values.put(AVD_INI_CPU_ARCH, SdkConstants.CPU_ARCH_ARM); 607 values.put(AVD_INI_CPU_ARCH, SdkConstants.CPU_ARCH_ARM); 608 values.put(AVD_INI_CPU_MODEL, SdkConstants.CPU_MODEL_CORTEX_A8); 610 values.put(AVD_INI_CPU_ARCH, SdkConstants.CPU_ARCH_INTEL_ATOM) 1014 HashMap<String, String> values = new HashMap<String, String>(); local [all...] |
/external/emma/ant/ant14/com/vladium/emma/instr/ |
FilterCfg.java | 156 final String [] values = new String [m_filterList.size ()]; local 160 values [j] = ((StringValue) i.next ()).getValue (); 164 m_specs = Strings.mergeAT (values, COMMA_DELIMITERS, true);
|
/external/icu4c/layoutex/layout/ |
RunArrays.h | 542 * The <code>ValueRuns</code> class associates integer values with runs of text. 550 * Construct a <code>ValueRuns</code> object from pre-existing arrays of values 553 * @param values is the address of an array of integer. This array must remain valid until 563 inline ValueRuns(const le_int32 *values, const le_int32 *limits, le_int32 count); 669 inline ValueRuns::ValueRuns(const le_int32 *values, const le_int32 *limits, le_int32 count) 670 : RunArray(limits, count), fValues(values)
|
/external/webkit/Source/WebCore/platform/network/cf/ |
ResourceResponseCFNet.cpp | 128 Vector<const void*, 128> values(headerCount); 129 CFDictionaryGetKeysAndValues(headers.get(), keys.data(), values.data()); 131 m_httpHeaderFields.set((CFStringRef)keys[i], (CFStringRef)values[i]);
|
/external/webkit/Source/WebCore/svg/ |
SVGFEColorMatrixElement.cpp | 36 DEFINE_ANIMATED_NUMBER_LIST(SVGFEColorMatrixElement, SVGNames::valuesAttr, Values, values) 78 return colorMatrix->setValues(values()); 140 // Use defaults if values is empty (SVG 1.1 15.10). 157 filterValues = values();
|
/external/webkit/Source/WebKit/win/ |
WebHistoryItem.cpp | 213 CFTypeRef values[9]; local 217 values[keyCount++] = m_historyItem->urlString().createCFString(); 221 values[keyCount++] = lastVisitedStringRef; 225 values[keyCount++] = m_historyItem->title().createCFString(); 230 values[keyCount++] = CFNumberCreate(0, kCFNumberIntType, &visitCount); 234 values[keyCount++] = CFRetain(kCFBooleanTrue); 240 values[keyCount++] = CFRetain(kCFBooleanTrue); 255 values[keyCount++] = result; 270 values[keyCount++] = result; 285 values[keyCount++] = result [all...] |
/external/webkit/Source/WebKit2/Shared/ |
WebMemorySampler.cpp | 172 if (!memoryStats.values.isEmpty()) { 174 for (size_t i = 0; i < memoryStats.values.size(); ++i) { 176 statString.append(String::format("%lu", memoryStats.values[i]));
|
/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 150 ContentValues values = ContentValues.CREATOR.createFromParcel(data); local 152 Uri out = insert(url, values); 162 ContentValues[] values = data.createTypedArray(ContentValues.CREATOR); local 164 int count = bulkInsert(url, values); 203 ContentValues values = ContentValues.CREATOR.createFromParcel(data); local 207 int count = update(url, values, selection, selectionArgs); 403 public Uri insert(Uri url, ContentValues values) throws RemoteException 411 values.writeToParcel(data, 0); 424 public int bulkInsert(Uri url, ContentValues[] values) throws RemoteException { 431 data.writeTypedArray(values, 0) [all...] |
/frameworks/base/core/java/android/text/ |
PackedObjectVector.java | 64 insertAt(int row, E[] values) 74 if (values == null) 79 setValue(row, i, values[i]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
GlobalScreenshot.java | 162 ContentValues values = new ContentValues(); local 164 values.put(MediaStore.Images.ImageColumns.DATA, mImageFilePath); 165 values.put(MediaStore.Images.ImageColumns.TITLE, mImageFileName); 166 values.put(MediaStore.Images.ImageColumns.DISPLAY_NAME, mImageFileName); 167 values.put(MediaStore.Images.ImageColumns.DATE_TAKEN, mImageTime); 168 values.put(MediaStore.Images.ImageColumns.DATE_ADDED, mImageTime); 169 values.put(MediaStore.Images.ImageColumns.DATE_MODIFIED, mImageTime); 170 values.put(MediaStore.Images.ImageColumns.MIME_TYPE, "image/png"); 171 Uri uri = resolver.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); 179 values.clear() [all...] |
/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 105 * indicates the last Sunday. However, by using negative or zero values for [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BookmarkDragHandler.java | 115 ContentValues values = new ContentValues(); 116 values.put(BrowserContract.Bookmarks.PARENT, parent); 118 cr.update(uri, values, null, null);
|
/packages/apps/Camera/src/com/android/camera/ |
ListPreference.java | 29 * A type of <code>CameraPreference</code> whose number of possible values 74 public void setEntryValues(CharSequence values[]) { 75 mEntryValues = values == null ? new CharSequence[0] : values;
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
NameConverter.java | 50 * corresponding values) into a display name string. 73 * @param values The content values containing values comprising the structured name. 76 public static String structuredNameToDisplayName(Context context, ContentValues values) { 79 if (values.containsKey(key)) { 80 appendQueryParameter(builder, key, values.getAsString(key)); 107 * {@link StructuredName} fields to corresponding values). 138 * values into a new or existing ContentValues object). 144 * @param contentValues The content values object to place the structured name values into. I [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
RecentMailboxManager.java | 142 ContentValues values = new ContentValues(); 143 values.put(MailboxColumns.LAST_TOUCHED_TIME, time); 146 values, null, null);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
EditQuickResponseDialog.java | 154 ContentValues values = new ContentValues(); 155 values.put(QuickResponseColumns.TEXT, text); 156 mQuickResponse.update(context, values);
|