/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardParams.java | 138 public void onAddKey(Key key) { argument 139 mKeys.add(key); 140 updateHistogram(key); 141 if (key.mCode == Keyboard.CODE_SHIFT) { 142 mShiftKeys.add(key); 143 if (key.isSticky()) { 144 mShiftLockKeys.add(key); 149 public void addShiftedIcon(Key key, Drawable icon) { argument 150 mUnshiftedIcons.put(key, key 169 updateHistogramCounter(Map<Integer, Integer> histogram, Integer key) argument 175 updateHistogram(Key key) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | MoreSuggestions.java | 156 public void markAsEdgeKey(Key key, int pos) { argument 159 key.markAsBottomEdge(this); 161 key.markAsTopEdge(this); 166 key.markAsLeftEdge(this); 168 key.markAsRightEdge(this); 211 final Key key = new Key( 214 params.markAsEdgeKey(key, pos); 215 params.onAddKey(key);
|
H A D | SubtypeSwitcher.java | 532 public boolean currentSubtypeContainsExtraValueKey(String key) { argument 534 return null != mCurrentSubtype ? mCurrentSubtype.containsExtraValueKey(key) : false; 537 public String getCurrentSubtypeExtraValueOf(String key) { argument 539 return null != mCurrentSubtype ? mCurrentSubtype.getExtraValueOf(key) : null;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
H A D | OpenWnnEngineEN.java | 198 * Set search key for the dictionary. 201 * input string to the search key. And hold the input string's 206 * @return {@code true} if the search key is set; {@code false} if not. 289 public int searchWords(String key) { argument
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | SymbolList.java | 61 /** The name of XML tag key */ 207 public int searchWords(String key) {return 0;} argument
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarCache.java | 29 * Class for managing a persistent Cache of (key, value) pairs. The persistent storage used is 48 public static final String COLUMN_NAME_KEY = "key"; 62 * This exception is thrown when the cache encounter a null key or a null database reference 141 * Write a (key, value) pair in the Cache. 143 * @param key the key (must not be null) 145 * @throws CacheException when key is null 147 public void writeData(String key, String value) throws CacheException { argument 151 writeDataLocked(db, key, value); 154 Log.i(TAG, "Wrote (key, valu 170 writeDataLocked(SQLiteDatabase db, String key, String value) argument 200 readData(String key) argument 215 readDataLocked(SQLiteDatabase db, String key) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapService.java | 86 * Intent indicating obex session key input complete by user which is sent 92 * Intent indicating user canceled obex authentication session key input 105 * Intent Extra name indicating session key which is sent from 483 private void notifyAuthKeyInput(final String key) { argument 485 if (key != null) { 486 mAuth.setSessionKey(key);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | GeneralPreferences.java | 211 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument 213 if (key.equals(KEY_ALERTS)) { 334 final String key = preference.getKey(); 335 if (key.equals(KEY_CLEAR_SEARCH_HISTORY)) {
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraSettings.java | 116 PreferenceGroup group, String key) { 117 removePreference(group, key); 242 private static boolean removePreference(PreferenceGroup group, String key) { argument 246 if (removePreference((PreferenceGroup) child, key)) { 251 ((ListPreference) child).getKey().equals(key)) { 115 removePreferenceFromScreen( PreferenceGroup group, String key) argument
|
/packages/apps/Mms/src/com/android/mms/dom/ |
H A D | NodeImpl.java | 265 public Object setUserData(String key, Object data, argument 270 public Object getUserData(String key) { argument
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | Status.java | 201 for (String key : PHONE_RELATED_ENTRIES) { 202 removePreferenceFromScreen(key); 299 * @param key the key for the Preference item 301 private void removePreferenceFromScreen(String key) { argument 302 Preference pref = findPreference(key); 309 * @param preference The key for the Preference item
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | LatinKeyboard.java | 53 /* Space key and its icons, drawables and colors. */ 65 /* Shortcut key and its icons if available */ 70 // Height in space key the language name will be drawn. (proportional to space key height) 72 // If the full language name needs to be smaller than this value to be drawn on space key, 84 // The index of space key is available only after Keyboard constructor has finished. 112 public void onAddKey(Key key) { argument 113 super.onAddKey(key); 115 switch (key.mCode) { 117 mSpaceKey = key; [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
H A D | OpenWnnEngineJAJP.java | 308 * Set the search key and the search mode from {@link ComposingText}. 312 * @return Length of the search key 466 public int searchWords(String key) { argument
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | EntityDelta.java | 571 public boolean containsKey(String key) { argument 572 return ((mAfter != null && mAfter.containsKey(key)) || 573 (mBefore != null && mBefore.containsKey(key))); 576 public String getAsString(String key) { argument 577 if (mAfter != null && mAfter.containsKey(key)) { 578 return mAfter.getAsString(key); 579 } else if (mBefore != null && mBefore.containsKey(key)) { 580 return mBefore.getAsString(key); 586 public byte[] getAsByteArray(String key) { argument 587 if (mAfter != null && mAfter.containsKey(key)) { 596 getAsLong(String key) argument 606 getAsInteger(String key) argument 610 getAsInteger(String key, Integer defaultValue) argument 620 isChanged(String key) argument 738 put(String key, String value) argument 743 put(String key, byte[] value) argument 748 put(String key, int value) argument 753 put(String key, long value) argument 758 putNull(String key) argument [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | Preferences.java | 325 for (String key : mSharedPreferences.getAll().keySet()) { 326 Log.v(Logging.LOG_TAG, key + " = " + mSharedPreferences.getAll().get(key)); 334 private void setBoolean(Context context, String account, String key, Boolean value) { argument 335 mSharedPreferences.edit().putBoolean(makeKey(account, key), value).apply(); 341 private boolean getBoolean(Context context, String account, String key, boolean def) { argument 342 return mSharedPreferences.getBoolean(makeKey(account, key), def); 346 * Utility method for creating a per account preference key. 348 private String makeKey(String account, String key) { argument 349 return account != null ? account + "-" + key [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BlobCache.java | 17 // This is an on-disk cache which maps a 64-bits key to a byte array. 39 // Each hash entry is 12 bytes: 8 bytes key and 4 bytes offset into the data 41 // for key. The keys are used directly as index into a hash table, so they 58 // public void insert(long key, byte[] data) throws IOException; 59 // public byte[] lookup(long key) throws IOException; 360 // Inserts a (key, data) pair into the cache. 361 public void insert(long key, byte[] data) throws IOException { argument 371 if (!lookupInternal(key, mActiveHashStart)) { 372 // If we don't have an existing entry with the same key, increase 378 insertInternal(key, dat 385 insertInternal(long key, byte[] data, int length) argument 403 public long key; // input: the key to find field in class:BlobCache.LookupRequest 411 lookup(long key) argument 536 lookupInternal(long key, int hashStart) argument [all...] |
/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | ControlPanelEffect.java | 325 * Sets boolean parameter to value for given key 331 * @param key 335 final int audioSession, final Key key, final boolean value) { 343 if (key == Key.global_enabled) { 431 switch (key) { 477 Log.e(TAG, "Unknown/unsupported key " + key); 486 editor.putBoolean(key.toString(), enabled); 490 Log.e(TAG, "setParameterBoolean: " + key + "; " + value + "; " + e); 495 * Gets boolean parameter for given key 334 setParameterBoolean(final Context context, final String packageName, final int audioSession, final Key key, final boolean value) argument 504 getParameterBoolean(final Context context, final String packageName, final int audioSession, final Key key) argument 531 setParameterInt(final Context context, final String packageName, final int audioSession, final Key key, final int arg0, final int arg1) argument 752 setParameterInt(final Context context, final String packageName, final int audioSession, final Key key, final int arg) argument 767 getParameterInt(final Context context, final String packageName, final int audioSession, final String key) argument 792 getParameterInt(final Context context, final String packageName, final int audioSession, final Key key) argument 809 getParameterInt(final Context context, final String packageName, final int audioSession, final Key key, final int arg) argument 827 getParameterInt(final Context context, final String packageName, final int audioSession, final Key key, final int arg0, final int arg1) argument 843 getParameterIntArray(final Context context, final String packageName, final int audioSession, final Key key) argument 895 getParameterString(final Context context, final String packageName, final int audioSession, final String key) argument 922 getParameterString(final Context context, final String packageName, final int audioSession, final Key key) argument 937 getParameterString(final Context context, final String packageName, final int audioSession, final Key key, final int arg) argument [all...] |
/packages/apps/Nfc/jni/ |
H A D | com_android_nfc_NativeNfcTag.cpp | 1114 static jboolean com_android_nfc_NativeNfcTag_doNdefFormat(JNIEnv *e, jobject o, jbyteArray key) argument 1132 keyBuffer.buffer = (uint8_t *)e->GetByteArrayElements(key, NULL); 1133 keyBuffer.length = e->GetArrayLength(key); 1159 e->ReleaseByteArrayElements(key, (jbyte *)keyBuffer.buffer, JNI_ABORT);
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | DeviceHost.java | 80 boolean formatNdef(byte[] key); argument
|
/packages/apps/Nfc/src/com/android/nfc/nxp/ |
H A D | NativeNfcTag.java | 340 native boolean doNdefFormat(byte[] key); argument 342 public synchronized boolean formatNdef(byte[] key) { argument 346 boolean result = doNdefFormat(key);
|
/packages/apps/Phone/src/com/android/phone/sip/ |
H A D | SipEditor.java | 95 * @param key The key name of the preference. 312 private boolean isEditTextEmpty(PreferenceKey key) { argument 313 EditTextPreference pref = (EditTextPreference) key.preference; 315 || pref.getSummary().equals(getString(key.defaultSummary)); 321 for (PreferenceKey key : PreferenceKey.values()) { 322 Preference p = key.preference; 325 boolean fieldEmpty = isEditTextEmpty(key); 330 switch (key) { 346 } else if (key 516 setCheckBox(PreferenceKey key, boolean checked) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | ApnEditor.java | 353 String key = preference.getKey(); 354 if (KEY_AUTH_TYPE.equals(key)) { 364 } else if (KEY_PROTOCOL.equals(key)) { 371 } else if (KEY_ROAMING_PROTOCOL.equals(key)) { 378 } else if (KEY_BEARER.equals(key)) { 448 * Check the key fields' validity and save if valid. 606 public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) { argument 607 Preference pref = findPreference(key); 610 pref.setSummary(starify(sharedPreferences.getString(key, ""))); 612 pref.setSummary(checkNull(sharedPreferences.getString(key, ""))); [all...] |
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartDataUsageView.java | 646 SpannableStringBuilder builder, Object key, CharSequence bootstrap) { 647 int start = builder.getSpanStart(key); 648 int end = builder.getSpanEnd(key); 652 builder.setSpan(key, start, end, Spannable.SPAN_INCLUSIVE_INCLUSIVE); 645 findOrCreateSpan( SpannableStringBuilder builder, Object key, CharSequence bootstrap) argument
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiSettings.java | 536 /** retrieve a non-null list of values with key K */ 537 List<V> getAll(K key) { argument 538 List<V> values = store.get(key); 542 void put(K key, V val) { argument 543 List<V> curVals = store.get(key); 546 store.put(key, curVals);
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
H A D | MediaItemView.java | 287 ThumbnailKey key = new ThumbnailKey(); 288 key.mediaItemId = mMediaItem.getId(); 292 key.index = i; 293 Bitmap bitmap = sThumbnailCache.get(key); 399 ThumbnailKey key = new ThumbnailKey(mMediaItem.getId(), index); 400 sThumbnailCache.put(key, bitmap); 464 ThumbnailKey key = new ThumbnailKey(); 465 key.mediaItemId = mMediaItem.getId(); 476 key.index = i; 477 Bitmap bitmap = sThumbnailCache.get(key); 648 put(ThumbnailKey key, Bitmap value) argument 652 get(ThumbnailKey key) argument [all...] |