HomeSort by relevance Sort by last modified time
    Searched refs:values (Results 126 - 150 of 5587) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/hamcrest/src/org/hamcrest/
Description.java 27 * Appends a list of values to the description.
30 T... values);
33 * Appends a list of values to the description.
36 Iterable<T> values);
43 Iterable<? extends SelfDescribing> values);
  /frameworks/base/core/java/android/transition/
ChangeClipBounds.java 53 private void captureValues(TransitionValues values) {
54 View view = values.view;
60 values.values.put(PROPNAME_CLIP, clip);
63 values.values.put(PROPNAME_BOUNDS, bounds);
81 || !startValues.values.containsKey(PROPNAME_CLIP)
82 || !endValues.values.containsKey(PROPNAME_CLIP)) {
85 Rect start = (Rect) startValues.values.get(PROPNAME_CLIP);
86 Rect end = (Rect) endValues.values.get(PROPNAME_CLIP)
    [all...]
  /frameworks/ml/bordeaux/learning/multiclass_pa/jni/
jni_multiclass_pa.cpp 26 void CreateIndexValuePairs(const int* indices, const float* values,
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_len, &inputs)
    [all...]
  /libcore/luni/src/main/java/java/io/
SerializationHandleMap.java 29 private int[] values; field in class:SerializationHandleMap
46 int[] oldValues = values;
49 this.values = new int[newSize];
57 values[index] = value;
65 return values[index];
109 values[index] = -1;
113 int result = values[index];
114 values[index] = _value;
136 result = values[index];
157 values[index] = values[next]
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
CallLogQueryTestUtils.java 26 * Helper class to create test values for {@link CallLogQuery}.
30 Object[] values = new Object[]{ local
34 assertEquals(CallLogQuery._PROJECTION.length, values.length);
35 return values;
  /packages/apps/Launcher3/src/com/android/launcher3/
ItemInfo.java 156 * @param values
159 void onAddToDatabase(Context context, ContentValues values) {
160 values.put(LauncherSettings.BaseLauncherColumns.ITEM_TYPE, itemType);
161 values.put(LauncherSettings.Favorites.CONTAINER, container);
162 values.put(LauncherSettings.Favorites.SCREEN, screenId);
163 values.put(LauncherSettings.Favorites.CELLX, cellX);
164 values.put(LauncherSettings.Favorites.CELLY, cellY);
165 values.put(LauncherSettings.Favorites.SPANX, spanX);
166 values.put(LauncherSettings.Favorites.SPANY, spanY);
167 values.put(LauncherSettings.Favorites.RANK, rank)
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/
Variance.java 27 * Computes the variance of the available values. By default, the unbiased
44 * full array of values in memory to execute a two-pass algorithm.
48 * Note that adding values using <code>increment</code> or
51 * <code>evaluate</code> with the full array of values. The former approach
52 * should only be used when the full array of values is not available.</p>
149 * <p>If all values are available, it is more accurate to use
150 * {@link #evaluate(double[])} rather than adding values one at a time
153 * list of values together to execute a two-pass algorithm.
210 * @param values the input array
211 * @return the variance of the values or Double.NaN if length =
    [all...]
  /packages/apps/Browser/tests/src/com/android/browser/tests/utils/
BP2TestCaseHelper.java 126 Uri mockInsert(Uri uri, ContentValues values) {
128 Uri ret = getMockContentResolver().insert(uri, values);
133 int mockUpdate(Uri uri, ContentValues values, String where,
136 int ret = getMockContentResolver().update(uri, values, where, selectionArgs);
147 ContentValues values = new ContentValues(); local
148 values.put(BrowserContract.Bookmarks.TITLE, title);
149 values.put(BrowserContract.Bookmarks.URL, url);
150 values.put(BrowserContract.Bookmarks.IS_FOLDER, 0);
151 return insertBookmark(values);
154 public Uri insertBookmark(ContentValues values) {
163 ContentValues values = new ContentValues(); local
184 ContentValues values = new ContentValues(); local
195 ContentValues values = new ContentValues(); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_GenresTest.java 64 ContentValues values = new ContentValues(); local
65 values.put(Genres.NAME, "POP");
66 Uri uri = mContentResolver.insert(Genres.EXTERNAL_CONTENT_URI, values);
79 values.clear();
80 values.put(Genres.NAME, "ROCK");
81 assertEquals(1, mContentResolver.update(uri, values, null, null));
93 ContentValues values = new ContentValues(); local
94 values.put(Genres.NAME, "POP");
95 Uri uri = mContentResolver.insert(Genres.INTERNAL_CONTENT_URI, values);
101 ContentValues values = Audio1.getInstance().getContentValues(true) local
    [all...]
MediaStore_Video_MediaTest.java 81 ContentValues values = new ContentValues(); local
82 values.put(Media.ALBUM, "cts");
83 values.put(Media.ARTIST, "cts team");
84 values.put(Media.CATEGORY, "test");
86 values.put(Media.DATE_TAKEN, dateTaken);
87 values.put(Media.DESCRIPTION, "This is a video");
88 values.put(Media.DURATION, 8480);
89 values.put(Media.LANGUAGE, "en");
90 values.put(Media.LATITUDE, 40.689060d);
91 values.put(Media.LONGITUDE, -74.044636d)
233 ContentValues values = new ContentValues(); local
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
ArrayData.java 38 /** {@code non-null;} initial values to be filled into an array */
39 private final ArrayList<Constant> values; field in class:ArrayData
57 * @param values {@code non-null;} initial values to be filled into an array
60 ArrayList<Constant> values,
68 if (values == null) {
69 throw new NullPointerException("values == null");
72 int sz = values.size();
75 throw new IllegalArgumentException("Illegal number of init values");
96 this.values = values
    [all...]
  /dalvik/dx/src/com/android/dx/dex/code/
ArrayData.java 40 /** {@code non-null;} initial values to be filled into an array */
41 private final ArrayList<Constant> values; field in class:ArrayData
59 * @param values {@code non-null;} initial values to be filled into an array
62 ArrayList<Constant> values,
70 if (values == null) {
71 throw new NullPointerException("values == null");
74 int sz = values.size();
77 throw new IllegalArgumentException("Illegal number of init values");
98 this.values = values
    [all...]
  /developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
ProvisioningValuesLoader.java 38 * Loads default values for NFC provisioning.
40 * This loader first tries to load values from a config file in SD card. Then it fills in missing
41 * values using constants and settings on the programming device.
56 HashMap<String, String> values = new HashMap<>(); local
57 loadFromDisk(values);
58 loadSystemValues(values);
59 return values;
63 public void deliverResult(Map<String, String> values) {
67 mValues = values;
68 super.deliverResult(values);
    [all...]
  /developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
ProvisioningValuesLoader.java 38 * Loads default values for NFC provisioning.
40 * This loader first tries to load values from a config file in SD card. Then it fills in missing
41 * values using constants and settings on the programming device.
56 HashMap<String, String> values = new HashMap<>(); local
57 loadFromDisk(values);
58 loadSystemValues(values);
59 return values;
63 public void deliverResult(Map<String, String> values) {
67 mValues = values;
68 super.deliverResult(values);
    [all...]
  /development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
ProvisioningValuesLoader.java 38 * Loads default values for NFC provisioning.
40 * This loader first tries to load values from a config file in SD card. Then it fills in missing
41 * values using constants and settings on the programming device.
56 HashMap<String, String> values = new HashMap<>(); local
57 loadFromDisk(values);
58 loadSystemValues(values);
59 return values;
63 public void deliverResult(Map<String, String> values) {
67 mValues = values;
68 super.deliverResult(values);
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/code/
ArrayData.java 38 /** {@code non-null;} initial values to be filled into an array */
39 private final ArrayList<Constant> values; field in class:ArrayData
57 * @param values {@code non-null;} initial values to be filled into an array
60 ArrayList<Constant> values,
68 if (values == null) {
69 throw new NullPointerException("values == null");
72 int sz = values.size();
75 throw new IllegalArgumentException("Illegal number of init values");
96 this.values = values
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DataUtil.java 40 public static void update(ContentResolver resolver, long dataId, ContentValues values) {
42 resolver.update(uri, values, null, null);
46 ContentValues values) {
47 values.put(ContactsContract.Data.RAW_CONTACT_ID, rawContactId);
48 values.put(ContactsContract.Data.MIMETYPE,
50 Uri resultUri = resolver.insert(ContactsContract.Data.CONTENT_URI, values);
70 ContentValues values = new ContentValues(); local
84 values.put(StructuredName.DISPLAY_NAME, sb.toString());
85 values.put(StructuredName.GIVEN_NAME, givenName);
86 values.put(StructuredName.FAMILY_NAME, familyName)
102 ContentValues values = new ContentValues(); local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowContentValues.java 40 private HashMap<String, Object> values = new HashMap<String, Object>(); field in class:ShadowContentValues
43 values = new HashMap<String, Object>(shadowOf(from).values);
48 values.put(key, value);
53 values.putAll(shadowOf(other).values);
58 values.put(key, value);
63 values.put(key, value);
68 values.put(key, value);
73 values.put(key, value)
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java 261 int[] values = {0, 0, 0, SmsConstants.ENCODING_7BIT, 0, 0}; local
279 values[0] = sTestMsgCounts[i];
280 values[1] = len;
281 values[2] = sSeptetUnitsRemaining[i];
283 callGsmLengthMethods(testStr, false, values);
284 callGsmLengthMethods(testStr, true, values);
285 callCdmaLengthMethods(testStr, false, values);
286 callCdmaLengthMethods(testStr, true, values);
293 int[] values = {0, 0, 0, SmsConstants.ENCODING_16BIT, 0, 0}; local
313 values[0] = sTestMsgCounts[i]
555 int[] values = android.telephony.gsm.SmsMessage.calculateLength(msgBody, use7bitOnly); local
585 int[] values = android.telephony.SmsMessage.calculateLength(msgBody, use7bitOnly); local
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GroupsTest.java 162 ContentValues values = new ContentValues(); local
163 values.put(Groups.NOTES, "New notes");
164 mResolver.update(updateUri, values, null, null);
173 ContentValues values = new ContentValues(); local
174 values.put(Groups.DIRTY, 0);
175 values.put(Groups.NOTES, "other notes");
176 assertEquals(1, mResolver.update(uri, values, null, null));
209 ContentValues values = new ContentValues(); local
210 values.put(Groups.TITLE, "title2");
211 mResolver.update(uri, values, null, null)
253 final ContentValues values = new ContentValues(); local
302 final ContentValues values = new ContentValues(); local
315 final ContentValues values = new ContentValues(); local
345 final ContentValues values = new ContentValues(); local
    [all...]
  /packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
ContactsUtilsTests.java 82 final ContentValues values = new ContentValues(); local
83 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE);
84 values.put(Im.TYPE, Im.TYPE_HOME);
85 values.put(Im.PROTOCOL, Im.PROTOCOL_CUSTOM);
86 values.put(Im.CUSTOM_PROTOCOL, TEST_PROTOCOL);
87 values.put(Im.DATA, TEST_ADDRESS);
88 final ImDataItem im = (ImDataItem) DataItem.createFrom(values);
105 final ContentValues values = new ContentValues(); local
106 values.put(Im.MIMETYPE, Im.CONTENT_ITEM_TYPE);
107 values.put(Im.TYPE, Im.TYPE_HOME)
123 final ContentValues values = new ContentValues(); local
144 final ContentValues values = new ContentValues(); local
169 final ContentValues values = new ContentValues(); local
    [all...]
  /external/ceres-solver/include/ceres/
crs_matrix.h 49 // rows, cols and values.
52 // values array. For each row i:
57 // values[rows[i]] .. values[rows[i + 1] - 1] are the values of the
60 // cols and values contain as many entries as there are non-zeros in
75 // values = [10, 4, 2, -3, 2, 1, 2]
79 vector<double> values; member in struct:ceres::CRSMatrix
  /external/clang/test/CodeGenCXX/
variadic-templates.cpp 15 int values[sizeof...(T)+1] = { T::value... }; local
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultimapReplaceValuesTester.java 52 List<V> values = Arrays.asList(sampleValues().e0, null, sampleValues().e3); local
53 multimap().replaceValues(key, values);
54 assertGet(key, values);
62 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
63 multimap().replaceValues(key, values);
64 assertGet(key, values);
72 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
73 multimap().replaceValues(key, values);
74 assertGet(key, values);
75 assertEquals(size + values.size(), multimap().size())
84 List<V> values = Collections.emptyList(); local
95 List<V> values = Arrays.asList( local
111 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
129 List<V> values = Arrays.asList(sampleValues().e0, sampleValues().e2, sampleValues().e3); local
138 List<V> values = Collections.singletonList(sampleValues().e3); local
140 multimap().replaceValues(sampleKeys().e0, values); local
149 List<V> values = Collections.singletonList(sampleValues().e3); local
151 multimap().replaceValues(sampleKeys().e0, values); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
StandardSystemPropertyTest.java 29 for (StandardSystemProperty property : StandardSystemProperty.values()) {
37 for (StandardSystemProperty property : StandardSystemProperty.values()) {
43 for (StandardSystemProperty property : StandardSystemProperty.values()) {
49 for (StandardSystemProperty property : StandardSystemProperty.values()) {

Completed in 334 milliseconds

1 2 3 4 56 7 8 91011>>