Home
last modified time | relevance | path

Searched defs:key (Results 1 – 25 of 154) sorted by relevance

1234567

/packages/apps/Email/tests/src/com/android/email/
DMockSharedPreferences.java42 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/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockSharedPreferences.java40 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/Camera/src/com/android/camera/
DComboPreferences.java75 private static boolean isGlobal(String key) { in isGlobal()
83 public String getString(String key, String defValue) { in getString()
91 public int getInt(String key, int defValue) { in getInt()
99 public long getLong(String key, long defValue) { in getLong()
107 public float getFloat(String key, float defValue) { in getFloat()
115 public boolean getBoolean(String key, boolean defValue) { in getBoolean()
124 public Set<String> getStringSet(String key, Set<String> defValues) { in getStringSet()
128 public boolean contains(String key) { in contains()
161 public Editor remove(String key) { in remove()
167 public Editor putString(String key, String value) { in putString()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DLruCache.java49 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/
DSendingProgressTokenManager.java36 synchronized public static long get(Object key) { in get()
44 synchronized public static void put(Object key, long token) { in put()
51 synchronized public static void remove(Object key) { in remove()
/packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/
DGservicesValue.java33 protected GservicesValue(String key, T defaultValue) { in GservicesValue()
43 protected abstract T retrieve(String key); in retrieve()
52 public static GservicesValue<Boolean> value(String key, boolean defaultValue) { in value()
DGservices.java91 public static String getString(ContentResolver cr, String key, String defValue) { in getString()
127 public static String getString(ContentResolver cr, String key) { in getString()
137 public static int getInt(ContentResolver cr, String key, int defValue) { in getInt()
154 public static long getLong(ContentResolver cr, String key, long defValue) { in getLong()
165 public static boolean getBoolean(ContentResolver cr, String key, boolean defValue) { in getBoolean()
/packages/apps/Email/src/com/android/email/mail/store/imap/
DImapList.java115 /* 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/Gallery/src/com/android/camera/gallery/
DLruCache.java45 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
60 public synchronized V put(K key, V value) { in put()
68 public synchronized V get(K key) { in get()
/packages/apps/Contacts/src/com/android/contacts/util/
DExpirableCache.java173 public CachedValue<V> getCachedValue(K key) { in getCachedValue()
189 public V getPossiblyExpired(K key) { in getPossiblyExpired()
204 public V get(K key) { in get()
217 public void put(K key, V value) { in put()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DIdentityCache.java37 public Entry(K key, V value, ReferenceQueue<V> queue) { in Entry()
51 public synchronized V put(K key, V value) { in put()
58 public synchronized V get(K key) { in get()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
DSettingsUtil.java82 public static String getSettingsString(ContentResolver cr, String key, String defaultValue) { in getSettingsString()
95 public static int getSettingsInt(ContentResolver cr, String key, int defaultValue) { in getSettingsInt()
107 public static float getSettingsFloat(ContentResolver cr, String key, float defaultValue) { in getSettingsFloat()
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityDelta.java571 public boolean containsKey(String key) { in containsKey()
576 public String getAsString(String key) { in getAsString()
586 public byte[] getAsByteArray(String key) { in getAsByteArray()
596 public Long getAsLong(String key) { in getAsLong()
606 public Integer getAsInteger(String key) { in getAsInteger()
610 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger()
620 public boolean isChanged(String key) { in isChanged()
738 public void put(String key, String value) { in put()
743 public void put(String key, byte[] value) { in put()
748 public void put(String key, int value) { in put()
[all …]
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnProfile.java39 final String key; // -1 field in VpnProfile
58 VpnProfile(String key) { in VpnProfile()
62 static VpnProfile decode(String key, byte[] value) { in decode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java68 public void invalidateKey(Key key); in invalidateKey()
230 private boolean callListenerOnPressAndCheckKeyboardLayoutChange(Key key, boolean withSliding) { in callListenerOnPressAndCheckKeyboardLayoutChange()
248 private void callListenerOnCodeInput(Key key, int primaryCode, int[] keyCodes, int x, int y) { in callListenerOnCodeInput()
260 private void callListenerOnTextInput(Key key) { in callListenerOnTextInput()
269 private void callListenerOnRelease(Key key, int primaryCode, boolean withSliding) { in callListenerOnRelease()
312 final Key key = getKey(keyIndex); in isModifierInternal() local
325 final Key key = getKey(mKeyDetector.getKeyIndexAndNearbyCodes(x, y, null)); in isOnShiftKey() local
335 final Key key = getKey(keyIndex); in setReleasedKeyGraphics() local
343 final Key key = getKey(keyIndex); in setPressedKeyGraphics() local
354 private static boolean isKeyPreviewRequired(Key key) { in isKeyPreviewRequired()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarCache.java147 public void writeData(String key, String value) throws CacheException { in writeData()
170 protected void writeDataLocked(SQLiteDatabase db, String key, String value) in writeDataLocked()
200 public String readData(String key) throws CacheException { in readData()
215 protected String readDataLocked(SQLiteDatabase db, String key) throws CacheException { in readDataLocked()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java128 public CharSequence getDescriptionForKey(Context context, Keyboard keyboard, Key key, in getDescriptionForKey()
189 private int getCorrectKeyCode(Keyboard keyboard, Key key) { in getCorrectKeyCode()
218 private CharSequence getDescriptionForKeyCode(Context context, Keyboard keyboard, Key key, in getDescriptionForKeyCode()
/packages/apps/Browser/src/com/android/browser/homepages/
DTemplate.java56 void writeValue(OutputStream stream, String key) throws IOException; in writeValue()
57 ListEntityIterator getListIterator(String key); in getListIterator()
84 public SimpleEntity(String key) { in SimpleEntity()
100 public ListEntity(Context context, String key, String subTemplate) { in ListEntity()
135 public ListEntityIterator getListIterator(String key) { in getListIterator()
154 public ListEntityIterator getListIterator(String key) { in getListIterator()
159 public void writeValue(OutputStream stream, String key) throws IOException { in writeValue()
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
DLruCacheUnitTests.java10 Integer key = Integer.valueOf(1); in testPut() local
18 Integer key = Integer.valueOf(1); in testTracingInUsedObject() local
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java116 String key = getChannelKey(remoteDevice, uuid); in getChannel() local
141 String key = getChannelKey(remoteDevice, uuid); in setChannel() local
150 String key = getChannelKey(remoteDevice, uuid); in removeChannel() local
/packages/apps/Launcher2/src/com/android/launcher2/
DPagedViewIconCache.java121 public void addOutline(Key key, Bitmap b) { in addOutline()
124 public void removeOutline(Key key) { in removeOutline()
130 public Bitmap getOutline(Key key) { in getOutline()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardParams.java138 public void onAddKey(Key key) { in onAddKey()
149 public void addShiftedIcon(Key key, Drawable icon) { in addShiftedIcon()
169 private static int updateHistogramCounter(Map<Integer, Integer> histogram, Integer key) { in updateHistogramCounter() argument
175 private void updateHistogram(Key key) { in updateHistogram()
/packages/apps/VideoEditor/src/com/android/videoeditor/
DBaseAdapterWithImages.java56 public void setKey(K key) { in setKey()
86 public ImageLoaderAsyncTask(K key, Object data) { in ImageLoaderAsyncTask()
174 protected void initiateLoad(K key, Object data, ImageViewHolder<K> viewHolder) { in initiateLoad()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java535 public String getAsString(String key) { in getAsString()
545 public byte[] getAsByteArray(String key) { in getAsByteArray()
555 public Long getAsLong(String key) { in getAsLong()
565 public Integer getAsInteger(String key) { in getAsInteger()
569 public Integer getAsInteger(String key, Integer defaultValue) { in getAsInteger()
656 public void put(String key, String value) { in put()
661 public void put(String key, byte[] value) { in put()
666 public void put(String key, int value) { in put()
/packages/apps/Email/src/com/android/email/activity/setup/
DGeneralPreferences.java71 String key = preference.getKey(); in onPreferenceChange() local
91 String key = preference.getKey(); in onPreferenceTreeClick() local

1234567