/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 78 ContentValues values = new ContentValues(); 79 values.put("_id", 1); 80 values.put("_blob", TEST_BLOB); 81 values.put("integer", 100); 82 db.insert("data", null, values); 163 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Interpolator.java | 36 * Reset the Interpolator to have the specified number of values and an 38 * values for each keyFrame must be assigned using setKeyFrame(). 45 * Reset the Interpolator to have the specified number of values and 46 * keyFrames. After this call the values for each keyFrame must be assigned 65 * values (with an implicity blend array of [0, 0, 1, 1] giving linear 66 * transition to the next set of key values). 71 * @param values Array of values associated with theis key frame 73 public void setKeyFrame(int index, int msec, float[] values) { argument 74 setKeyFrame(index, msec, values, nul 87 setKeyFrame(int index, int msec, float[] values, float[] blend) argument 121 timeToValues(float[] values) argument 136 timeToValues(int msec, float[] values) argument 159 nativeSetKeyFrame(long native_instance, int index, int msec, float[] values, float[] blend) argument 161 nativeTimeToValues(long native_instance, int msec, float[] values) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GLToolbox.java | 157 public static void setVboFloats(int vboId, float[] values) { argument 158 int len = values.length * 4;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | CpuVideoTrackDecoder.java | 228 private static SparseIntArray intArrayToPriorityMap(int[] values) { argument 230 for (int priority = 0; priority < values.length; ++priority) { 231 result.append(values[priority], priority);
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerProvider.java | 99 public Uri insert(Uri uri, ContentValues values) { argument 101 long rowId = db.insert(TABLE_NAME, null, values); 122 public int update(Uri uri, ContentValues values, String selection, argument
|
/frameworks/ex/common/java/com/android/common/content/ |
H A D | SQLiteContentProvider.java | 71 protected abstract Uri insertInTransaction(Uri uri, ContentValues values); argument 76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument 95 public Uri insert(Uri uri, ContentValues values) { argument 102 result = insertInTransaction(uri, values); 113 result = insertInTransaction(uri, values); 122 public int bulkInsert(Uri uri, ContentValues[] values) { argument 123 int numValues = values.length; 128 Uri result = insertInTransaction(uri, values[i]); 148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument 155 count = updateInTransaction(uri, values, selectio [all...] |
H A D | SyncStateContentProviderHelper.java | 67 ContentValues values = new ContentValues(); 68 values.put(SYNC_STATE_META_VERSION_COLUMN, DB_VERSION); 69 db.insert(SYNC_STATE_META_TABLE, SYNC_STATE_META_VERSION_COLUMN, values); 87 public long insert(SQLiteDatabase db, ContentValues values) { argument 88 return db.replace(SYNC_STATE_TABLE, SyncStateContract.Columns.ACCOUNT_NAME, values); 95 public int update(SQLiteDatabase db, ContentValues values, argument 97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/java/android/bordeaux/learning/ |
H A D | StochasticLinearRanker.java | 64 * keys and values. The first sample should have higher rank than the second 79 public float scoreSample(String[] keys, float[] values) { argument 80 return nativeScoreSample(keys, values, mNativeClassifier); 129 public boolean setModelWeights(String[] keys, float [] values, float normalizer){ argument 130 return nativeSetWeightClassifier(keys, values, normalizer, mNativeClassifier); 178 private native float nativeScoreSample(String[] keys, float[] values, long classifierPtr); argument 180 private native void nativeGetWeightClassifier(String [] keys, float[] values, float normalizer, argument 183 private native void nativeGetParameterClassifier(String [] keys, String[] values, argument 188 private native boolean nativeSetWeightClassifier(String [] keys, float[] values, argument
|
/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 451 bool CharacterEncodingDetector::isFrequent(const uint16_t *values, uint32_t c) { argument 458 if(c == values[mid]) { 460 } else if (c > values[mid]) {
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | bit_cnt.c | 42 static void count1_2_3_4_5_6_7_8_9_10_11(const Word16 *values, argument 60 t0= values[i+0]; 61 t1= values[i+1]; 62 t2= values[i+2]; 63 t3= values[i+3]; 118 static void count3_4_5_6_7_8_9_10_11(const Word16 *values, argument 135 t0= values[i+0]; 136 t1= values[i+1]; 137 t2= values[i+2]; 138 t3= values[ 192 count5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 249 count7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 297 count9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 345 count11(const Word16 *values, const Word16 width, Word16 *bitCount) argument 386 countEsc(const Word16 *values, const Word16 width, Word16 *bitCount) argument 469 bitCount(const Word16 *values, const Word16 width, Word16 maxVal, Word16 *bitCount) argument 495 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream) argument [all...] |
/frameworks/av/services/audioflinger/tests/ |
H A D | test_utils.h | 49 // Convert a list of integers in CSV format to a Vector of those values. 51 static inline int parseCSV(const char *string, std::vector<int>& values) argument 53 // pass 1: count the number of values and do syntax check 64 // pass 2: allocate and initialize vector of values 65 values.resize(++numValues); 66 values[0] = atoi(p = string); 69 values[i++] = atoi(p);
|
/frameworks/base/cmds/bootanimation/ |
H A D | AudioPlayer.cpp | 71 static bool setMixerValue(struct mixer* mixer, const char* name, const char* values) argument 88 for (int i = 0; i < numValues && values; i++) { 90 while (*values == ' ') values++; 91 if (*values == 0) break; 96 if (sscanf(values, "%d", &intValue) == 1) { 105 if (sscanf(values, "%s", stringValue) == 1) { 118 values = strchr(values, ' '); 137 * The values i 175 const char* values = strchr(l, '='); local [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | ObjectAnimator.java | 65 * a setter function that will be called to set animated values. 72 * name of the property being animated, use <code>float</code> or <code>int</code> typed values, 100 // New property/values/target should cause re-initialization prior to starting 125 // New property/values/target should cause re-initialization prior to starting 131 * a setter function that will be called to set animated values. 204 * Constructs and returns an ObjectAnimator that animates between int values. A single 205 * value implies that that value is the one being animated to. Two values imply starting 206 * and ending values. More than two values imply a starting value, values t 217 ofInt(Object target, String propertyName, int... values) argument 262 ofInt(T target, Property<T, Integer> property, int... values) argument 307 ofMultiInt(Object target, String propertyName, int[][] values) argument 351 ofMultiInt(Object target, String propertyName, TypeConverter<T, int[]> converter, TypeEvaluator<T> evaluator, T... values) argument 372 ofArgb(Object target, String propertyName, int... values) argument 390 ofArgb(T target, Property<T, Integer> property, int... values) argument 411 ofFloat(Object target, String propertyName, float... values) argument 456 ofFloat(T target, Property<T, Float> property, float... values) argument 502 ofMultiFloat(Object target, String propertyName, float[][] values) argument 547 ofMultiFloat(Object target, String propertyName, TypeConverter<T, float[]> converter, TypeEvaluator<T> evaluator, T... values) argument 571 ofObject(Object target, String propertyName, TypeEvaluator evaluator, Object... values) argument 620 ofObject(T target, Property<T, V> property, TypeEvaluator<V> evaluator, V... values) argument 648 ofObject(T target, Property<T, P> property, TypeConverter<V, P> converter, TypeEvaluator<V> evaluator, V... values) argument 699 ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) argument 708 setIntValues(int... values) argument 723 setFloatValues(float... values) argument 738 setObjectValues(Object... values) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 247 public int update(Uri url, ContentValues values, String selection, argument 251 return mContentProvider.update(mPackageName, url, values, selection, selectionArgs);
|
H A D | ContentProviderNative.java | 161 ContentValues values = ContentValues.CREATOR.createFromParcel(data); 163 Uri out = insert(callingPkg, url, values); 174 ContentValues[] values = data.createTypedArray(ContentValues.CREATOR); 176 int count = bulkInsert(callingPkg, url, values); 218 ContentValues values = ContentValues.CREATOR.createFromParcel(data); 222 int count = update(callingPkg, url, values, selection, selectionArgs); 463 public Uri insert(String callingPkg, Uri url, ContentValues values) throws RemoteException argument 472 values.writeToParcel(data, 0); 485 public int bulkInsert(String callingPkg, Uri url, ContentValues[] values) throws RemoteException { argument 493 data.writeTypedArray(values, 553 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument [all...] |
H A D | IContentProvider.java | 47 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
|
H A D | SearchRecentSuggestionsProvider.java | 77 // client-provided configuration values 90 // NOTE: These version values are shifted left 8 bits (x 256) in order to create space for 162 * constructor. In your application or activities, you must provide the same values when 181 // saved values 185 // derived values 272 public Uri insert(Uri uri, ContentValues values) { argument 285 rowID = db.insert(sSuggestions, NULL_COLUMN, values); 393 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 53 // which won't get the rotated values 259 v[0] = event.values[0]; 260 v[1] = event.values[1]; 261 v[2] = event.values[2]; 282 * output: 3,4,5: values in the old API format 283 * 0,1,2: transformed values in the old API format 287 float[] values, int orientation) { 288 float x = values[0]; 289 float y = values[1]; 290 float z = values[ 286 mapSensorDataToWindow(int sensor, float[] values, int orientation) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | MultiCheckPreference.java | 117 * @param entryValues The array to be used as values to save for the preference. 127 * @param entryValuesResId The entry values array as a resource. 133 private void setEntryValuesCS(CharSequence[] values) { argument 135 if (values != null) { 136 mEntryValues = new String[values.length]; 137 for (int i=0; i<values.length; i++) { 138 mEntryValues[i] = values[i].toString(); 144 * Returns the array of values to be saved for the preference. 146 * @return The array of values. 167 * Sets the current values 169 setValues(boolean[] values) argument 307 boolean[] values; field in class:MultiCheckPreference.SavedState [all...] |
H A D | MultiSelectListPreference.java | 35 * This set will contain one or more values from the 108 * @param entryValues The array to be used as values to save for the preference. 116 * @param entryValuesResId The entry values array as a resource. 123 * Returns the array of values to be saved for the preference. 125 * @return The array of values. 135 * @param values The values to set for the key. 137 public void setValues(Set<String> values) { argument 139 mValues.addAll(values); 141 persistStringSet(values); 251 Set<String> values; field in class:MultiSelectListPreference.SavedState [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | DocumentsProvider.java | 588 public final Uri insert(Uri uri, ContentValues values) { argument 609 Uri uri, ContentValues values, String selection, String[] selectionArgs) { 608 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeBounds.java | 232 private void captureValues(TransitionValues values) { argument 233 View view = values.view; 236 values.values.put(PROPNAME_BOUNDS, new Rect(view.getLeft(), view.getTop(), 238 values.values.put(PROPNAME_PARENT, values.view.getParent()); 240 values.view.getLocationInWindow(tempLocation); 241 values.values [all...] |
H A D | Visibility.java | 133 transitionValues.values.put(PROPNAME_VISIBILITY, visibility); 134 transitionValues.values.put(PROPNAME_PARENT, transitionValues.view.getParent()); 137 transitionValues.values.put(PROPNAME_SCREEN_LOCATION, loc); 161 * Returns whether the view is 'visible' according to the given values 162 * object. This is determined by testing the same properties in the values 170 * @param values The TransitionValues object that holds the information by 172 * @return True if the view reference by <code>values</code> is visible, 175 public boolean isVisible(TransitionValues values) { argument 176 if (values == null) { 179 int visibility = (Integer) values [all...] |
/frameworks/base/core/java/android/util/ |
H A D | ArrayMap.java | 654 * values of both maps are compared. If the values for any key are not 872 * Return a {@link java.util.Collection} for iterating over and interacting with all values 879 public Collection<V> values() { method in class:ArrayMap
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatterySipper.java | 27 public double[] values; field in class:BatterySipper 65 public BatterySipper(DrainType drainType, Uid uid, double[] values) { argument 66 this.values = values; 67 if (values != null) value = values[0]; 73 return values;
|