HomeSort by relevance Sort by last modified time
    Searched refs:values (Results 501 - 525 of 1385) sorted by null

<<21222324252627282930>>

  /libcore/luni/src/test/java/tests/api/java/util/
WeakHashMapTest.java 277 List values = Arrays.asList(valueArray); local
286 assertTrue("Invalid map entry returned--bad key", values
290 values = null;
430 List values = Arrays.asList(valueArray); local
441 values = null;
457 * @tests java.util.WeakHashMap#values()
463 method = "values",
474 // Test for method java.util.Set java.util.WeakHashMap.values()
480 List values = Arrays.asList(valueArray); local
482 Collection valuesCollection = whm.values();
    [all...]
  /sdk/emulator/sensors/
sensors_qemu.c 287 sensors_data_t* values)
295 *values = data->sensors[i];
296 values->sensor = (1<<i);
299 values->vector.x,
300 values->vector.y,
301 values->vector.z);
312 data__poll(struct sensors_data_device_t *dev, sensors_data_t* values)
321 return pick_sensor(data, values);
393 * time values */
405 return pick_sensor(data, values);
    [all...]
  /cts/tools/dex-tools/src/dex/reader/
DexEncodedValueImpl.java 141 * VALUE_ARRAY 0x1c (none; must be 0) encoded_array an array of values, in
147 List<DexEncodedValue> values = new ArrayList<DexEncodedValue>(size); local
149 values.add(new DexEncodedValueImpl(buffer, annotation, typeIds,
152 return values;
287 List<?> values = (List<?>) getValue(); local
288 for (Object object : values) {
  /dalvik/dx/src/com/android/dx/util/_tests/
_BitIntSet.java 105 int[] values = {0, 1, 31, 32, 128}; local
107 for (int i = 0; i < values.length; i++) {
108 set.add(values[i]);
113 for (int i = 0; i < values.length; i++) {
115 assertEquals(values[i], iter.next());
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
SensorTest.java 89 diff[i] = Math.round(mScale[i] * (event.values[i] - mPrev[i]) * 0.45f);
93 mPrev[i] = event.values[i];
100 " (" + event.values[0] + ", " + event.values[1] + ", " +
101 event.values[2] + ")" + " diff(" + diff[0] +
  /development/samples/ApiDemos/src/com/example/android/apis/os/
Sensors.java 35 * <h3>Application that displays the values of the acceleration sensor graphically.</h3>
128 float[] values = mOrientationValues; local
143 canvas.rotate(-values[i]);
162 canvas.rotate(-values[i]);
174 //Log.d(TAG, "sensor: " + sensor + ", x: " + values[0] + ", y: " + values[1] + ", z: " + values[2]);
181 mOrientationValues[i] = event.values[i];
190 final float v = mYOffset + event.values[i] * mScale[j];
  /external/nist-sip/java/gov/nist/core/
NameValueList.java 95 Iterator<NameValue> iterator = hmap.values().iterator();
218 Iterator<NameValue> it = this.hmap.values().iterator();
245 return this.hmap.values().iterator();
344 * @see java.util.Map#values()
346 public Collection<NameValue> values() { method in class:NameValueList
347 return this.hmap.values();
  /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) {
  /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;
SparseArray.java 110 Object[] values = mValues; local
113 Object val = values[i];
118 values[o] = val;
272 Object[] values = mValues; local
275 values[i] = null;
  /frameworks/base/test-runner/src/android/test/mock/
MockContentProvider.java 112 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs)
114 return MockContentProvider.this.update(url, values, selection, selectionArgs);
179 public Uri insert(Uri uri, ContentValues values) {
195 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
203 public int bulkInsert(Uri uri, ContentValues[] values) {
  /frameworks/base/tests/CoreTests/android/core/
DatabaseSessionCache.java 160 // // More values can be added in future to provide different
201 ContentValues values = new ContentValues(); local
202 values.put(SSL_CACHE_HOSTPORT, key);
203 values.put(SSL_CACHE_SESSION, b64);
204 values.put(SSL_CACHE_TIME_SEC, System.currentTimeMillis() / 1000);
210 mDatabaseHelper.getWritableDatabase().insert(SSL_CACHE_TABLE, null /*nullColumnHack */ , 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;
  /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/org/apache/harmony/xnet/provider/jsse/
OpenSSLSessionImpl.java 51 private TwoKeyHashMap values = new TwoKeyHashMap<String, AccessControlContext, Object>(); field in class:OpenSSLSessionImpl
423 return values.get(name, AccessController.getContext());
438 Set<Map.Entry<String, Object>> set = values.entrySet();
469 Object old = values.put(name, AccessController.getContext(), value);
499 Object old = values.remove(name, AccessController.getContext());
SSLSessionImpl.java 98 private Map<ValueKey, Object> values = new HashMap<ValueKey, Object>(); field in class:SSLSessionImpl
294 return values.get(new ValueKey(name));
300 for (ValueKey key : values.keySet()) {
325 Object old = values.put(new ValueKey(name), value);
339 Object old = values.remove(new ValueKey(name));
  /packages/apps/Gallery3D/src/com/cooliris/media/
LongSparseArray.java 106 Object[] values = mValues; local
109 Object val = values[i];
114 values[o] = val;
265 Object[] values = mValues; local
268 values[i] = null;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
AutoDictionary.java 252 ContentValues values = new ContentValues(4);
253 values.put(COLUMN_WORD, word);
254 values.put(COLUMN_FREQUENCY, frequency);
255 values.put(COLUMN_LOCALE, locale);
256 return values;
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDatabaseHelper.java 96 public long calendarsInsert(ContentValues values) {
97 return mCalendarsInserter.insert(values);
100 public long eventsInsert(ContentValues values) {
101 return mEventsInserter.insert(values);
104 public long eventsRawTimesInsert(ContentValues values) {
105 return mEventsRawTimesInserter.insert(values);
108 public long eventsRawTimesReplace(ContentValues values) {
109 return mEventsRawTimesInserter.replace(values);
112 public long instancesInsert(ContentValues values) {
113 return mInstancesInserter.insert(values);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
AndroidTargetData.java 88 * mAttributeValues is a map { key => list [ values ] }.
95 * with values in the UI. Uniquely named attributes have their values in {@link #mEnumValueMap}.
169 * All other values will throw an {@link IllegalArgumentException}.
224 * Returns this list of possible values for an XML attribute.
225 * <p/>This should only be called for attributes for which possible values depend on the
227 * <p/>For attributes that have the same values no matter the parent node, use
231 * @return an array of String with the possible values, or <code>null</code> if no values were
240 * Returns this list of possible values for an XML attribute
258 String[] values = mAttributeValues.get(key); local
    [all...]