Searched defs:values (Results 76 - 100 of 199) sorted by relevance

12345678

/frameworks/base/core/java/android/content/
H A DIContentProvider.java48 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
H A DSearchRecentSuggestionsProvider.java77 // 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 DLegacySensorManager.java53 // 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 DMultiCheckPreference.java118 * @param entryValues The array to be used as values to save for the preference.
128 * @param entryValuesResId The entry values array as a resource.
134 private void setEntryValuesCS(CharSequence[] values) { argument
136 if (values != null) {
137 mEntryValues = new String[values.length];
138 for (int i=0; i<values.length; i++) {
139 mEntryValues[i] = values[i].toString();
145 * Returns the array of values to be saved for the preference.
147 * @return The array of values.
168 * Sets the current values
170 setValues(boolean[] values) argument
308 boolean[] values; field in class:MultiCheckPreference.SavedState
[all...]
H A DMultiSelectListPreference.java36 * This set will contain one or more values from the
109 * @param entryValues The array to be used as values to save for the preference.
117 * @param entryValuesResId The entry values array as a resource.
124 * Returns the array of values to be saved for the preference.
126 * @return The array of values.
136 * @param values The values to set for the key.
138 public void setValues(Set<String> values) { argument
140 mValues.addAll(values);
142 persistStringSet(values);
252 Set<String> values; field in class:MultiSelectListPreference.SavedState
[all...]
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java590 public final Uri insert(Uri uri, ContentValues values) { argument
611 Uri uri, ContentValues values, String selection, String[] selectionArgs) {
610 update( Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterArguments.java78 * Adds a repeated enum tag with the provided values.
82 public void addEnums(int tag, int... values) { argument
86 for (int value : values) {
109 * Returns all values of the specified repeating enum tag.
117 List<Integer> values = new ArrayList<Integer>();
120 values.add(getEnumTagValue(arg));
123 return values;
185 * Returns all values of the specified repeating unsigned 64-bit long tag.
193 List<BigInteger> values = new ArrayList<BigInteger>();
196 values
[all...]
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java232 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...]
/frameworks/base/core/java/android/util/
H A DArrayMap.java654 * values of both maps are compared. If the values for any key are not
874 * Return a {@link java.util.Collection} for iterating over and interacting with all values
882 public Collection<V> values() { method in class:ArrayMap
/frameworks/base/core/java/com/android/internal/transition/
H A DEpicenterTranslateClipReveal.java38 * EpicenterTranslateClipReveal captures the clip bounds and translation values
105 private void captureValues(TransitionValues values) { argument
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
202 getBestRect(TransitionValues values) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java57 public Uri insert(Uri uri, ContentValues values) {
59 assertEquals(sTestValues1.toString(), values.toString());
70 public Uri insert(Uri uri, ContentValues values) {
72 assertNull(values);
85 public Uri insert(Uri uri, ContentValues values) {
87 assertEquals(sTestValues1.toString(), values.toString());
109 public Uri insert(Uri uri, ContentValues values) {
114 assertEquals(expected.toString(), values.toString());
127 public Uri insert(Uri uri, ContentValues values) {
129 assertEquals(sTestValues1.toString(), values
421 builderSetValues( ContentProviderOperation.Builder builder, ContentValues values) argument
538 insert(Uri uri, ContentValues values) argument
546 update(Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java285 private void assertVertMetrics(Layout l, int topPad, int botPad, int... values) { argument
287 assertLinesMetrics(l, values);
290 private void assertLinesMetrics(Layout l, int... values) { argument
292 if ((values.length & 0x1) != 0) {
293 throw new IllegalArgumentException(String.valueOf(values.length));
296 int lines = values.length >> 1;
301 int a = values[n];
302 int d = values[n+1];
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java142 String[] values = null;
146 values = new String[headers.size()];
151 values[i] = entry.getValue();
160 values);
167 @Nullable String[] values) throws IOException;
163 nativeSetDataSource( @onNull IBinder httpServiceBinder, @NonNull String path, @Nullable String[] keys, @Nullable String[] values) argument
H A DMediaMetadataRetriever.java98 String[] values = new String[headers.size()];
101 values[i] = entry.getValue();
109 values);
113 IBinder httpServiceBinder, String uri, String[] keys, String[] values)
352 /* Do not change these option values without updating their counterparts
389 * Do not change these metadata key values without updating their
112 _setDataSource( IBinder httpServiceBinder, String uri, String[] keys, String[] values) argument
H A DMediaMuxer.java80 /* Do not change these values without updating their counterparts
103 long nativeObject, @NonNull String[] keys, @NonNull Object[] values);
283 Object[] values = null;
287 values = new Object[mapSize];
291 values[i] = entry.getValue();
294 trackIndex = nativeAddTrack(mNativeObject, keys, values);
102 nativeAddTrack( long nativeObject, @NonNull String[] keys, @NonNull Object[] values) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp45 jobjectArray values) {
54 status_t err = ConvertKeyValueArraysToMessage(env, keys, values,
43 android_media_MediaMuxer_addTrack( JNIEnv *env, jclass , jlong nativeObject, jobjectArray keys, jobjectArray values) argument
H A Dandroid_media_Utils.cpp32 JNIEnv *env, jobjectArray keys, jobjectArray values,
37 if (keys != NULL && values != NULL) {
39 failed = (nKeyValuePairs != env->GetArrayLength(values));
43 failed = ((keys != NULL && values == NULL) ||
44 (keys == NULL && values != NULL));
48 ALOGE("keys and values arrays have different length");
57 jstring value = (jstring) env->GetObjectArrayElement(values, i);
281 JNIEnv *env, jobjectArray keys, jobjectArray values,
299 if (values == NULL) {
305 if (numEntries != env->GetArrayLength(values)) {
31 ConvertKeyValueArraysToKeyedVector( JNIEnv *env, jobjectArray keys, jobjectArray values, KeyedVector<String8, String8>* keyedVector) argument
280 ConvertKeyValueArraysToMessage( JNIEnv *env, jobjectArray keys, jobjectArray values, sp<AMessage> *out) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h54 // The shader program will bind these attributes to the correct values, if they
163 // When setting values, the value type must be match the type of the uniform
185 // Set the specified uniform value to the given values. Returns true
187 bool SetUniformValue(ProgramVar var, const int* values, int count);
189 // Set the specified uniform value to the given values. Returns true
191 bool SetUniformValue(ProgramVar var, const float* values, int count);
195 bool SetUniformValue(ProgramVar var, const std::vector<int>& values);
199 bool SetUniformValue(ProgramVar var, const std::vector<float>& values);
202 // to set the value of a uniform variable with the given name. Only values
218 // values mus
419 const void* values; member in struct:android::filterfw::ShaderProgram::VertexAttrib
[all...]
H A Dvalue.cpp54 Value MakePtrValue(const BASE* values, int count) { argument
58 memcpy(result.value, values, sizeof(BASE) * count);
194 Value MakeIntArrayValue(const int* values, int count) { argument
195 return MakePtrValue<int, INT_ARRAY_VALUE_TYPE>(values, count);
198 Value MakeFloatArrayValue(const float* values, int count) { argument
199 return MakePtrValue<float, FLOAT_ARRAY_VALUE_TYPE>(values, count);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DUtil.java128 private static String bitFieldToString(int value, int[] values, String[] names) { argument
131 for (int i = 0; i < values.length; i++) {
132 if ((value & values[i]) != 0) {
136 value &= ~values[i];
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java108 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
110 return MockContentProvider.this.update(url, values, selection, selectionArgs);
199 public Uri insert(Uri uri, ContentValues values) { argument
215 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
223 public int bulkInsert(Uri uri, ContentValues[] values) { argument
H A DMockIContentProvider.java91 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DStochasticLinearRankerWithPrior.java88 public float scoreSample(String[] keys, float[] values) { argument
90 return super.scoreSample(keys, values);
94 return (1 - mAutoAlpha) * super.scoreSample(keys,values) +
95 mAutoAlpha * priorScoreSample(keys,values);
97 return priorScoreSample(keys,values);
99 return (1 - mAlpha) * super.scoreSample(keys,values) +
100 mAlpha * priorScoreSample(keys,values);
104 public float priorScoreSample(String[] keys, float[] values) { argument
108 score = score + mPriorWeights.get(keys[i]) * values[i];
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java504 protected void onProgressUpdate(Void... values) { argument
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceSet.java51 * @param values The values retrieved from the Events table.
53 public RecurrenceSet(ContentValues values) argument
55 String rruleStr = values.getAsString(CalendarContract.Events.RRULE);
56 String rdateStr = values.getAsString(CalendarContract.Events.RDATE);
57 String exruleStr = values.getAsString(CalendarContract.Events.EXRULE);
58 String exdateStr = values.getAsString(CalendarContract.Events.EXDATE);
180 * Populates the database map of values with the appropriate RRULE, RDATE,
181 * EXRULE, and EXDATE values extracted from the parsed iCalendar component.
184 * @param values Th
190 populateContentValues(ICalendar.Component component, ContentValues values) argument
325 populateComponent(ContentValues values, ICalendar.Component component) argument
[all...]

Completed in 5213 milliseconds

12345678