/frameworks/base/core/java/android/inputmethodservice/ |
H A D | KeyboardView.java | 57 * A view that renders a virtual {@link Keyboard}. It handles rendering of keys and 78 * For keys that repeat, this is only called once. 86 * For keys that repeat, this is only called once. 94 * @param keyCodes the codes for all the possible alternative keys 97 * will include other characters that may be on the same key or adjacent keys. 223 private static final int REPEAT_INTERVAL = 50; // ~20 keys per second 465 List<Key> keys = mKeyboard.getKeys(); 466 mKeys = keys.toArray(new Key[keys.size()]); 473 // Switching to a different keyboard should abort any pending keys s [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 1332 Spec[] keys = getGroupBounds().keys; 1333 for (int i = 0, N = keys.length; i < N; i++) { 1334 Interval span = min ? keys[i].span : keys[i].span.inverse(); 1472 for (int i = 0; i < links.keys.length; i++) { 1473 Interval key = links.keys[i]; 2148 K[] keys = (K[]) Array.newInstance(keyType, N); 2151 keys[i] = get(i).first; 2154 return new PackedMap<K, V>(keys, value 2175 public final K[] keys; field in class:GridLayout.PackedMap 2178 PackedMap(K[] keys, V[] values) argument 2189 createIndex(K[] keys) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 1221 Spec[] keys = getGroupBounds().keys; 1222 for (int i = 0, N = keys.length; i < N; i++) { 1223 Interval span = min ? keys[i].span : keys[i].span.inverse(); 1361 for (int i = 0; i < links.keys.length; i++) { 1362 Interval key = links.keys[i]; 2031 K[] keys = (K[]) Array.newInstance(keyType, N); 2034 keys[i] = get(i).first; 2037 return new PackedMap<K, V>(keys, value 2058 public final K[] keys; field in class:GridLayout.PackedMap 2061 PackedMap(K[] keys, V[] values) argument 2072 createIndex(K[] keys) argument [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/jni/ |
H A D | jni_stochastic_linear_ranker.cpp | 30 void CreateSparseWeightVector(JNIEnv* env, const jobjectArray keys, const float* values, argument 35 jstring s = (jstring) env->GetObjectArrayElement(keys, i); 42 void ConvertParameter2Object(JNIEnv* env, jobjectArray *keys, jobjectArray *values, argument 47 env->SetObjectArrayElement(*keys, index, jstrK); 51 void DecomposeSparseWeightVector(JNIEnv* env, jobjectArray *keys, jfloatArray *values, argument 61 env->SetObjectArrayElement(*keys, i, jstr);
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
H A D | DisplayModifier.java | 480 String[][] keys = new String[gMaps.size()][]; 484 keys[i] = new String[map.size()]; 487 keys[i][j++] = key; 492 return keys;
|
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataEditor.java | 40 // Public keys for metadata used by RemoteControlClient and RemoteController. 41 // Note that these keys are defined here, and not in MediaMetadataRetriever 81 * Mask of editable keys. 114 * Note that clearing the metadata doesn't reset the editable keys 136 Log.e(TAG, "Can't change editable keys of a previously applied MetadataEditor"); 140 // of editable keys to check the validity of the key, just hardcode the supported key. 154 Log.e(TAG, "Can't remove all editable keys of a previously applied MetadataEditor"); 164 * Retrieves the keys flagged as editable. 165 * @return null if there are no editable keys, or an array containing the keys [all...] |
H A D | MediaPlayer.java | 958 String[] keys = null; 962 keys = new String[headers.size()]; 967 keys[i] = entry.getKey(); 972 setDataSource(path, keys, values); 975 private void setDataSource(String path, String[] keys, String[] values) argument 991 _setDataSource(path, keys, values); 996 String path, String[] keys, String[] values) 1260 * retrieval. The caller provides 2 set of metadata keys, allowed 995 _setDataSource( String path, String[] keys, String[] values) argument
|
H A D | AudioSystem.java | 141 * param keys list of parameters 145 public static native String getParameters(String keys); argument
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 45 JNIEnv *env, jclass clazz, jint nativeObject, jobjectArray keys, 55 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, 44 android_media_MediaMuxer_addTrack( JNIEnv *env, jclass clazz, jint nativeObject, jobjectArray keys, jobjectArray values) argument
|
H A D | android_media_MediaMetadataRetriever.cpp | 84 jobjectArray keys, jobjectArray values) { 122 env, keys, values, &headersVector)) { 82 android_media_MediaMetadataRetriever_setDataSourceAndHeaders( JNIEnv *env, jobject thiz, jstring path, jobjectArray keys, jobjectArray values) argument
|
H A D | android_media_MediaCodec.cpp | 423 jobjectArray keys, jobjectArray values, 435 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, &format); 845 JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) { 856 status_t err = ConvertKeyValueArraysToMessage(env, keys, vals, ¶ms); 420 android_media_MediaCodec_native_configure( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray values, jobject jsurface, jobject jcrypto, jint flags) argument 844 android_media_MediaCodec_setParameters( JNIEnv *env, jobject thiz, jobjectArray keys, jobjectArray vals) argument
|
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentStatePagerAdapter.java | 211 Iterable<String> keys = bundle.keySet(); 212 for (String key: keys) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentStatePagerAdapter.java | 207 Iterable<String> keys = bundle.keySet(); 208 for (String key: keys) {
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
H A D | DelegateMethodAdapter2.java | 427 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument 429 mOrgWriter.visitLookupSwitchInsn(dflt, keys, labels);
|
H A D | StubMethodAdapter.java | 342 public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) { argument 344 mParentVisitor.visitLookupSwitchInsn(dflt, keys, labels);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 212 final String[] keys = new String[valueSet.size()]; 217 keys[i] = entry.getKey(); 222 final MatrixCursor cursor = new MatrixCursor(keys);
|
/frameworks/base/libs/androidfw/ |
H A D | BackupHelpers.cpp | 333 char const* const* files, char const* const* keys, int fileCount) 348 String8 key(keys[i]); 1504 char const* keys[] = { 1523 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 1555 char const* keys[] = { 1576 err = back_up_files(-1, &dataStream, newSnapshotFD, files, keys, 1); 332 back_up_files(int oldSnapshotFD, BackupDataWriter* dataStream, int newSnapshotFD, char const* const* files, char const* const* keys, int fileCount) argument
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Tethering.java | 676 Set keys = mIfaces.keySet(); 677 for (Object key : keys) { 694 Set keys = mIfaces.keySet(); 695 for (Object key : keys) { 712 Set keys = mIfaces.keySet(); 713 for (Object key : keys) {
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbSettingsManager.java | 1044 Object[] keys = mDevicePreferenceMap.keySet().toArray(); 1045 for (int i = 0; i < keys.length; i++) { 1046 Object key = keys[i]; 1055 Object[] keys = mAccessoryPreferenceMap.keySet().toArray(); 1056 for (int i = 0; i < keys.length; i++) { 1057 Object key = keys[i];
|
/frameworks/base/core/java/android/view/ |
H A D | InputDevice.java | 78 * The input source has buttons or keys. 142 * {@link #getKeyboardType()} to determine whether the keyboard has alphabetic keys 328 * of buttons that are not mapped as alphabetic keys suitable for text input. 333 * The keyboard supports a complement of alphabetic keys. 583 * @param keys The list of android keycodes to check for. 585 * generating the keycode given by the corresponding value at the same index in the keys array. 587 public boolean[] hasKeys(int... keys) { argument 588 return InputManager.getInstance().deviceHasKeys(mId, keys);
|
/frameworks/av/include/media/ |
H A D | AudioSystem.h | 81 // Some keys are reserved for standard parameters (See AudioParameter class). 83 static String8 getParameters(audio_io_handle_t ioHandle, const String8& keys);
|
H A D | IAudioFlinger.h | 133 virtual String8 getParameters(audio_io_handle_t ioHandle, const String8& keys)
|
H A D | MediaPlayerInterface.h | 126 virtual String8 getParameters(const String8& keys) { return String8::empty(); }; argument
|
H A D | AudioTrack.h | 575 String8 getParameters(const String8& keys);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SSLSocketTest.java | 454 // replace the references to the base64-encoded keys by the JKS versions. 767 private KeyManager[] getKeyManagers(String keys) throws Exception { argument 768 byte[] bytes = new Base64().decode(keys.getBytes());
|