/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableEnum.java | 33 * <p>Default values of the enum are mapped to its ordinal; this can be overridden 141 * Register a non-sequential set of values to be used with the marshal/unmarshal functions. 146 * @param values A list of values mapping to the ordinals of the enum 148 public static <T extends Enum<T>> void registerEnumValues(Class<T> enumType, int[] values) { 149 if (enumType.getEnumConstants().length != values.length) { 151 "Expected values array to be the same size as the enumTypes values " 152 + values.length + " for type " + enumType); 155 Log.v(TAG, "Registered enum values for type " + enumType + " values") 172 int[] values; local 207 T[] values = enumType.getEnumConstants(); local [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/ |
RecurrenceSetTest.java | 136 ContentValues values = new ContentValues(); local 137 boolean result = RecurrenceSet.populateContentValues(recurrenceComponent, values); 138 Log.d("KS", "values " + values); 144 assertEquals(rrule, values.get(android.provider.CalendarContract.Events.RRULE)); 145 assertEquals(rdate, values.get(android.provider.CalendarContract.Events.RDATE)); 146 assertEquals(exrule, values.get(android.provider.CalendarContract.Events.EXRULE)); 147 assertEquals(exdate, values.get(android.provider.CalendarContract.Events.EXDATE)); 148 assertEquals(dtstart, (long) values.getAsLong(CalendarContract.Events.DTSTART)); 149 assertEquals(tzid, values.get(android.provider.CalendarContract.Events.EVENT_TIMEZONE)) [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EditEventHelper.java | 305 ContentValues values = getContentValuesFromModel(model); local 319 values.put(Events.HAS_ALARM, (len > 0) ? 1 : 0); 323 values.put(Events.HAS_ATTENDEE_DATA, 1); 324 values.put(Events.STATUS, Events.STATUS_CONFIRMED); 327 Events.CONTENT_URI).withValues(values); 333 checkTimeDependentFields(originalModel, model, values, modifyWhich); 334 ops.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); 339 ops.add(ContentProviderOperation.newUpdate(uri).withValues(values).build()); 345 values.put(Events.ORIGINAL_SYNC_ID, originalModel.mSyncId); 346 values.put(Events.ORIGINAL_INSTANCE_TIME, begin) 839 ContentValues values = new ContentValues(); local 883 ContentValues values = new ContentValues(); local 1229 ContentValues values = new ContentValues(); local [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
Percentile.java | 60 * elements, arrays containing <code>NaN</code> or infinite values will often 61 * result in <code>NaN<code> or infinite values returned.</p> 131 public void setData(final double[] values) { 132 if (values == null) { 138 super.setData(values); 143 public void setData(final double[] values, final int begin, final int length) { 144 if (values == null) { 150 super.setData(values, begin, length); 166 * Returns an estimate of the <code>p</code>th percentile of the values 167 * in the <code>values</code> array [all...] |
/external/e2fsprogs/e2fsck/ |
profile_helpers.c | 8 * list of sections or relations, or accessing multiple values from a 147 struct profile_string_list values; local 154 if ((retval = init_list(&values))) 161 add_to_list(&values, value); 164 if (values.num == 0) { 169 end_list(&values, ret_values); 173 end_list(&values, 0); 188 struct profile_string_list values; local 195 if ((retval = init_list(&values))) 202 add_to_list(&values, name) 224 struct profile_string_list values; local [all...] |
/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 30 * values between those keyframes for a given animation. The class internal to the animation 65 public static KeyframeSet ofInt(int... values) { 66 int numKeyframes = values.length; 70 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]); 72 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]); 75 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]); 81 public static KeyframeSet ofFloat(float... values) { 83 int numKeyframes = values.length; 87 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]); 88 if (Float.isNaN(values[0])) [all...] |
/frameworks/base/core/java/com/android/internal/transition/ |
EpicenterTranslateClipReveal.java | 38 * EpicenterTranslateClipReveal captures the clip bounds and translation values 105 private void captureValues(TransitionValues values) { 106 final View view = values.view; 112 values.values.put(PROPNAME_BOUNDS, bounds); 113 values.values.put(PROPNAME_TRANSLATE_X, view.getTranslationX()); 114 values.values.put(PROPNAME_TRANSLATE_Y, view.getTranslationY()); 115 values.values.put(PROPNAME_TRANSLATE_Z, view.getTranslationZ()) [all...] |
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
MmsProvider.java | 302 public Uri insert(Uri uri, ContentValues values) { 304 if (values != null && values.containsKey(Part._DATA)) { 320 Object msgBoxObj = values.getAsInteger(Mms.MESSAGE_BOX); 368 boolean addDate = !values.containsKey(Mms.DATE); 369 boolean addMsgBox = !values.containsKey(Mms.MESSAGE_BOX); 372 filterUnsupportedKeys(values); 376 finalValues = new ContentValues(values); 394 Long threadId = values.getAsLong(Mms.THREAD_ID); 395 String address = values.getAsString(CanonicalAddressesColumns.ADDRESS) [all...] |
/external/ceres-solver/internal/ceres/ |
triplet_sparse_matrix_test.cc | 84 EXPECT_DOUBLE_EQ(m.values()[0], 2.5); 85 EXPECT_DOUBLE_EQ(m.values()[1], 5.2); 125 EXPECT_DOUBLE_EQ(cpy.values()[0], 2.5); 126 EXPECT_DOUBLE_EQ(cpy.values()[1], 5.2); 171 EXPECT_DOUBLE_EQ(cpy.values()[0], 2.5); 172 EXPECT_DOUBLE_EQ(cpy.values()[1], 5.2); 209 EXPECT_EQ(m.values()[0], 2.5); 210 EXPECT_EQ(m.values()[1], 5.2); 211 EXPECT_EQ(m.values()[2], 3.5); 212 EXPECT_EQ(m.values()[3], 6.2) [all...] |
sparse_matrix.h | 52 // sparse matrix will have a two part representation. A values array 55 // structure and layout of the values array. For example in case of 92 // Accessors for the values array that stores the entries of the 93 // sparse matrix. The exact interpreptation of the values of this 97 virtual const double* values() const = 0;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
AbstractMapTest.java | 226 * java.util.AbstractMap#values() 230 assertSame("HashMap(0)", map1.values(), map1.values()); 233 assertSame("HashMap(10)", map2.values(), map2.values()); 236 assertSame("EMPTY_MAP", map3.values(), map3.values()); 239 assertSame("IdentityHashMap", map4.values(), map4.values()); 242 assertSame("IdentityHashMap", map5.values(), map5.values()) 291 Vector values = new Vector(); field in class:AbstractMapTest.AMT [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForStructuredName.java | 48 ContentValues values) { 49 fixStructuredNameComponents(values, values); 51 long dataId = super.insert(db, txContext, rawContactId, values); 53 String name = values.getAsString(StructuredName.DISPLAY_NAME); 54 Integer fullNameStyle = values.getAsInteger(StructuredName.FULL_NAME_STYLE); 65 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values, 70 final ContentValues augmented = getAugmentedValues(db, dataId, values); 75 fixStructuredNameComponents(augmented, values); 77 super.update(db, txContext, values, c, callerIsSyncAdapter) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
DspBufferBase.java | 40 public abstract void setValues(int index, double... values);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_AggregationSuggestionsTest.java | 73 ContentValues values = new ContentValues(); local 74 values.put(Contacts._ID, contactIds[0]); 75 values.put(Contacts.DISPLAY_NAME, "first1 last1"); 76 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); 95 ContentValues values = new ContentValues(); local 96 values.put(Contacts._ID, contactIds[0]); 97 values.put(Contacts.DISPLAY_NAME, "first1 last1"); 98 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); 132 ContentValues values = new ContentValues(); local 133 values.put(Contacts._ID, contactIds[1]) 153 ContentValues values = new ContentValues(); local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexEncodedAnnotationImpl.java | 31 private List<DexAnnotationAttribute> values; field in class:DexEncodedAnnotationImpl 52 values = new ArrayList<DexAnnotationAttribute>(size); 54 values.add(new DexAnnotationAttributeImpl(buffer, annotation, 64 return values;
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/summary/ |
SumOfSquares.java | 24 * Returns the sum of the squares of the available values. 26 * If there are no values in the dataset, or any of the values are 111 * @param values the input array 114 * @return the sum of the squares of the values or Double.NaN if length = 0 119 public double evaluate(final double[] values,final int begin, final int length) { 121 if (test(values, begin, length)) { 124 sumSq += values[i] * values[i];
|
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/common/ |
tokens.py | 41 values: Dictionary of values returned from the tokens regex match. 50 def __init__(self, string, token_type, line, line_number, values=None): 58 values: A dict of named values within the token. For instance, a 67 self.values = values 124 self.values, self.line_number,
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractSortedSetMultimap.java | 44 * values 66 * Returns a collection view of all values associated with a key. If no 73 * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given 82 * Removes all values associated with a given key. The returned collection is 85 * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given 94 * Stores a collection of values with the same key, replacing any existing 95 * values for that key. The returned collection is immutable. 97 * <p>Because a {@code SortedSetMultimap} has unique sorted values for a given 101 * <p>Any duplicates in {@code values} will be stored in the multimap once. 104 @Nullable K key, Iterable<? extends V> values) { 132 @Override public Collection<V> values() { method in class:AbstractSortedSetMultimap [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DictionaryMatcher.java | 25 * @param values Filled with the weight values associated with the various words. 29 int[] count, int limit, int[] values);
|
/external/jetty/src/java/org/eclipse/jetty/security/ |
UserDataConstraint.java | 32 return values()[dataConstraint];
|
/external/jsilver/src/com/google/clearsilver/jsilver/functions/ |
FunctionExecutor.java | 19 import com.google.clearsilver.jsilver.values.Value;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_prim.h | 81 const static unsigned values[][2] = { local 103 ok = (*nr >= values[pipe_prim][0]); 104 if (values[pipe_prim][1]) 105 *nr -= (*nr % values[pipe_prim][1]);
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_cs.h | 98 #define OUT_CS_TABLE(values, count) do { \ 99 memcpy(cs_copy->buf + cs_copy->cdw, values, count * 4); \ 121 #define WRITE_CS_TABLE(values, count) do { \ 123 memcpy(cs_copy->buf + cs_copy->cdw, (values), (count) * 4); \
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_debug.c | 96 va_list values; local 105 va_start( values, message ); 106 vfprintf(stderr, message, values); 107 va_end( values );
|
/external/nanopb-c/generator/google/protobuf/internal/ |
enum_type_wrapper.py | 42 """A utility for finding the names of enum values.""" 72 for value_descriptor in self._enum_type.values] 74 def values(self): member in class:EnumTypeWrapper 75 """Return a list of the integer values in the enum. 81 for value_descriptor in self._enum_type.values] 89 for value_descriptor in self._enum_type.values]
|