/packages/apps/Dialer/src/com/android/dialer/util/ |
H A D | MoreStrings.java | 24 public static String toSafeString(String value) { argument 25 if (value == null) { 32 for (int i = 0; i < value.length(); i++) { 33 final char c = value.charAt(i);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | Consumer.java | 27 * Consumes a value. 29 * @param value The value to consume. 30 * @return {@code true} if the value was accepted, {@code false} otherwise. 32 boolean consume(A value); argument
|
/packages/apps/Camera2/src/com/android/camera/ui/motion/ |
H A D | UnitCurve.java | 21 * times for a given output value. 26 * Produce a unit value of this curve at time t. The function should always return a valid 27 * return value for any valid t input. 30 * @return the unit value at t. 35 * If possible, find a value for t such that valueAt(t) == value or best guess. 37 * @param value to match to the output of valueAt(t) 38 * @return t where valueAt(t) == value or throw. 40 float tAt(float value); argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | LauncherProviderChangeListener.java | 12 public void onSettingsChanged(String settings, boolean value); argument
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
H A D | ArrayUtils.java | 25 * Checks that value is present as at least one of the elements of the array. 27 * @param value the value to check for 28 * @return true if the value is present in the array 30 public static <T> boolean contains(T[] array, T value) { argument 31 return indexOf(array, value) != -1; 35 * Return first index of {@code value} in {@code array}, or {@code -1} if 38 public static <T> int indexOf(T[] array, T value) { argument 41 if (Objects.equals(array[i], value)) return i;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | ConsumerTrap.java | 22 * A consumer that saves the value that it is given. 30 public boolean consume(A value) { argument 31 mValue = value;
|
/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | FilteredUpdatable.java | 55 private void setNewValue(T value) { argument 57 mUpdatable.update(value); 58 mLatestValue = value;
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | OrderedDataOutputStream.java | 37 public OrderedDataOutputStream writeShort(short value) throws IOException { argument 39 mByteBuffer.putShort(value); 44 public OrderedDataOutputStream writeInt(int value) throws IOException { argument 46 mByteBuffer.putInt(value);
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
H A D | ManagedSwitchPreference.java | 53 // preference from XML. In that case return the default value. 61 // perhaps triggered by a monkey, return default value. 67 public boolean persistBoolean(boolean value) { argument 71 // preference from XML. In that case return false to note the value won't 77 settingsManager.set(SettingsManager.SCOPE_GLOBAL, getKey(), value); 81 // perhaps triggered by a monkey, return false to note the value
|
/packages/apps/Camera2/tests/exiftool_parser/ |
H A D | parser.py | 28 # | | | x) name = value 74 # find the raw value in the parenthesis 75 value = re.search("\(SubDirectory\) -->", s) variable 76 if value: 77 value = "NO_VALUE" variable 79 value = re.search("\(.*\)\n", s) variable 80 if (name != 'Model' and value): 81 value = value.group(0)[1:-2] variable 83 value variable 84 value = value.group(0)[2:-1] variable 86 value = "NO_VALUE" variable [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
H A D | TwoDigitFormatter.java | 35 public String format(int value) { argument 40 mArgs[0] = value; 47 // The original TwoDigitFormatter directly referenced LocaleData's value. Instead,
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | SpinnerOption.java | 22 public final Object value; field in class:SpinnerOption 26 public static void setSpinnerOptionValue(Spinner spinner, Object value) { argument 29 if (so.value.equals(value)) { 36 public SpinnerOption(Object value, String label) { argument 37 this.value = value;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | Entry.java | 38 String value(); method in interface:Entry.Table 44 String value(); method in interface:Entry.Column
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | OrderedDataOutputStream.java | 37 public OrderedDataOutputStream writeShort(short value) throws IOException { argument 39 mByteBuffer.putShort(value); 44 public OrderedDataOutputStream writeInt(int value) throws IOException { argument 46 mByteBuffer.putInt(value);
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | TransitionStore.java | 24 public void put(Object key, Object value) { argument 25 mStorage.put(key, value); 39 T value = (T) mStorage.get(key); 40 return value == null ? valueIfNull : value;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
H A D | ParameterBrightness.java | 23 public ParameterBrightness(int id, int value) { argument 24 super(id, value, 0, 255);
|
H A D | ParameterHue.java | 23 public ParameterHue(int id, int value) { argument 24 super(id, value, 0, 360);
|
H A D | ParameterInteger.java | 30 void setValue(int value); argument
|
H A D | ParameterOpacity.java | 22 public ParameterOpacity(int id, int value) { argument 23 super(id, value, 0, 255);
|
H A D | ParameterSaturation.java | 23 public ParameterSaturation(int id, int value) { argument 24 super(id, value, 0, 100);
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | IdentityCache.java | 37 public Entry(K key, V value, ReferenceQueue<V> queue) { argument 38 super(value, queue); 51 public synchronized V put(K key, V value) { argument 54 key, new Entry<K, V>(key, value, mQueue));
|
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
H A D | OrderedDataOutputStream.java | 37 public OrderedDataOutputStream writeShort(short value) throws IOException { argument 39 mByteBuffer.putShort(value); 44 public OrderedDataOutputStream writeInt(int value) throws IOException { argument 46 mByteBuffer.putInt(value);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | IntArray.java | 25 public void add(int value) { argument 31 mData[mSize++] = value;
|