/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | MoreKeysKeyboard.java | 50 public int mRightKeys; // includes default key. 63 * @param keyWidth more keys keyboard key width in pixel, including horizontal gap. 65 * @param coordXInParent coordinate x of the key preview in parent keyboard. 96 final int numRightKeys = numColumns - numLeftKeys; // including default key. 97 // Maximum number of keys we can layout both side of the parent key 105 rightKeys = maxRightKeys + 1; // include default key 111 // If the left keys fill the left side of the parent key, entire more keys keyboard 112 // should be shifted to the right unless the parent key is on the left edge. 117 // If the right keys fill the right side of the parent key, entire more keys 118 // should be shifted to the left unless the parent key i 244 markAsEdgeKey(final Key key, final int row) argument 273 Builder(final Context context, final Key key, final Keyboard keyboard, final boolean isSingleMoreKeyWithPreview, final int keyPreviewVisibleWidth, final int keyPreviewVisibleHeight, final Paint paintToMeasure) argument [all...] |
H A D | MainKeyboardView.java | 66 * A view that is responsible for detecting key presses and touch movements. 115 /* Space key and its icon and background. */ 343 // Update the visual of alt-code-key-while-typing. 349 for (final Key key : keyboard.mAltCodeKeysWhileTyping) { 350 invalidateKey(key); 380 // Remove any pending messages, except dismissing preview and key repeat. 403 * Enables or disables the key preview popup. This is a popup that shows a magnified 404 * version of the depressed key. By default the preview is enabled. 405 * @param previewEnabled whether or not to enable the key feedback preview 413 * Enables or disables the key previe 461 showKeyPreview(final Key key) argument 484 dismissKeyPreviewWithoutDelay(final Key key) argument 491 dismissKeyPreview(final Key key) argument 569 onCreateMoreKeysPanel(final Key key, final Context context) argument 637 openMoreKeysPanel(final Key key, final PointerTracker tracker) argument 838 onDrawKeyTopVisuals(final Key key, final Canvas canvas, final Paint paint, final KeyDrawParams params) argument 895 drawLanguageOnSpacebar(final Key key, final Canvas canvas, final Paint paint) argument [all...] |
H A D | MoreKeysKeyboardView.java | 38 * detecting key presses and touch movements. 87 protected void onDrawKeyTopVisuals(final Key key, final Canvas canvas, final Paint paint, argument 89 if (!key.isSpacer() || !(key instanceof MoreKeysKeyboard.MoreKeyDivider) 91 super.onDrawKeyTopVisuals(key, canvas, paint, params); 94 final int keyWidth = key.getDrawWidth(); 95 final int keyHeight = key.getHeight(); 172 // A more keys keyboard is canceled when detecting no key. 193 * Performs the specific action for this panel when the user presses a key on the panel. 195 protected void onKeyInput(final Key key, fina argument 227 updateReleaseKeyGraphics(final Key key) argument 232 updatePressKeyGraphics(final Key key) argument [all...] |
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | Tweener.java | 69 String key = (String) vars[i]; 72 if ("simultaneousTween".equals(key)) { 74 } else if ("ease".equals(key)) { 76 } else if ("onUpdate".equals(key) || "onUpdateListener".equals(key)) { 78 } else if ("onComplete".equals(key) || "onCompleteListener".equals(key)) { 80 } else if ("delay".equals(key)) { 82 } else if ("syncWith".equals(key)) { 85 props.add(PropertyValuesHolder.ofFloat(key, [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | SeekBarDialogPreference.java | 34 public int readValue(final String key); argument 35 public int readDefaultValue(final String key); argument 36 public void writeValue(final int value, final String key); argument 37 public void writeDefaultValue(final String key); argument 115 final String key = getKey(); 117 final int value = mValueProxy.readDefaultValue(key); 119 mValueProxy.writeDefaultValue(key); 125 mValueProxy.writeValue(value, key);
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
H A D | KeyChainServiceTestSupport.java | 42 @Override public boolean keystorePut(String key, byte[] value) { 44 return mKeyStore.put(key, value, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); 46 @Override public boolean keystoreImportKey(String key, byte[] value) { 48 return mKeyStore.importKey(key, value, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED);
|
/packages/apps/Launcher3/util/com/android/launcher3/ |
H A D | DecoderRing.java | 125 // can't infer file type without the key 141 Key key = decodeKey(source.getName().getBytes(), fromLogs); 142 if (key != null) { 143 type = TYPES[key.type]; 146 System.out.println(key.toString()); 268 Key key = new Key(); 274 System.err.println(encodedKey + " is not a launcher backup key."); 280 key = Key.parseFrom(keyProtoData); 282 System.err.println("failed to extract key from filename: " + protoException); 285 System.err.println("failed to extract key fro 316 checkKey(Key key) argument [all...] |
/packages/apps/OMA-DM/engine/dmlib/api/native/ |
H A D | dmvector.h | 339 * Looks up for the element for the given key. Set value if an element has been found. 344 * \param key [in] -element key 350 bool lookup( const Key & key, Value& rValue) const; 353 * Retrieves a value based on key. The key must exist in the map. 358 * \param key [in] - element key 363 const Value& get(const Key & key) const; 366 * Retrieves a value based on key 851 get(const Key & key) argument 871 put(const Key & key, const Value & value) argument 905 remove(const Key & key) argument 930 lookup( const Key & key, Value& rValue) const argument [all...] |
/packages/apps/OMA-DM/engine/xpl/hdr/ |
H A D | dmvector.h | 340 * Looks up for the element for the given key. Set value if an element has been found. 345 * \param key [in] -element key 351 bool lookup( const Key & key, Value& rValue) const; 354 * Retrieves a value based on key. The key must exist in the map. 359 * \param key [in] - element key 364 const Value& get(const Key & key) const; 367 * Retrieves a value based on key 852 get(const Key & key) argument 872 put(const Key & key, const Value & value) argument 906 remove(const Key & key) argument 931 lookup( const Key & key, Value& rValue) const argument [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | PreferenceGroup.java | 60 * Finds the preference with the given key recursively. Returns 63 public ListPreference findPreference(String key) { argument 64 // Find a leaf preference with the given key. Currently, the base 70 if(listPref.getKey().equals(key)) return listPref; 73 ((PreferenceGroup) pref).findPreference(key);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | PreferenceGroup.java | 60 * Finds the preference with the given key recursively. Returns 63 public ListPreference findPreference(String key) { argument 64 // Find a leaf preference with the given key. Currently, the base 70 if(listPref.getKey().equals(key)) return listPref; 73 ((PreferenceGroup) pref).findPreference(key);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
H A D | MockRespondMatrixCursor.java | 57 for (String key : bundleKeys) { 58 final Object responseData = rowData.get(MOCK_RESPOND_PREFIX + key); 60 response.putParcelable(key, (Parcelable)responseData);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
H A D | GeneralPrefsFragment.java | 120 final String key = preference.getKey(); 122 if (PreferenceKeys.REMOVAL_ACTION.equals(key)) { 126 } else if (AUTO_ADVANCE_WIDGET.equals(key)) { 130 } else if (!PreferenceKeys.CONVERSATION_LIST_SWIPE.equals(key) && 131 !PreferenceKeys.SHOW_SENDER_IMAGES.equals(key) && 132 !PreferenceKeys.DEFAULT_REPLY_ALL.equals(key) && 133 !PreferenceKeys.CONVERSATION_OVERVIEW_MODE.equals(key) && 134 !PreferenceKeys.CONFIRM_DELETE.equals(key) && 135 !PreferenceKeys.CONFIRM_ARCHIVE.equals(key) && 136 !PreferenceKeys.CONFIRM_SEND.equals(key)) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | DrawingHandler.java | 29 public void dismissKeyPreviewWithoutDelay(Key key); argument 57 public void dismissKeyPreview(final long delay, final Key key) { argument 58 sendMessageDelayed(obtainMessage(MSG_DISMISS_KEY_PREVIEW, key), delay);
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
H A D | TestsKazakh.java | 62 .replaceKeyOfLabel(EastSlavic.ROW1_9, key("\u0449", additionalMoreKey("9"))) 65 .replaceKeyOfLabel(EastSlavic.ROW2_2, key("\u044B", moreKey("\u0456"))) 74 .replaceKeyOfLabel(EastSlavic.ROW2_11, key("\u044D", moreKey("\u04BB")))
|
H A D | TestsUkrainian.java | 60 private static final ExpectedKey CURRENCY_HRYVNIA = key("\u20B4", 70 .replaceKeyOfLabel(EastSlavic.ROW1_9, key("\u0449", additionalMoreKey("9"))) 73 .replaceKeyOfLabel(EastSlavic.ROW2_2, key("\u0456", moreKey("\u0457")))
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
H A D | ExpectedKey.java | 27 * This class represents an expected key. 32 // A key that has a string label and may have "more keys". 37 // A key that has a string label and a different output text and may have "more keys". 44 // A key that has a string label and a code point output and may have "more keys". 51 // A key that has an icon and an output text and may have "more keys". 58 // A key that has an icon and a code point output and may have "more keys". 70 // The more keys are the extra keys that the main keyboard key may have in its long press 103 // The expected visual outlook of this key. 105 // The expected output of this key. 117 // This key ha 163 equalsTo(final Key key) argument 212 newInstance(final ExpectedKey key) argument 276 equalsTo(final Key key) argument [all...] |
H A D | ExpectedKeyVisual.java | 26 * This class represents an expected visual outlook of a key. 42 abstract boolean equalsTo(final Key key); argument 73 boolean equalsTo(final Key key) { argument 74 return mIconId == key.getIconId(); 122 boolean equalsTo(final Key key) { argument 123 return mLabel.equals(key.getLabel());
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ChooseLockGeneric.java | 150 final String key = preference.getKey(); 153 EventLog.writeEvent(EventLogTags.LOCK_SCREEN_TYPE, key); 155 if (KEY_UNLOCK_SET_OFF.equals(key)) { 158 } else if (KEY_UNLOCK_SET_NONE.equals(key)) { 161 } else if (KEY_UNLOCK_SET_BIOMETRIC_WEAK.equals(key)) { 164 }else if (KEY_UNLOCK_SET_PATTERN.equals(key)) { 167 } else if (KEY_UNLOCK_SET_PIN.equals(key)) { 170 } else if (KEY_UNLOCK_SET_PASSWORD.equals(key)) { 317 final String key = ((PreferenceScreen) pref).getKey(); 320 if (KEY_UNLOCK_SET_OFF.equals(key)) { 379 allowedForFallback(String key) argument [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | NameConverter.java | 64 for (String key : STRUCTURED_NAME_FIELDS) { 65 if (structuredName.containsKey(key)) { 66 appendQueryParameter(builder, key, structuredName.get(key)); 80 for (String key : STRUCTURED_NAME_FIELDS) { 81 if (values.containsKey(key)) { 82 appendQueryParameter(builder, key, values.getAsString(key)); 161 for (String key : mapValues.keySet()) { 162 contentValues.put(key, mapValue [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; 361 // Inserts a (key, data) pair into the cache. 362 public void insert(long key, byte[] data) throws IOException { argument 372 if (!lookupInternal(key, mActiveHashStart)) { 373 // If we don't have an existing entry with the same key, increase 379 insertInternal(key, dat 383 clearEntry(long key) argument 396 insertInternal(long key, byte[] data, int length) argument 414 public long key; // input: the key to find field in class:BlobCache.LookupRequest 422 lookup(long key) argument 550 lookupInternal(long key, int hashStart) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | DrawableDownloader.java | 192 protected int sizeOf(String key, BitmapItem bitmap) { 197 boolean evicted, String key, BitmapItem oldValue, BitmapItem newValue) { 325 * @param key {@link BitmapCallback} or {@link ImageView} 327 public boolean cancelDownload(Object key) { argument 329 if (key instanceof ImageView) { 330 ImageView imageView = (ImageView)key; 337 } else if (key instanceof BitmapCallback) { 338 BitmapCallback callback = (BitmapCallback)key; 350 private void addBitmapToMemoryCache(BitmapWorkerOptions key, Drawable bitmap, argument 352 if (!key 377 getBitmapFromMemCache(BitmapWorkerOptions key) argument 387 getLargestBitmapFromMemCache(BitmapWorkerOptions key) argument [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
H A D | SipEditor.java | 88 * @param key The key name of the preference. 296 private boolean isEditTextEmpty(PreferenceKey key) { argument 297 EditTextPreference pref = (EditTextPreference) key.preference; 299 || pref.getSummary().equals(getString(key.defaultSummary)); 305 for (PreferenceKey key : PreferenceKey.values()) { 306 Preference p = key.preference; 309 boolean fieldEmpty = isEditTextEmpty(key); 314 switch (key) { 330 } else if (key 483 setCheckBox(PreferenceKey key, boolean checked) argument [all...] |
/packages/apps/OMA-DM/engine/dmlib/tool-src/db_wizard_tool/com/mot/dm/dbtool/ |
H A D | Util.java | 18 public static String getIdNameFromRecords(String id, String key) throws argument 24 Record rec = (Record) Generator.hashXmlRecords.get(key); 43 public static void addXmlToRecord(String xml, String key, String id_name, argument 45 Record rec = (Record) Generator.hashXmlRecords.get(key); 48 rec.key = key; 49 parseKeyToRecord(key, rec); 70 Generator.hashXmlRecords.put(key, rec); 73 //set mnc, mcc, provider_name and prepaid values for a record from combine key 74 public static void parseKeyToRecord(String key, Recor argument 139 recordToXml(String key) argument 397 generateFileNameFromKey(String key) argument [all...] |
/packages/apps/Settings/src/com/android/settings/voice/ |
H A D | VoiceInputSettings.java | 51 * Preference key for the engine selection preference. 141 public void setCurrentKey(String key) { argument 142 mCurrentKey = key; 145 if (info.key.equals(key)) { 148 Settings.Secure.VOICE_INTERACTION_SERVICE, key); 161 if (info.key.equals(key)) { 165 Settings.Secure.VOICE_RECOGNITION_SERVICE, key); 192 indexable.key [all...] |