Searched defs:values (Results 26 - 50 of 163) sorted by relevance

1234567

/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java77 ContentValues values, String where, String[] selectionArgs) {
79 return resolver.update(uri, values, where, selectionArgs);
99 Uri uri, ContentValues values) {
101 return resolver.insert(uri, values);
76 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
98 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
/frameworks/base/core/java/android/provider/
H A DSearchIndexablesProvider.java169 public final Uri insert(Uri uri, ContentValues values) { argument
186 Uri uri, ContentValues values, String selection, String[] selectionArgs) {
185 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/base/core/java/android/text/
H A DPackedObjectVector.java66 insertAt(int row, E[] values) argument
76 if (values == null)
81 setValue(row, i, values[i]);
H A DPackedIntVector.java26 * offsetting the values in segments of a given column.
138 * Increments all values in the specified column whose row >= the
164 * Inserts a new row of values at the specified row offset.
169 * @param values the new values to be added. If this is null,
174 * values array is too small (values.length < width()).
176 public void insertAt(int row, int[] values) { argument
181 if ((values != null) && (values
[all...]
/frameworks/base/core/java/com/android/internal/content/
H A DSelectionBuilder.java115 public int update(SQLiteDatabase db, String table, ContentValues values) { argument
116 return db.update(table, values, getSelection(), getSelectionArgs());
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp56 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; local
57 result = interp->timeToValues(msec, (SkScalar*)values);
62 values[i] = SkScalarToFloat(*(SkScalar*)&values[i]);
64 env->ReleaseFloatArrayElements(valueArray, values, 0);
H A DMaskFilter.cpp33 float* values = autoDir.ptr(); local
35 direction[i] = values[i];
/frameworks/base/core/tests/coretests/src/android/app/
H A DSuggestionProvider.java97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
/frameworks/base/libs/hwui/
H A DInterpolator.cpp93 LUTInterpolator::LUTInterpolator(float* values, size_t size) { argument
94 mValues = values;
116 " i1=%d, i2=%d, input=%f, lutpos=%f, size=%zu, values=%p, ipart=%f, weight=%f",
/frameworks/base/media/java/android/media/
H A DAudioGain.java22 * Gain values are expressed in millibels.
150 * @param values: gain values for each channels.
155 int[] values, int rampDurationMs) {
157 return new AudioGainConfig(mIndex, this, mode, channelMask, values, rampDurationMs);
154 buildConfig(int mode, int channelMask, int[] values, int rampDurationMs) argument
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java46 public Uri insert(Uri uri, ContentValues values) { argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Theme_Delegate.java103 int[] values, int[] attrs) {
102 resolveAttributes(Resources thisResources, Theme thisTheme, int[] values, int[] attrs) argument
/frameworks/ml/bordeaux/learning/multiclass_pa/jni/
H A Djni_multiclass_pa.cpp26 void CreateIndexValuePairs(const int* indices, const float* values, argument
31 pair<int, float> new_pair(indices[i], values[i]);
66 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
71 if (values && indices && value_len == index_len) {
74 CreateIndexValuePairs(indices, values, value_len, &inputs);
77 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
82 env->ReleaseFloatArrayElements(value_array, values, JNI_ABORT);
99 jfloat* values = env->GetFloatArrayElements(value_array, NULL); local
104 if (values && indices && value_len == index_len) {
106 CreateIndexValuePairs(indices, values, value_le
[all...]
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java49 public Uri insert(Uri uri, ContentValues values) { argument
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java89 ContentValues values, String where, String[] selectionArgs) {
91 return resolver.update(uri, values, where, selectionArgs);
111 Uri uri, ContentValues values) {
113 return resolver.insert(uri, values);
88 update(Context context, ContentResolver resolver, Uri uri, ContentValues values, String where, String[] selectionArgs) argument
110 insert(Context context, ContentResolver resolver, Uri uri, ContentValues values) argument
/frameworks/av/media/mtp/
H A DMtpProperty.cpp288 void MtpProperty::setFormEnum(const int* values, int count) { argument
295 int value = *values++;
553 void MtpProperty::writeArrayValues(MtpDataPacket& packet, MtpPropertyValue* values, uint32_t length) { argument
556 writeValue(packet, values[i]);
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java57 public ContentValues values; field in class:AsyncQueryHandler.WorkerArgs
96 args.result = resolver.insert(args.uri, args.values);
100 args.result = resolver.update(args.uri, args.values, args.selection,
110 // on top of the event values in arg1.
158 * replaced by the values from selectionArgs, in the order that they
159 * appear in the selection. The values will be bound as Strings.
217 args.values = initialValues;
231 * @param values the ContentValues parameter passed to the update operation.
234 ContentValues values, String selection, String[] selectionArgs) {
243 args.values
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DContentValues.java29 * This class is used to store a set of values that the {@link ContentResolver}
35 /** Holds the actual values */
39 * Creates an empty set of values using the default initial size
48 * Creates an empty set of values using the given initial size
50 * @param size the initial size of the set of values
57 * Creates a set of values copied from the given set
59 * @param from the values to copy
66 * Creates a set of values copied from the given HashMap. This is used
69 * @param values the values t
72 ContentValues(HashMap<String, Object> values) argument
[all...]
H A DSharedPreferences.java27 * to ensure the preference values remain in a consistent state and control
63 * Interface used for modifying values in a {@link SharedPreferences}
84 * Set a set of String values in the preferences editor, to be written
88 * @param values The set of new values for the preference. Passing {@code null}
94 Editor putStringSet(String key, Set<String> values); argument
161 * Mark in the editor to remove <em>all</em> values from the
187 * @return Returns true if the new values were successfully written
232 * Retrieve all values from the preferences.
260 * Retrieve a set of String values fro
[all...]
/frameworks/base/core/java/android/database/
H A DCursorJoiner.java24 * supports the case where the tuple of key column values is unique.
149 * next() are guaranteed to point to the row that was indicated. Reading values
196 * array and saves them in values beginning at startingIndex, skipping a slot
198 * values will be stored in slots 1, 3, and 5.
199 * @param values the String[] to populate
201 * @param columnIndicies the indicies of the values to read from the cursor
202 * @param startingIndex the slot in which to start storing values, and must be either 0 or 1.
204 private static void populateValues(String[] values, Cursor cursor, int[] columnIndicies, argument
208 values[startingIndex + i*2] = cursor.getString(columnIndicies[i]);
235 * Compare the values
242 compareStrings(String... values) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableEnum.java33 * <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) { argument
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 fo
[all...]
/frameworks/base/core/java/android/transition/
H A DTranslationAnimationCreator.java39 * @param values The values containing the view in the view hierarchy.
50 static Animator createAnimation(View view, TransitionValues values, int viewPosX, int viewPosY, argument
54 int[] startPosition = (int[]) values.view.getTag(R.id.transitionPosition);
74 TransitionPositionListener listener = new TransitionPositionListener(view, values.view,
/frameworks/base/core/java/android/widget/
H A DFilter.java166 * implementation returns an empty String for null values or the default
177 * <p>Holds the results of a filtering operation. The results are the values
178 * computed by the filtering operation and the number of these values.</p>
186 * <p>Contains all the values computed by the filtering operation.</p>
188 public Object values; field in class:Filter.FilterResults
191 * <p>Contains the number of values computed by the filtering
205 * @param count the number of values computed by the filter
/frameworks/base/core/jni/
H A Dandroid_animation_PropertyValuesHolder.cpp106 jvalue* values = new jvalue[parameterCount]; local
108 values[i].f = floatValues[i];
110 env->CallVoidMethodA(target, reinterpret_cast<jmethodID>(methodID), values);
111 delete[] values;
133 jvalue* values = new jvalue[parameterCount]; local
135 values[i].i = intValues[i];
137 env->CallVoidMethodA(target, reinterpret_cast<jmethodID>(methodID), values);
138 delete[] values;
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
139 count = db.update("data", values, "_id=" + rowId, null);

Completed in 535 milliseconds

1234567