/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
PolicyConstraints.java | 116 Object[] values = (Object[]) in.content; 119 if (values[0] != null) { 120 requireExplicitPolicy = new BigInteger((byte[]) values[0]); 122 if (values[1] != null) { 123 inhibitPolicyMapping = new BigInteger((byte[]) values[1]); 130 @Override protected void getValues(Object object, Object[] values) { 132 values[0] = pc.requireExplicitPolicy.toByteArray(); 133 values[1] = pc.inhibitPolicyMapping.toByteArray();
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
PKIFailureInfo.java | 50 The value of PKIFailureInfo can take only one of the values, 111 * @return maximum of values in the enum 115 for (PKIFailureInfo cur : values()) 128 for (PKIFailureInfo info : values()){
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
EmailDataItem.java | 29 /* package */ EmailDataItem(ContentValues values) { 30 super(values);
|
/packages/apps/Gallery2/jni/filters/ |
kmeans.h | 26 inline void sum(T values[], int len, int dimension, int stride, N dst[]) { 34 dst[y] += values[x + y]; 88 void initialPickHeuristicRandom(int k, T values[], int len, int dimension, int stride, T dst[], 114 set<T,T>(dst + cntr, values + r, dimension); 123 inline int findClosest(T values[], T oldCenters[], int dimension, int stride, int pop_size) { 125 N best_len = euclideanDist <T, N>(values, oldCenters, dimension); 128 N l = euclideanDist <T, N>(values, oldCenters + y, dimension); 141 int calculateNewCentroids(int k, T values[], int len, int dimension, int stride, T oldCenters[], 157 int best = findClosest<T, N>(values + x, oldCenters, dimension, stride, pop_size); 158 add<T, N>(values + x, tmp + best, dimension) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAnimUtils.java | 93 public static ValueAnimator ofFloat(View target, float... values) { 95 anim.setFloatValues(values); 100 public static ObjectAnimator ofFloat(View target, String propertyName, float... values) { 104 anim.setFloatValues(values); 111 PropertyValuesHolder... values) { 114 anim.setValues(values); 121 View view, PropertyValuesHolder... values) { 124 anim.setValues(values);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAnimUtils.java | 93 public static ValueAnimator ofFloat(View target, float... values) { 95 anim.setFloatValues(values); 100 public static ObjectAnimator ofFloat(View target, String propertyName, float... values) { 104 anim.setFloatValues(values); 111 PropertyValuesHolder... values) { 114 anim.setValues(values); 121 View view, PropertyValuesHolder... values) { 124 anim.setValues(values);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SearchIndexManagerTest.java | 55 ContentValues values = new ContentValues(); local 56 values.put(StructuredName.DISPLAY_NAME, "Bob I. Parr"); 57 DataUtil.insertStructuredName(mResolver, rawContactId, values); 58 values.clear(); 59 values.put(StructuredName.PREFIX, "Mrs."); 60 values.put(StructuredName.GIVEN_NAME, "Helen"); 61 values.put(StructuredName.MIDDLE_NAME, "I."); 62 values.put(StructuredName.FAMILY_NAME, "Parr"); 63 values.put(StructuredName.SUFFIX, "PhD"); 64 values.put(StructuredName.PHONETIC_FAMILY_NAME, "par") 80 ContentValues values = new ContentValues(); local 96 ContentValues values = new ContentValues(); local 116 ContentValues values = new ContentValues(); local 131 ContentValues values = new ContentValues(); local 157 ContentValues values = new ContentValues(); local 180 ContentValues values = new ContentValues(); local 226 ContentValues values = new ContentValues(); local 513 ContentValues values = new ContentValues(); local [all...] |
/external/chromium/chrome/browser/tabs/ |
pinned_tab_codec.cc | 7 #include "base/values.h" 38 // Adds a DictionaryValue to |values| representing the pinned tab at the 42 ListValue* values) { 55 values->Append(value.release()); 62 values->Append(value.release()); 68 static void EncodePinnedTabs(Browser* browser, ListValue* values) { 71 EncodePinnedTab(tab_model, i, values); 74 // Decodes the previously written values in |value| to |tab|, returning true 101 ListValue values; 107 EncodePinnedTabs(browser, &values); 127 DictionaryValue* values = NULL; local [all...] |
/external/eigen/unsupported/test/ |
forward_adolc.cpp | 40 TestFunc1(int inputs, int values) : m_inputs(inputs), m_values(values) {} 43 int values() const { return m_values; } function in struct:TestFunc1 57 if(values()>2) 61 if (inputs()>2 && values()>2) 84 if(values()>2) 89 if (inputs()>2 && values()>2) 104 typename Func::ValueType y(f.values()), yref(f.values()); 105 typename Func::JacobianType j(f.values(),f.inputs()), jref(f.values(),f.inputs()) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
SQLite.java | 20 * Create a SQL INSERT string. Returned values are then bound via 24 * @param values column name/value pairs 28 public static SQLStringAndBindings buildInsertString(String table, ContentValues values, int conflictAlgorithm) throws SQLException { 38 SQLStringAndBindings columnsValueClause = buildColumnValuesClause(values); 47 * Create a SQL UPDATE string. Returned values are then bound via 51 * @param values column name/value pairs 56 public static SQLStringAndBindings buildUpdateString(String table, ContentValues values, String whereClause, String[] whereArgs) { 63 SQLStringAndBindings columnAssignmentsClause = buildColumnAssignmentsClause(values); 139 * Build the '(columns...) VALUES (values...)' clause used in INSER [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/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 | 28 * values between those keyframes for a given animation. The class internal to the animation 51 public static KeyframeSet ofInt(int... values) { 52 int numKeyframes = values.length; 56 keyframes[1] = (IntKeyframe) Keyframe.ofInt(1f, values[0]); 58 keyframes[0] = (IntKeyframe) Keyframe.ofInt(0f, values[0]); 61 (IntKeyframe) Keyframe.ofInt((float) i / (numKeyframes - 1), values[i]); 67 public static KeyframeSet ofFloat(float... values) { 69 int numKeyframes = values.length; 73 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]); 74 if (Float.isNaN(values[0])) [all...] |
PropertyValuesHolder.java | 30 * This class holds information about a property and the values that that property 38 * The name of the property associated with the values. This need not be a real property, 40 * aniamted values are looked up with getAnimatedValue(String) in ValueAnimator. 62 * The getter is only derived and used if one of the values is null. 67 * The type of values supplied. This information is used both in deriving the setter/getter 83 // The caller may have supplied values in a type that does not match the setter/getter 84 // functions (such as the integers 0 and 1 to represent floating point values for alpha). 112 * The type evaluator used to calculate the animated values. This evaluator is determined 147 * set of int values. 149 * @param values The values that the named property will animate between [all...] |
/external/chromium_org/remoting/webapp/ |
stats_accumulator.js | 24 * A map from names to lists of values. 40 * Adds values to this object. 75 * Calculates the mean of the values for a given key. 78 * @return {number} the mean of the values for that key 82 * @param {Array.<number>} values 85 var calcMean = function(values) { 86 if (values.length == 0) { 90 for (var i = 0; i < values.length; i++) { 91 sum += values[i]; 93 return sum / values.length [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
AbstractMapTest.java | 226 * @tests 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...] |
/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/luni/src/test/java/tests/api/java/util/ |
AbstractMapTest.java | 138 * java.util.AbstractMap#values() 142 assertSame("HashMap(0)", map1.values(), map1.values()); 145 assertSame("HashMap(10)", map2.values(), map2.values()); 148 assertSame("EMPTY_MAP", map3.values(), map3.values()); 151 assertSame("IdentityHashMap", map4.values(), map4.values()); 154 assertSame("IdentityHashMap", map5.values(), map5.values()) 203 Vector values = new Vector(); field in class:AbstractMapTest.AMT [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/chromium/base/threading/ |
thread_local_storage_unittest.cc | 74 int values[kNumThreads]; local 82 values[index] = kInitialTlsValue; 83 thread_delegates[index] = new ThreadLocalStorageRunner(&values[index]); 96 EXPECT_EQ(values[index], kInitialTlsValue);
|
/external/chromium/chrome/browser/autofill/ |
autofill_host.h | 45 virtual void AutoFillSuggestionsReturned(const std::vector<string16>& values, const std::vector<string16>& labels, const std::vector<string16>& icons, const std::vector<int>& unique_ids) = 0;
|
/external/chromium/webkit/glue/ |
idb_bindings.h | 23 std::vector<WebKit::WebIDBKey>* values);
|
/external/chromium-trace/trace-viewer/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,
|