Searched refs:values (Results 176 - 200 of 807) sorted by relevance

1234567891011>>

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java96 public void set(boolean normalize, int stride, int components, int type, float[] values) { argument
103 if (mLength != values.length){
104 initBuffer(values);
105 mLength = values.length;
107 copyValues(values);
164 GLToolbox.checkGlError("Set vertex-attribute values");
173 private void initBuffer(float[] values) { argument
174 mValues = ByteBuffer.allocateDirect(values.length * FLOAT_SIZE)
178 private void copyValues(float[] values) { argument
179 mValues.put(values)
331 setUniformValue(String uniformName, int[] values) argument
360 setUniformValue(String uniformName, float[] values) argument
773 checkUniformAssignment(ProgramUniform uniform, int values, int components) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProviderOperation.java196 * {@link ContentProviderOperation} to assert a set of values as provided
297 ContentValues values = resolveValueBackReferences(backRefs, numBackRefs);
302 Uri newUri = provider.insert(mUri, values);
313 numRows = provider.update(mUri, values, mSelection, selectionArgs);
315 // Assert that all rows match expected values
317 if (values != null) {
318 // Build projection map from expected values
320 for (Map.Entry<String, Object> entry : values.valueSet()) {
332 final String expectedValue = values.getAsString(projection[i]);
334 // Throw exception when expected values do
588 withValues(ContentValues values) argument
[all...]
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 DContentQueryMap.java54 * @param columnNameOfKey the column that is to be used as the key of the values map
103 // let it query lazily when they ask for the values.
149 // Make a new map so old values returned by getRows() are undisturbed.
153 ContentValues values = new ContentValues();
156 values.put(mColumnNames[i], cursor.getString(i));
159 mValues.put(cursor.getString(mKeyColumn), values);
/frameworks/base/media/java/android/media/
H A DMediaScanner.java845 * Formats the data into a values array suitable for use with the Media
848 * @return a map of values
912 ContentValues values = toValues();
913 String title = values.getAsString(MediaStore.MediaColumns.TITLE);
915 title = MediaFile.getFileTitle(values.getAsString(MediaStore.MediaColumns.DATA));
916 values.put(MediaStore.MediaColumns.TITLE, title);
918 String album = values.getAsString(Audio.Media.ALBUM);
920 album = values.getAsString(MediaStore.MediaColumns.DATA);
934 values.put(Audio.Media.ALBUM, album);
942 // values s
1707 processCachedPlaylist(Cursor fileList, ContentValues values, Uri playlistUri) argument
1737 processM3uPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1769 processPlsPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
1838 processWplPlayList(String path, String playListDirectory, Uri uri, ContentValues values, Cursor fileList) argument
[all...]
H A DMediaMetadataRetriever.java90 String[] values = new String[headers.size()];
93 values[i] = entry.getValue();
101 values);
105 IBinder httpServiceBinder, String uri, String[] keys, String[] values)
344 /* Do not change these option values without updating their counterparts
381 * Do not change these metadata key values without updating their
104 _setDataSource( IBinder httpServiceBinder, String uri, String[] keys, String[] values) argument
/frameworks/native/libs/input/tests/
H A DInputEvent_test.cpp56 ASSERT_EQ(5, coords.values[0]);
67 ASSERT_EQ(5, coords.values[0]);
68 ASSERT_EQ(2, coords.values[1]);
82 ASSERT_EQ(4, coords.values[0]);
83 ASSERT_EQ(5, coords.values[1]);
84 ASSERT_EQ(2, coords.values[2]);
98 ASSERT_EQ(4, coords.values[0]);
99 ASSERT_EQ(5, coords.values[1]);
100 ASSERT_EQ(1, coords.values[2]);
101 ASSERT_EQ(2, coords.values[
[all...]
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp45 * Selects values that match exactly the constraints given.
65 // Select the regular values.
83 // We do not care if the value is claimed, since density values can be
134 // There can be multiple best values if there are multiple preferred densities.
151 // Claim all the values that aren't the best so that they will be removed from the base.
197 entry->values) {
206 // Organize the values into two separate buckets. Those that are
217 entry->values) {
236 // Select the values we want from this entry for this split.
244 // lazily because we might not have actual values fo
[all...]
/frameworks/support/transition/tests/src/android/support/transition/
H A DVisibilityTest.java67 // Capture start values
72 assertThat((float) startValues.values.get(CustomVisibility.PROPNAME_SCALE_X), is(0.5f));
74 // Hide the view and capture end values
142 transitionValues.values.put(PROPNAME_SCALE_X, transitionValues.view.getScaleX());
151 float startScaleX = (float) startValues.values.get(PROPNAME_SCALE_X);
161 float startScaleX = (float) startValues.values.get(PROPNAME_SCALE_X);
177 transitionValues.values.put(PROPNAME_SCALE_X, transitionValues.view.getScaleX());
184 (float) startValues.values.get(PROPNAME_SCALE_X);
194 float startScaleX = (float) startValues.values.get(PROPNAME_SCALE_X);
/frameworks/base/core/java/android/transition/
H A DTransition.java55 * (1) capture property values, and (2) play animations based on changes to
56 * captured property values. A custom transition knows what property values
58 * changes to those values. For example, the {@link Fade} transition tracks
406 * properties on which they based their animations agree with the end values of
407 * the same properties in the new transition. If the end values are not equal,
409 * animation to these new values. If the values are equal, the old animation is
416 * animating views toward potentially different end values.</p>
434 * values tha
2357 TransitionValues values; field in class:Transition.AnimationInfo
2361 AnimationInfo(View view, String name, Transition transition, WindowId windowId, TransitionValues values) argument
[all...]
/frameworks/base/libs/androidfw/tests/
H A DAttributeResolution_test.cpp74 std::array<uint32_t, attrs.size() * STYLE_NUM_ENTRIES> values; local
78 attrs.size(), values.data(), nullptr /*out_indices*/));
82 const uint32_t* values_cursor = values.data();
127 std::array<uint32_t, attrs.size() * STYLE_NUM_ENTRIES> values; local
129 ASSERT_TRUE(RetrieveAttributes(&table_, &xml_parser_, attrs.data(), attrs.size(), values.data(),
132 uint32_t* values_cursor = values.data();
179 std::array<uint32_t, attrs.size() * STYLE_NUM_ENTRIES> values; local
183 attrs.size(), values.data(), indices.data());
187 uint32_t* values_cursor = values.data();
/frameworks/base/core/java/android/util/
H A DIntArray.java100 * Adds the values in the specified array to this array.
102 public void addAll(IntArray values) { argument
103 final int count = values.mSize;
106 System.arraycopy(values.mValues, 0, mValues, mSize, count);
111 * Ensures capacity to append at least <code>count</code> values.
127 * Removes all values from this array.
176 * Returns the number of values in this array.
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DMotionSensorWTime.java17 // Make values from a motion sensor (e.g., accelerometer) available as filter outputs.
53 .addOutputPort("values", Signature.PORT_REQUIRED, FrameType.array(float.class))
81 mValues[0] = event.values[0];
82 mValues[1] = event.values[1];
83 mValues[2] = event.values[2];
89 OutputPort outPort = getConnectedOutputPort("values");
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerProvider.java99 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/opt/vcard/java/com/android/vcard/
H A DVCardUtils.java372 * Escaped characters in those values are automatically unescaped into original form.
413 public static boolean containsOnlyPrintableAscii(final String...values) {
414 if (values == null) {
417 return containsOnlyPrintableAscii(Arrays.asList(values));
420 public static boolean containsOnlyPrintableAscii(final Collection<String> values) { argument
421 if (values == null) {
424 for (final String value : values) {
444 public static boolean containsOnlyNonCrLfPrintableAscii(final String...values) {
445 if (values == null) {
448 return containsOnlyNonCrLfPrintableAscii(Arrays.asList(values));
451 containsOnlyNonCrLfPrintableAscii(final Collection<String> values) argument
494 containsOnlyAlphaDigitHyphen(final Collection<String> values) argument
530 containsOnlyWhiteSpaces(final Collection<String> values) argument
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java276 ContentValues values;
279 values = new ContentValues(initialValues);
281 values = new ContentValues();
284 if (values.containsKey(MainTable.COLUMN_NAME_DATA) == false) {
285 values.put(MainTable.COLUMN_NAME_DATA, "");
290 long rowId = db.insert(MainTable.TABLE_NAME, null, values);
342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs);
444 ContentValues values
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DLoaderThrottleSupport.java276 ContentValues values;
279 values = new ContentValues(initialValues);
281 values = new ContentValues();
284 if (values.containsKey(MainTable.COLUMN_NAME_DATA) == false) {
285 values.put(MainTable.COLUMN_NAME_DATA, "");
290 long rowId = db.insert(MainTable.TABLE_NAME, null, values);
342 public int update(Uri uri, ContentValues values, String where, String[] whereArgs) { argument
350 count = db.update(MainTable.TABLE_NAME, values, where, whereArgs);
358 count = db.update(MainTable.TABLE_NAME, values, finalWhere, whereArgs);
444 ContentValues values
[all...]
/frameworks/support/v14/preference/src/android/support/v14/preference/
H A DMultiSelectListPreferenceDialogFragment.java32 "MultiSelectListPreferenceDialogFragment.values";
122 final Set<String> values = mNewValues;
123 if (preference.callChangeListener(values)) {
124 preference.setValues(values);
/frameworks/support/v7/preference/src/android/support/v7/preference/
H A DMultiSelectListPreferenceDialogFragmentCompat.java32 "MultiSelectListPreferenceDialogFragmentCompat.values";
122 final Set<String> values = mNewValues;
123 if (preference.callChangeListener(values)) {
124 preference.setValues(values);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraErrorCollector.java138 * Check if the two values are equal.
143 * @return {@code true} if the two values are equal, {@code false} otherwise.
162 * Check if the two values are not equal.
167 * @return {@code true} if the two values are not equal, {@code false} otherwise.
180 * Check if the two arrays of values are deeply equal.
183 * @param expected Expected array of values to be checked against.
184 * @param actual Actual array of values to be checked.
185 * @return {@code true} if the two arrays of values are deeply equal, {@code false} otherwise.
204 * Check if the two arrays of values are not deeply equal.
207 * @param expected Expected array of values t
954 expectContains(String reason, T[] values, T expected) argument
961 expectContains(T[] values, T expected) argument
971 IntInMatcher(int[] values) argument
989 expectContains(String reason, int[] values, int expected) argument
997 expectContains(int[] values, int expected) argument
1007 BooleanInMatcher(boolean[] values) argument
1025 expectContains(String reason, boolean[] values, boolean expected) argument
1041 expectContains(boolean[] values, boolean expected) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dbit_cnt.h99 Word16 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream);
/frameworks/base/core/java/android/view/
H A DOrientationListener.java96 public void onSensorChanged(int sensor, float[] values) { argument
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DURLFetcher.java156 * @param headers a map that map the header key to the header values. Can be null.
188 List<String> values = entry.getValue();
189 if (values.size() == 1) {
190 joinedHeaders.put(entry.getKey(), values.get(0));
192 joinedHeaders.put(entry.getKey(), Utils.joinStrings(", ", values));
/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/services/core/java/com/android/server/wm/
H A DRemoteSurfaceTrace.java131 private void writeIntEvent(String tag, int... values) { argument
135 for (int value: values) {
145 private void writeFloatEvent(String tag, float... values) { argument
149 for (float value: values) {

Completed in 929 milliseconds

1234567891011>>