/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | MockSharedPreferences.java | 40 public boolean contains(String key) { in contains() 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 55 public float getFloat(String key, float defValue) { in getFloat() 62 public int getInt(String key, int defValue) { in getInt() 69 public long getLong(String key, long defValue) { in getLong() 76 public String getString(String key, String defValue) { in getString() 83 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet() 100 public Editor putBoolean(String key, boolean value) { in putBoolean() 105 public Editor putFloat(String key, float value) { in putFloat() 110 public Editor putInt(String key, int value) { in putInt() [all …]
|
/packages/apps/Email/tests/src/com/android/email/ |
D | MockSharedPreferences.java | 42 public boolean contains(String key) { in contains() 50 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 57 public float getFloat(String key, float defValue) { in getFloat() 64 public int getInt(String key, int defValue) { in getInt() 71 public long getLong(String key, long defValue) { in getLong() 78 public String getString(String key, String defValue) { in getString() 85 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet() 102 public Editor putBoolean(String key, boolean value) { in putBoolean() 107 public Editor putFloat(String key, float value) { in putFloat() 112 public Editor putInt(String key, int value) { in putInt() [all …]
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | MockSharedPreferences.java | 40 public boolean contains(String key) { in contains() 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 55 public float getFloat(String key, float defValue) { in getFloat() 62 public int getInt(String key, int defValue) { in getInt() 69 public long getLong(String key, long defValue) { in getLong() 76 public String getString(String key, String defValue) { in getString() 83 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet() 100 public Editor putBoolean(String key, boolean value) { in putBoolean() 105 public Editor putFloat(String key, float value) { in putFloat() 110 public Editor putInt(String key, int value) { in putInt() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | FakeSharedPreferences.java | 38 public boolean contains(String key) { in contains() 48 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 56 public float getFloat(String key, float defValue) { in getFloat() 64 public int getInt(String key, int defValue) { in getInt() 72 public long getLong(String key, long defValue) { in getLong() 80 public String getString(String key, String defValue) { in getString() 88 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet() 108 public Editor putBoolean(String key, boolean value) { in putBoolean() 114 public Editor putFloat(String key, float value) { in putFloat() 120 public Editor putInt(String key, int value) { in putInt() [all …]
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 75 private static boolean isGlobal(String key) { in isGlobal() 84 public String getString(String key, String defValue) { in getString() 92 public int getInt(String key, int defValue) { in getInt() 100 public long getLong(String key, long defValue) { in getLong() 108 public float getFloat(String key, float defValue) { in getFloat() 116 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 125 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet() 129 public boolean contains(String key) { in contains() 162 public Editor remove(String key) { in remove() 168 public Editor putString(String key, String value) { in putString() [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | ComboPreferences.java | 78 Map<String, ?> m, String key, SharedPreferences src) { in movePrefFrom() argument 142 private static boolean isGlobal(String key) { in isGlobal() 154 public String getString(String key, String defValue) { in getString() 163 public int getInt(String key, int defValue) { in getInt() 172 public long getLong(String key, long defValue) { in getLong() 181 public float getFloat(String key, float defValue) { in getFloat() 190 public boolean getBoolean(String key, boolean defValue) { in getBoolean() 200 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet() 205 public boolean contains(String key) { in contains() 242 public Editor remove(String key) { in remove() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | KeyboardAccessibilityDelegate.java | 88 protected final void setLastHoverKey(final Key key) { in setLastHoverKey() 197 final Key key = getHoverKeyOf(event); in onHoverEnter() local 214 final Key key = getHoverKeyOf(event); in onHoverMove() local 242 final Key key = getHoverKeyOf(event); in onHoverExit() local 257 public void performClickOn(final Key key) { in performClickOn() 271 private void simulateTouchEvent(final int touchAction, final Key key) { in simulateTouchEvent() 286 protected void onHoverEnterTo(final Key key) { in onHoverEnterTo() 302 protected void onHoverMoveWithin(final Key key) { } in onHoverMoveWithin() 309 protected void onHoverExitFrom(final Key key) { in onHoverExitFrom() 324 public void performLongClickOn(final Key key) { in performLongClickOn()
|
D | KeyboardAccessibilityNodeProvider.java | 114 private int getVirtualViewIdOf(final Key key) { in getVirtualViewIdOf() 138 public AccessibilityEvent createAccessibilityEvent(final Key key, final int eventType) { in createAccessibilityEvent() 151 public void onHoverEnterTo(final Key key) { in onHoverEnterTo() 165 public void onHoverExitFrom(final Key key) { in onHoverExitFrom() 211 final Key key = sortedKeys.get(index); in createAccessibilityNodeInfo() local 222 final Key key = getKeyOf(virtualViewId); in createAccessibilityNodeInfo() local 267 final Key key = getKeyOf(virtualViewId); in performAction() local 281 boolean performActionForKey(final Key key, final int action) { in performActionForKey() 312 void sendAccessibilityEventForKey(final Key key, final int eventType) { in sendAccessibilityEventForKey() 323 private String getKeyDescription(final Key key) { in getKeyDescription()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | AbstractLayoutBase.java | 29 public static ExpectedKey key(final String label, final ExpectedKey ... moreKeys) { in key() method in AbstractLayoutBase 34 public static ExpectedKey key(final String label, final String outputText, in key() method in AbstractLayoutBase 40 public static ExpectedKey key(final String label, final int code, in key() method in AbstractLayoutBase 46 public static ExpectedKey key(final int iconId, final String outputText, in key() method in AbstractLayoutBase 52 public static ExpectedKey key(final int iconId, final int code, in key() method in AbstractLayoutBase 58 public static ExpectedKey key(final ExpectedKey key, final ExpectedKey ... moreKeys) { in key() method in AbstractLayoutBase
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | TransitionStore.java | 24 public void put(Object key, Object value) { in put() 28 public <T> void putIfNotPresent(Object key, T valueIfNull) { in putIfNotPresent() 33 public <T> T get(Object key) { in get() 38 public <T> T get(Object key, T valueIfNull) { in get()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
D | SparseIntArray.java | 38 public void put(final int key, final int value) { in put() 42 public int get(final int key) { in get() 46 public int get(final int key, final int valueIfKeyNotFound) { in get() 50 public int indexOfKey(final int key) { in indexOfKey()
|
D | SparseArray.java | 44 public void put(final int key, final E value) { in put() 55 public E get(final int key) { in get() 59 public E get(final int key, final E valueIfKeyNotFound) { in get() 67 public int indexOfKey(final int key) { in indexOfKey()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | SparseLongArray.java | 68 public long get(int key) { in get() 76 public long get(int key, long valueIfKeyNotFound) { in get() 89 public void delete(int key) { in delete() 111 public void put(int key, long value) { in put() 165 public int indexOfKey(int key) { in indexOfKey() 196 public void append(int key, long value) { in append() 225 private static int binarySearch(int[] a, int start, int len, long key) { in binarySearch()
|
D | ObservableSparseArrayCompat.java | 45 public void append(final int key, final E value) { in append() 57 public void delete(final int key) { in delete() 63 public void put(final int key, final E value) { in put() 69 public void remove(final int key) { in remove()
|
D | DequeMap.java | 42 public void add(K key, V item) { in add() 60 public V poll(K key) { in poll() 77 public V peek(K key) { in peek()
|
D | LruCache.java | 60 public synchronized V getElement(K key) { in getElement() 69 public synchronized void putElement(K key, V value) { in putElement() 79 public synchronized V removeElement(K key) { in removeElement()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ImportantNoticeUtilsTests.java | 47 private Integer getInt(final String key) { in getInt() 54 public Long getLong(final String key) { in getLong() 61 private void putInt(final String key, final Integer value) { in putInt() 69 private void putLong(final String key, final Long value) { in putLong() 77 private void removePreference(final String key) { in removePreference()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/ |
D | suggest_options.h | 45 AK_FORCE_INLINE bool getAdditionalFeaturesBoolOption(const int key) const { in getAdditionalFeaturesBoolOption() 65 AK_FORCE_INLINE bool isValidKey(const int key) const { in isValidKey() 69 AK_FORCE_INLINE bool getBoolOption(const int key) const { in getBoolOption() 76 AK_FORCE_INLINE int getIntOption(const int key) const { in getIntOption()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyPreviewChoreographer.java | 52 public KeyPreviewView getKeyPreviewView(final Key key, final ViewGroup placerView) { in getKeyPreviewView() 68 public boolean isShowingKeyPreview(final Key key) { in isShowingKeyPreview() 78 public void dismissKeyPreview(final Key key, final boolean withAnimation) { in dismissKeyPreview() 104 public void placeAndShowKeyPreview(final Key key, final KeyboardIconsSet iconsSet, in placeAndShowKeyPreview() 113 private void placeKeyPreview(final Key key, final KeyPreviewView keyPreviewView, in placeKeyPreview() 151 private void showKeyPreview(final Key key, final KeyPreviewView keyPreviewView, in showKeyPreview() 168 public Animator createShowUpAnimator(final Key key, final KeyPreviewView keyPreviewView) { in createShowUpAnimator() 179 private Animator createDismissAnimator(final Key key, final KeyPreviewView keyPreviewView) { in createDismissAnimator()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | ValuesDelta.java | 86 public boolean containsKey(String key) { in containsKey() 91 public String getAsString(String key) { in getAsString() 101 public byte[] getAsByteArray(String key) { in getAsByteArray() 111 public Long getAsLong(String key) { in getAsLong() 121 public Integer getAsInteger(String key) { in getAsInteger() 125 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger() 135 public boolean isChanged(String key) { in isChanged() 253 public void put(String key, String value) { in put() 258 public void put(String key, byte[] value) { in put() 263 public void put(String key, int value) { in put() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | LruCache.java | 49 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry() 64 public synchronized boolean containsKey(K key) { in containsKey() 69 public synchronized V put(K key, V value) { in put() 77 public synchronized V get(K key) { in get()
|
/packages/apps/Mms/src/com/android/mms/util/ |
D | SendingProgressTokenManager.java | 38 synchronized public static long get(Object key) { in get() 46 synchronized public static void put(Object key, long token) { in put() 53 synchronized public static void remove(Object key) { in remove()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/header/ |
D | header_read_write_utils.cpp | 80 std::vector<int> key; in fetchAllHeaderAttributes() local 145 AttributeMap *const headerAttributes, const char *const key, const std::vector<int> value) { in setCodePointVectorAttribute() 152 const char *const key, const bool value) { in setBoolAttribute() 157 const char *const key, const int value) { in setIntAttribute() 164 const AttributeMap::key_type *const key, const int value) { in setIntAttributeInner() 173 const AttributeMap *const headerAttributes, const char *const key) { in readCodePointVectorAttributeValue() 185 const AttributeMap *const headerAttributes, const char *const key, in readBoolAttributeValue() 193 const AttributeMap *const headerAttributes, const char *const key, in readIntAttributeValue() 201 const AttributeMap *const headerAttributes, const AttributeMap::key_type *const key, in readIntAttributeValueInner()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
D | ImapList.java | 115 /* package */ final ImapElement getKeyedElementOrNull(String key, boolean prefixMatch) { in getKeyedElementOrNull() 128 public final ImapList getKeyedListOrEmpty(String key) { in getKeyedListOrEmpty() 136 public final ImapList getKeyedListOrEmpty(String key, boolean prefixMatch) { in getKeyedListOrEmpty() 145 public final ImapString getKeyedStringOrEmpty(String key) { in getKeyedStringOrEmpty() 153 public final ImapString getKeyedStringOrEmpty(String key, boolean prefixMatch) { in getKeyedStringOrEmpty()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | DefaultsStore.java | 70 public void storeDefaults(String key, String defaultValue, String[] possibleValues) { in storeDefaults() 79 public String getDefaultValue(String key) { in getDefaultValue() 91 public String[] getPossibleValues(String key) { in getPossibleValues()
|