Searched refs:value (Results 251 - 275 of 913) sorted by relevance

<<11121314151617181920>>

/packages/apps/MusicFX/src/com/android/musicfx/
H A DControlPanelReceiver.java86 final Boolean value = intent.getBooleanExtra("AudioEffect.EXTRA_VALUE", false);
88 ControlPanelEffect.Key.global_enabled, value);
97 final Boolean value = ControlPanelEffect.getParameterBoolean(context, packageName,
100 extras.putBoolean("GLOBAL_ENABLED", value);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DBatteryCellParser.java54 int value = getValue(record);
55 if (value != mLastValue) {
56 mData.put((int) time, value);
57 mLastValue = value;
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowEventLogWriter.java27 @Implements(value = EventLogWriter.class, callThroughByDefault = false)
H A DSettingsShadowSystemProperties.java60 String value = sValues.get(key);
61 return value == null ? def : value;
/packages/apps/TV/src/com/android/tv/util/
H A DMultiLongSparseArray.java49 * Adds a mapping from the specified key to the specified value,
53 public void put(long key, T value) { argument
59 values.add(value);
63 * Removes the value at the specified index.
65 public void remove(long key, T value) { argument
68 values.remove(value);
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DHexDump.java121 * Dump a long value into a StringBuffer.
123 * @param _lbuffer the StringBuffer to dump the value in
124 * @param value the long value to be dumped
125 * @return StringBuffer containing the dumped value.
127 private static StringBuffer dump(StringBuffer _lbuffer, long value) { argument
130 .append(_hexcodes[((int) (value >> _shifts[j])) & 15]);
136 * Dump a byte value into a StringBuffer.
138 * @param _cbuffer the StringBuffer to dump the value in
139 * @param value th
142 dump(StringBuffer _cbuffer, byte value) argument
[all...]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
H A Dheader_read_write_utils.h70 const char *const key, const std::vector<int> &value);
74 const char *const key, const bool value);
78 const char *const key, const int value);
115 const int value);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
H A Dsparse_table.cpp47 bool SparseTable::set(const int id, const uint32_t value) { argument
60 if (!mContentTableBuffer->writeUint(value, mDataSize, getPosInContentTable(id, index))) {
61 AKLOGE("cannot update value %d. pos: %d, tailPos: %d, mDataSize: %d", value,
85 return mContentTableBuffer->writeUint(value, mDataSize, getPosInContentTable(id, index));
H A Dtrie_map.h33 * key is int and value is uint64_t.
44 Result(const uint64_t value, const bool isValid, const int nextLevelBitmapEntryIndex) argument
45 : mValue(value), mIsValid(isValid),
66 IterationResult(const TrieMap *const trieMap, const int key, const uint64_t value, argument
68 : mTrieMap(trieMap), mKey(key), mValue(value),
83 AK_FORCE_INLINE uint64_t value() const { function in class:latinime::TrieMap::TrieMapIterator::IterationResult
193 bool putRoot(const int key, const uint64_t value) { argument
194 return put(key, value, ROOT_BITMAP_ENTRY_INDEX);
197 bool put(const int key, const uint64_t value, const int bitmapEntryIndex);
221 * 2. terminal entry. terminal entry contains hashed key and value o
382 writeTerminalEntry(const uint32_t key, const uint64_t value, const int entryIndex) argument
[all...]
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/
H A Dgeometry_utils_test.cpp41 for (const float value : test_data) {
42 EXPECT_FLOAT_EQ(value * value, GeometryUtils::SQUARE_FLOAT(value));
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DFakeInputStream.java34 final int value;
/packages/apps/Camera2/src/com/android/camera/util/
H A DExifUtil.java140 // Shutter speed value (APEX unit, see Jeita EXIF 2.2 spec Annex C).
154 // Aperture value (APEX unit, see Jeita EXIF 2.2 spec Annex C).
194 private Rational rational(Float value, Long precision) { argument
195 if (value != null && precision != null) {
196 return new Rational((long) (value * precision), precision);
201 private Rational rational(Double value, Long precision) { argument
202 if (value != null && precision != null) {
203 return new Rational((long) (value * precision), precision);
208 private Double log2(Float value) { argument
209 if (value !
215 log2(Double value) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDownloadEntry.java36 @Column(value = "hash_code", indexed = true)
48 @Column(value = "last_access", indexed = true)
51 @Column(value = "last_updated")
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
H A DCondition.java23 final AtomicBoolean value = new AtomicBoolean(false);
30 value.set(condition.isTrue());
41 return value.get();
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DJsonBackedSuggestionExtras.java49 String value = extras.getExtra(column);
50 mExtras.put(column, value == null ? JSONObject.NULL : value);
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
H A DSettingSuggestionsLogWriter.java49 public void action(Context context, int category, int value) { argument
53 public void action(Context context, int category, boolean value) { argument
76 public void count(Context context, String name, int value) { argument
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
H A DUserIconLoader.java68 SparseArray<Drawable> value = new SparseArray<>();
71 value.put(userInfo.id, Utils.getUserIcon(context, um, userInfo));
73 return value;
/packages/apps/Settings/src/com/android/settings/notification/
H A DEmptyTextSettings.java39 TypedValue value = new TypedValue();
40 getContext().getTheme().resolveAttribute(android.R.attr.textAppearanceMedium, value, true);
41 mEmpty.setTextAppearance(value.resourceId);
/packages/apps/Settings/src/com/android/settings/wifi/tether/
H A DWifiTetherSSIDPreferenceController.java70 public boolean isTextValid(String value) { argument
71 return !WifiUtils.isSSIDTooLong(value) && !WifiUtils.isSSIDTooShort(value);
/packages/apps/TV/src/com/android/tv/ui/
H A DViewUtils.java59 int value = (Integer) animation.getAnimatedValue();
60 if (value == 0) {
68 setLayoutHeight(target, value);
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
H A DAnalyticsTimer.java90 final Long value = isDestructive ? mStartTimes.remove(id) : mStartTimes.get(id);
91 if (value == null) {
94 final long time = SystemClock.uptimeMillis() - value;
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
H A DObd2LiveFrameTest.java52 (Integer status, VehiclePropValue value) -> {
54 assertNotNull("OBD2_LIVE_FRAME is supported; should not be null", value);
55 Log.i(TAG, "dump of OBD2_LIVE_FRAME:\n" + value);
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
H A DCarHvacManagerTest.java134 public void onChangeEvent(CarPropertyValue value) {
140 propertyIdReceived.value = propertyId;
141 areaIdReceived.value = area;
148 assertEquals(PROP, propertyIdReceived.value);
149 assertEquals(AREA, areaIdReceived.value);
200 public synchronized void onPropertySet(VehiclePropValue value) { argument
201 mMap.put(value.prop, value);
205 public synchronized VehiclePropValue onPropertyGet(VehiclePropValue value) { argument
206 VehiclePropValue currentValue = mMap.get(value
226 onChangeEvent(final CarPropertyValue value) argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DFingerprint.java116 int value = (toDigit(streamId, idx) << 4) | toDigit(streamId, idx + 1);
117 bytes[byteIdx++] = (byte) (value & 0xff);
182 int value = bytes[idx];
183 sb.append(Integer.toHexString((value >> 4) & 0x0f));
184 sb.append(Integer.toHexString(value& 0x0f));
/packages/apps/Messaging/src/android/support/v7/mms/
H A DDefaultCarrierConfigValuesLoader.java103 public void process(String type, String key, String value) {
106 values.putInt(key, Integer.parseInt(value));
108 values.putBoolean(key, Boolean.parseBoolean(value));
110 values.putString(key, value);
113 Log.w(MmsService.TAG, "Load carrier value from resources: "
114 + "invalid " + key + "," + value + "," + type);

Completed in 1074 milliseconds

<<11121314151617181920>>