/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | ControlPanelReceiver.java | 86 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 D | BatteryCellParser.java | 54 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 D | ShadowEventLogWriter.java | 27 @Implements(value = EventLogWriter.class, callThroughByDefault = false)
|
H A D | SettingsShadowSystemProperties.java | 60 String value = sValues.get(key); 61 return value == null ? def : value;
|
/packages/apps/TV/src/com/android/tv/util/ |
H A D | MultiLongSparseArray.java | 49 * 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 D | HexDump.java | 121 * 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 D | header_read_write_utils.h | 70 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 D | sparse_table.cpp | 47 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 D | trie_map.h | 33 * 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 D | geometry_utils_test.cpp | 41 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 D | FakeInputStream.java | 34 final int value;
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | ExifUtil.java | 140 // 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 D | DownloadEntry.java | 36 @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 D | Condition.java | 23 final AtomicBoolean value = new AtomicBoolean(false); 30 value.set(condition.isTrue()); 41 return value.get();
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | JsonBackedSuggestionExtras.java | 49 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 D | SettingSuggestionsLogWriter.java | 49 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 D | UserIconLoader.java | 68 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 D | EmptyTextSettings.java | 39 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 D | WifiTetherSSIDPreferenceController.java | 70 public boolean isTextValid(String value) { argument 71 return !WifiUtils.isSSIDTooLong(value) && !WifiUtils.isSSIDTooShort(value);
|
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | ViewUtils.java | 59 int value = (Integer) animation.getAnimatedValue(); 60 if (value == 0) { 68 setLayoutHeight(target, value);
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
H A D | AnalyticsTimer.java | 90 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 D | Obd2LiveFrameTest.java | 52 (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 D | CarHvacManagerTest.java | 134 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 D | Fingerprint.java | 116 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 D | DefaultCarrierConfigValuesLoader.java | 103 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);
|