/external/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractMessageLite.java | 302 * Adds the {@code values} to the {@code list}. This is a helper method 305 * @throws NullPointerException if any of the elements of {@code values} is 308 protected static <T> void addAll(final Iterable<T> values, 310 for (final T value : values) { 315 if (values instanceof Collection) { 317 Collection<T> collection = (Collection<T>) values; 320 for (final T value : values) {
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
test_runner2.py | 79 worker_states = self._worker_states.values() 166 if any(worker_state.wedged for worker_state in self._worker_states.values()): 174 for worker_state in self._worker_states.values(): 192 thread_timings = [worker_state.stats for worker_state in self._worker_states.values()] 199 for worker_state in self._worker_states.values():
|
/frameworks/base/core/java/android/net/ |
NetworkStatsHistory.java | 423 * across buckets, so values may be rounded slightly. 431 * across buckets, so values may be rounded slightly. 590 final long[] values = new long[size]; local 591 for (int i = 0; i < values.length; i++) { 592 values[i] = in.readLong(); 594 return values; 631 final long[] values = new long[size]; local 632 for (int i = 0; i < values.length; i++) { 633 values[i] = readVarLong(in); 635 return values; 662 final long[] values = new long[size]; local [all...] |
/frameworks/base/core/java/android/util/ |
LongSparseArray.java | 123 Object[] values = mValues; local 126 Object val = values[i]; 131 values[o] = val; 285 Object[] values = mValues; local 288 values[i] = null;
|
/frameworks/base/test-runner/src/android/test/mock/ |
MockContentProvider.java | 101 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) 103 return MockContentProvider.this.update(url, values, selection, selectionArgs); 176 public Uri insert(Uri uri, ContentValues values) { 192 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 200 public int bulkInsert(Uri uri, ContentValues[] values) {
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
SparseWeakArray.java | 125 WeakReference<?>[] values = mValues; local 128 WeakReference<?> val = values[i]; 130 // Don't keep any non DELETED values, but only the one that still have a valid 135 values[o] = val; 299 WeakReference<?>[] values = mValues; local 302 values[i] = null;
|
/frameworks/support/v4/java/android/support/v4/app/ |
HCSparseArray.java | 106 Object[] values = mValues; local 109 Object val = values[i]; 114 values[o] = val; 268 Object[] values = mValues; local 271 values[i] = null;
|
/hardware/invensense/libsensors/ |
MPLSensor.cpp | 72 /* Base values for the sensor list, these need to be in the order defined in MPLSensor.h */ 743 void MPLSensor::calcOrientationSensor(float *R, float *values) 749 values[0] = (float) atan2f(-R[3], R[0]); 751 values[0] = (float) atan2f(R[1], R[4]); 753 values[0] *= 57.295779513082320876798154814105f; 754 if (values[0] < 0) { 755 values[0] += 360.0f; 763 values[1] = -asinf(tmp) * 57.295779513082320876798154814105f; 765 values[1] = 180.0f - values[1] [all...] |
/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 | 142 for (CalendarRow row : changes.values()) { 150 ContentValues values = new ContentValues(); local 153 values.put(Calendars.SYNC_EVENTS, synced); 154 values.put(Calendars.VISIBLE, synced); 155 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) 1012 HashMap<String, String> values = new HashMap<String, String>(); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/calllog/ |
CallLogAdapter.java | 598 final ContentValues values = new ContentValues(); local 603 values.put(Calls.CACHED_NAME, updatedInfo.name); 608 values.put(Calls.CACHED_NUMBER_TYPE, updatedInfo.type); 613 values.put(Calls.CACHED_NUMBER_LABEL, updatedInfo.label); 617 values.put(Calls.CACHED_LOOKUP_URI, UriUtils.uriToString(updatedInfo.lookupUri)); 621 values.put(Calls.CACHED_NORMALIZED_NUMBER, updatedInfo.normalizedNumber); 625 values.put(Calls.CACHED_MATCHED_NUMBER, updatedInfo.number); 629 values.put(Calls.CACHED_PHOTO_ID, updatedInfo.photoId); 633 values.put(Calls.CACHED_FORMATTED_NUMBER, updatedInfo.formattedNumber); 637 // No previous values, store all of them [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]));
|