HomeSort by relevance Sort by last modified time
    Searched refs:values (Results 226 - 250 of 4337) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/marisa-trie/v0_1_5/tests/
vector-test.cc 18 std::vector<int> values; local
20 values.push_back(std::rand());
32 for (std::size_t i = 0; i < values.size(); ++i) {
33 vec.push_back(values[i]);
34 ASSERT(vec[i] == values[i]);
36 values[i]);
39 ASSERT(vec.size() == values.size());
43 + ((sizeof(int) * values.size())));
46 == values.front());
48 == values.back())
134 marisa_alpha::Vector<marisa_alpha::UInt32> values; local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/power/
power_prefs.cc 109 PowerPolicyController::PrefValues values; local
110 values.ac_screen_dim_delay_ms =
112 values.ac_screen_off_delay_ms =
114 values.ac_screen_lock_delay_ms =
116 values.ac_idle_warning_delay_ms =
118 values.ac_idle_delay_ms =
120 values.battery_screen_dim_delay_ms =
122 values.battery_screen_off_delay_ms =
124 values.battery_screen_lock_delay_ms =
126 values.battery_idle_warning_delay_ms
    [all...]
  /external/chromium_org/chromeos/dbus/
power_policy_controller.cc 64 // delays being used instead. There are no similarly-interpreted values
65 // for the other fields, unfortunately (but the constructor-assigned values
67 // with the pref-assigned values).
144 void PowerPolicyController::ApplyPrefs(const PrefValues& values) {
149 delays->set_screen_dim_ms(values.ac_screen_dim_delay_ms);
150 delays->set_screen_off_ms(values.ac_screen_off_delay_ms);
151 delays->set_screen_lock_ms(values.ac_screen_lock_delay_ms);
152 delays->set_idle_warning_ms(values.ac_idle_warning_delay_ms);
153 delays->set_idle_ms(values.ac_idle_delay_ms);
158 if (values.enable_screen_lock && delays->screen_off_ms() > 0 &
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PostalSplitter.java 41 public void fromValues(ContentValues values) {
42 street = values.getAsString(StructuredPostal.STREET);
43 pobox = values.getAsString(StructuredPostal.POBOX);
44 neighborhood = values.getAsString(StructuredPostal.NEIGHBORHOOD);
45 city = values.getAsString(StructuredPostal.CITY);
46 region = values.getAsString(StructuredPostal.REGION);
47 postcode = values.getAsString(StructuredPostal.POSTCODE);
48 country = values.getAsString(StructuredPostal.COUNTRY);
51 public void toValues(ContentValues values) {
52 values.put(StructuredPostal.STREET, street)
85 final String[] values = new String[] { local
    [all...]
DataRowHandlerForEmail.java 39 ContentValues values) {
40 String email = values.getAsString(Email.DATA);
42 long dataId = super.insert(db, txContext, rawContactId, values);
53 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values,
55 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
59 if (values.containsKey(Email.DATA)) {
63 String address = values.getAsString(Email.DATA);
98 public boolean containsSearchableColumns(ContentValues values) {
99 return values.containsKey(Email.ADDRESS);
DataRowHandlerForNickname.java 41 ContentValues values) {
42 String nickname = values.getAsString(Nickname.NAME);
44 long dataId = super.insert(db, txContext, rawContactId, values);
55 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values,
60 if (!super.update(db, txContext, values, c, callerIsSyncAdapter)) {
64 if (values.containsKey(Nickname.NAME)) {
65 String nickname = values.getAsString(Nickname.NAME);
89 public boolean containsSearchableColumns(ContentValues values) {
90 return values.containsKey(Nickname.NAME);
  /libcore/json/src/main/java/org/json/
JSONArray.java 28 * A dense indexed sequence of values. Values may be any mix of
31 * Values may not be {@link Double#isNaN() NaNs}, {@link Double#isInfinite()
51 private final List<Object> values; field in class:JSONArray
54 * Creates a {@code JSONArray} with no values.
57 values = new ArrayList<Object>();
61 * Creates a new {@code JSONArray} by copying all values from the given
64 * @param copyFrom a collection whose values are of supported types.
65 * Unsupported values are not permitted and will yield an array in an
79 * Creates a new {@code JSONArray} with values from the next array in th
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
WidgetDatabaseHelper.java 151 ContentValues values = new ContentValues(); local
152 values.put(FIELD_APPWIDGET_ID, entry.widgetId);
153 values.put(FIELD_WIDGET_TYPE, entry.type);
154 values.put(FIELD_IMAGE_URI, entry.imageUri);
155 values.put(FIELD_PHOTO_BLOB, entry.imageData);
156 values.put(FIELD_ALBUM_PATH, entry.albumPath);
157 db.insert(TABLE_WIDGETS, null, values);
203 ContentValues values = new ContentValues(); local
204 values.put(FIELD_APPWIDGET_ID, appWidgetId);
205 values.put(FIELD_WIDGET_TYPE, TYPE_SINGLE_PHOTO)
220 ContentValues values = new ContentValues(); local
284 ContentValues values = new ContentValues(); local
    [all...]
  /external/chromium_org/chrome/browser/ui/tabs/
pinned_tab_codec.cc 8 #include "base/values.h"
41 // Adds a DictionaryValue to |values| representing |tab|.
42 static void EncodeTab(const StartupTab& tab, ListValue* values) {
47 values->Append(value.release());
50 // Adds a DictionaryValue to |values| representing the pinned tab at the
54 ListValue* values) {
68 values->Append(value.release());
75 values->Append(value.release());
81 static void EncodePinnedTabs(Browser* browser, ListValue* values) {
84 EncodePinnedTab(tab_model, i, values);
135 ListValue* values = update.Get(); local
    [all...]
  /external/chromium_org/chrome/tools/build/
version.py 37 Returns a dictionary of values to be used for substitution, populating
50 values = dict(
55 fetch_values_from_file(values, file_name)
57 return values
60 def subst_template(contents, values):
62 Returns the template with substituted values from the specified dictionary.
72 for key, val in values.iteritems():
80 def subst_file(file_name, values):
83 values from the specified dictionary.
88 return subst_template(template, values);
169 values = fetch_values(variable_files) variable
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/main/
pixel.c 110 const GLfloat *values)
124 ctx->PixelMaps.StoS.Map[i] = (GLfloat)IROUND(values[i]);
131 ctx->PixelMaps.ItoI.Map[i] = values[i];
138 GLfloat val = CLAMP(values[i], 0.0F, 1.0F);
184 _mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values )
206 GL_FLOAT, INT_MAX, values)) {
210 values = (const GLfloat *) _mesa_map_pbo_source(ctx, &ctx->Unpack, values);
211 if (!values) {
219 store_pixelmap(ctx, map, mapsize, values);
    [all...]
  /external/chromium_org/tools/telemetry/telemetry/page/
page_measurement_results.py 11 self.values = []
14 self.values.append(value)
18 return [value.measurement_name for value in self.values]
21 values = [value for value in self.values
23 assert len(values) <= 1
24 if len(values):
25 return values[0]
35 values = [value for value in self.values
    [all...]
  /external/mesa3d/src/mesa/main/
pixel.c 110 const GLfloat *values)
124 ctx->PixelMaps.StoS.Map[i] = (GLfloat)IROUND(values[i]);
131 ctx->PixelMaps.ItoI.Map[i] = values[i];
138 GLfloat val = CLAMP(values[i], 0.0F, 1.0F);
184 _mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values )
206 GL_FLOAT, INT_MAX, values)) {
210 values = (const GLfloat *) _mesa_map_pbo_source(ctx, &ctx->Unpack, values);
211 if (!values) {
219 store_pixelmap(ctx, map, mapsize, values);
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Storage.java 71 ContentValues values = new ContentValues(9); local
72 values.put(ImageColumns.TITLE, title);
73 values.put(ImageColumns.DISPLAY_NAME, title + ".jpg");
74 values.put(ImageColumns.DATE_TAKEN, date);
75 values.put(ImageColumns.MIME_TYPE, "image/jpeg");
76 values.put(ImageColumns.ORIENTATION, orientation);
77 values.put(ImageColumns.DATA, path);
78 values.put(ImageColumns.SIZE, jpeg.length);
79 values.put(ImageColumns.WIDTH, width);
80 values.put(ImageColumns.HEIGHT, height)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
WordListMetadata.java 74 public static WordListMetadata createFromContentValues(final ContentValues values) {
75 final String id = values.getAsString(MetadataDbHelper.WORDLISTID_COLUMN);
76 final Integer type = values.getAsInteger(MetadataDbHelper.TYPE_COLUMN);
77 final String description = values.getAsString(MetadataDbHelper.DESCRIPTION_COLUMN);
78 final Long lastUpdate = values.getAsLong(MetadataDbHelper.DATE_COLUMN);
79 final Long fileSize = values.getAsLong(MetadataDbHelper.FILESIZE_COLUMN);
80 final String checksum = values.getAsString(MetadataDbHelper.CHECKSUM_COLUMN);
81 final String localFilename = values.getAsString(MetadataDbHelper.LOCAL_FILENAME_COLUMN);
82 final String remoteFilename = values.getAsString(MetadataDbHelper.REMOTE_FILENAME_COLUMN);
83 final Integer version = values.getAsInteger(MetadataDbHelper.VERSION_COLUMN)
    [all...]
  /external/chromium_org/net/cert/
x509_cert_types_win.cc 64 std::vector<std::string>* values[]) {
70 values[oid]->push_back(value);
78 void SetSingle(const std::vector<std::string>& values,
81 LOG_IF(WARNING, values.size() > 1) << "Didn't expect multiple values";
82 if (!values.empty())
83 *single_value = values[0];
113 std::vector<std::string>* values[] = { local
121 DCHECK(arraysize(kOIDs) == arraysize(values));
127 if (!AddTypeValuePair(ava, values))
    [all...]
  /frameworks/av/media/mtp/
MtpDataPacket.h 79 void putAInt8(const int8_t* values, int count);
80 void putAUInt8(const uint8_t* values, int count);
81 void putAInt16(const int16_t* values, int count);
82 void putAUInt16(const uint16_t* values, int count);
83 void putAUInt16(const UInt16List* values);
84 void putAInt32(const int32_t* values, int count);
85 void putAUInt32(const uint32_t* values, int count);
87 void putAInt64(const int64_t* values, int count);
88 void putAUInt64(const uint64_t* values, int count);
  /frameworks/base/core/jni/android/graphics/
Interpolator.cpp 29 float* values = autoValues.ptr(); local
36 scalars[i] = SkFloatToScalar(values[i]);
40 values = autoBlend.ptr();
42 blendStorage[i] = SkFloatToScalar(values[i]);
62 float* values = valueArray ? env->GetFloatArrayElements(valueArray, NULL) : NULL; local
63 result = interp->timeToValues(msec, (SkScalar*)values);
68 values[i] = SkScalarToFloat(*(SkScalar*)&values[i]);
70 env->ReleaseFloatArrayElements(valueArray, values, 0);
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorTestOperations/
VerifyStandardDeviationOperation.java 59 ArrayList<Float> values = new ArrayList<Float>(); local
61 values.add(event.values[i]);
64 double standardDeviation = SensorCtsHelper.getStandardDeviation(values);
66 for(float value : values) {
  /development/tools/findunused/
findunusedtranslations 4 print STDERR "Usage: findunusedtranslations values/strings.xml\n";
6 print STDERR "Will read values/strings.xml and rewrite\n";
7 print STDERR "values-xx/strings.xml and values-xx-rYY/strings.xml\n";
18 unless ($ARGV[0] =~ /^(.*)\/values([^\/]*)\/(.*\.xml)/) {
28 $values = $2;
31 if ($values =~ /^(-mcc[^-]*)*(-mnc[^-]*)*(.*)$/) {
32 $pattern1 = "$prefix/values$1$2-??$3/$suffix";
33 $pattern2 = "$prefix/values$1$2-??-r??$3/$suffix";
35 $pattern1 = "$prefix/values-??$values/$suffix"
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
TestMapEntrySetGenerator.java 24 * Creates map entries using sample keys and sample values.
33 private final SampleElements<V> values; field in class:TestMapEntrySetGenerator
36 SampleElements<K> keys, SampleElements<V> values) {
38 this.values = values;
43 return SampleElements.mapEntries(keys, values);
  /external/lzma/CPP/7zip/Common/
MethodProps.cpp 52 NWindows::NCOM::CPropVariant *values = new NWindows::NCOM::CPropVariant[numProps]; local
60 NWindows::NCOM::CPropVariant &value = values[i];
71 res = setCoderProperties->SetCoderProperties(&propIDs.Front(), values, numProps);
75 delete []values;
78 delete []values;
  /frameworks/base/core/java/android/widget/
CursorFilter.java 54 results.values = cursor;
57 results.values = null;
66 if (results.values != null && results.values != oldCursor) {
67 mClient.changeCursor((Cursor) results.values);
  /frameworks/support/v4/java/android/support/v4/widget/
CursorFilter.java 55 results.values = cursor;
58 results.values = null;
67 if (results.values != null && results.values != oldCursor) {
68 mClient.changeCursor((Cursor) results.values);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
ElementTypeTest.java 56 * @tests java.lang.annotation.ElementType#values()
60 ElementType[] values = ElementType.values(); local
61 assertTrue(values.length > 1);
62 Arrays.sort(values);
63 assertTrue(Arrays.binarySearch(values, ElementType.METHOD) >= 0);

Completed in 1055 milliseconds

1 2 3 4 5 6 7 8 91011>>