/packages/inputmethods/LatinIME/tools/dicttool/compat/com/android/inputmethod/keyboard/ |
H A D | Keyboard.java | 21 private final Key KEY = new Key(); 22 public final Key getKey(final int i) { return KEY; }
|
H A D | Key.java | 20 public class Key { class
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PagedViewIconCache.java | 34 public static class Key { class in class:PagedViewIconCache 43 public Key(ApplicationInfo info) { method in class:PagedViewIconCache.Key 47 public Key(ResolveInfo info) { method in class:PagedViewIconCache.Key 53 public Key(AppWidgetProviderInfo info) { method in class:PagedViewIconCache.Key 67 if (o instanceof Key) { 68 Key k = (Key) o; 79 private final HashMap<Key, Bitmap> mIconOutlineCache = new HashMap<Key, Bitmap>(); 82 for (Key ke [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | UniqueKeysCache.java | 19 import com.android.inputmethod.keyboard.Key; 28 public abstract @Nonnull Key getUniqueKey(@Nonnull Key key); 39 public Key getUniqueKey(Key key) { return key; } 48 private final HashMap<Key, Key> mCache; 67 public Key getUniqueKey(final Key key) { 71 final Key existingKe [all...] |
H A D | DrawingProxy.java | 19 import com.android.inputmethod.keyboard.Key; 29 * @param key the {@link Key} that is being pressed. 32 public void onKeyPressed(@Nonnull Key key, boolean withPreview); 36 * @param key the {@link Key} that is being released. 39 public void onKeyReleased(@Nonnull Key key, boolean withAnimation); 43 * @param key the {@link Key} that is being long pressed and showing more keys keyboard. 49 public MoreKeysPanel showMoreKeysKeyboard(@Nonnull Key key, @Nonnull PointerTracker tracker);
|
H A D | KeyboardParams.java | 21 import com.android.inputmethod.keyboard.Key; 68 public final SortedSet<Key> mSortedKeys = new TreeSet<>(ROW_COLUMN_COMPARATOR); 70 public final ArrayList<Key> mShiftKeys = new ArrayList<>(); 72 public final ArrayList<Key> mAltCodeKeysWhileTyping = new ArrayList<>(); 93 // Comparator to sort {@link Key}s from top-left to bottom-right order. 94 private static final Comparator<Key> ROW_COLUMN_COMPARATOR = new Comparator<Key>() { 96 public int compare(final Key lhs, final Key rhs) { 119 public void onAddKey(@Nonnull final Key newKe [all...] |
H A D | TimerProxy.java | 19 import com.android.inputmethod.keyboard.Key; 29 public void startTypingStateTimer(@Nonnull Key typedKey); 106 public void startTypingStateTimer(@Nonnull Key typedKey) {}
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
H A D | DynamicGridKeyboard.java | 23 import com.android.inputmethod.keyboard.Key; 50 private final ArrayDeque<Key> mPendingKeys = new ArrayDeque<>(); 52 private List<Key> mCachedGridKeys; 57 final Key key0 = getTemplateKey(TEMPLATE_KEY_CODE_0); 58 final Key key1 = getTemplateKey(TEMPLATE_KEY_CODE_1); 67 private Key getTemplateKey(final int code) { 68 for (final Key key : super.getSortedKeys()) { 76 public void addPendingKey(final Key usedKey) { 91 public void addKeyFirst(final Key usedKey) { 98 public void addKeyLast(final Key usedKe [all...] |
H A D | EmojiPageKeyboardView.java | 28 import com.android.inputmethod.keyboard.Key; 45 public void onPressKey(Key key); 46 public void onReleaseKey(Key key); 51 public void onPressKey(final Key key) {} 53 public void onReleaseKey(final Key key) {} 122 final Key key = getKey(e); 130 private Key mCurrentKey; 134 private Key getKey(final MotionEvent e) { 141 void callListenerOnReleaseKey(final Key releasedKey, final boolean withKeyRegistering) { 149 void callListenerOnPressKey(final Key pressedKe [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
H A D | ActualKeyboardBuilder.java | 19 import com.android.inputmethod.keyboard.Key; 34 * An actual keyboard is an array of rows, and a row consists of an array of {@link Key}s. 35 * Each row may have different number of {@link Key}s. 37 public final class ActualKeyboardBuilder extends AbstractKeyboardBuilder<Key> { 38 private static ArrayList<Key> filterOutSpacer(final List<Key> keys) { 39 final ArrayList<Key> filteredKeys = new ArrayList<>(); 40 for (final Key key : keys) { 55 public static Key[][] buildKeyboard(final List<Key> sortedKey [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
H A D | AccessibilityLongPressTimer.java | 23 import com.android.inputmethod.keyboard.Key; 29 public void performLongClickOn(Key key); 50 mCallback.performLongClickOn((Key)msg.obj); 58 public void startLongPress(final Key key) {
|
H A D | KeyboardAccessibilityDelegate.java | 30 import com.android.inputmethod.keyboard.Key; 54 private Key mLastHoverKey; 88 protected final void setLastHoverKey(final Key key) { 92 protected final Key getLastHoverKey() { 160 protected final Key getHoverKeyOf(final MotionEvent event) { 197 final Key key = getHoverKeyOf(event); 213 final Key lastKey = getLastHoverKey(); 214 final Key key = getHoverKeyOf(event); 235 final Key lastKey = getLastHoverKey(); 242 final Key ke [all...] |
H A D | KeyboardAccessibilityNodeProvider.java | 31 import com.android.inputmethod.keyboard.Key; 42 * {@link AccessibilityEvent}s for individual {@link Key}s. 102 private Key getKeyOf(final int virtualViewId) { 106 final List<Key> sortedKeys = mKeyboard.getSortedKeys(); 114 private int getVirtualViewIdOf(final Key key) { 118 final List<Key> sortedKeys = mKeyboard.getSortedKeys(); 138 public AccessibilityEvent createAccessibilityEvent(final Key key, final int eventType) { 151 public void onHoverEnterTo(final Key key) { 165 public void onHoverExitFrom(final Key key) { 168 // in {@link #onHoverEnterTo(Key)} [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | MoreKeysDetector.java | 36 public Key detectHitKey(final int x, final int y) { 44 Key nearestKey = null; 46 for (final Key key : keyboard.getSortedKeys()) {
|
H A D | KeyboardLayout.java | 45 public KeyboardLayout(ArrayList<Key> layoutKeys, int mostCommonKeyWidth, 59 Key key = layoutKeys.get(i); 109 public static KeyboardLayout newKeyboardLayout(@Nonnull final List<Key> sortedKeys, 112 final ArrayList<Key> layoutKeys = new ArrayList<Key>(); 113 for (final Key key : sortedKeys) {
|
H A D | KeyDetector.java | 35 * Key detection object constructor with key hysteresis distances. 88 public Key detectHitKey(final int x, final int y) { 96 Key primaryKey = null; 97 for (final Key key: mKeyboard.getNearestKeys(touchX, touchY)) { 99 // the empty area around the key. (@see Key#markAsLeftEdge(KeyboardParams)} etc.)
|
H A D | ProximityInfo.java | 42 private static final List<Key> EMPTY_KEY_LIST = Collections.emptyList(); 56 private final List<Key> mSortedKeys; 58 private final List<Key>[] mGridNeighbors; 63 @Nonnull final List<Key> sortedKeys, 98 static boolean needsProximityInfo(final Key key) { 103 private static int getProximityInfoKeysCount(final List<Key> keys) { 105 for (final Key key : keys) { 115 final List<Key>[] gridNeighborKeys = mGridNeighbors; 119 final List<Key> neighborKeys = gridNeighborKeys[i]; 123 final Key neighborKe [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardLayoutTest.java | 33 .newKeyboardLayout(new ArrayList<Key>(), 11, 12, 13, 14); 46 Key key1 = new Key("label1", 101, 102, "101", "101hint", 103, 104, 105, 106, 1100, 1101, 48 Key key2 = new Key("label2", 201, 103, "201", "201hint", 203, 204, 205, 206, 2100, 2101, 51 ArrayList<Key> sortedKeys = new ArrayList<>(2);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
H A D | CaptureResultProxy.java | 33 public <T> T get(CaptureResult.Key<T> key); 36 public List<CaptureResult.Key<?>> getKeys();
|
H A D | AndroidCaptureResultProxy.java | 40 public <T> T get(CaptureResult.Key<T> key) { 45 public List<CaptureResult.Key<?>> getKeys() {
|
H A D | CaptureRequestBuilderProxy.java | 50 public <T> T get(CaptureRequest.Key<T> key) throws IllegalArgumentException { 64 public <T> void set(CaptureRequest.Key<T> key, T value) {
|
H A D | CaptureRequestProxy.java | 38 public <T> T get(@Nonnull CaptureRequest.Key<T> key) { 43 public List<CaptureRequest.Key<?>> getKeys() {
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
H A D | ControlPanelEffect.java | 61 static enum Key { enum in class:ControlPanelEffect 167 final boolean isGlobalEnabled = prefs.getBoolean(Key.global_enabled.toString(), 169 editor.putBoolean(Key.global_enabled.toString(), isGlobalEnabled); 173 final boolean isVIEnabled = prefs.getBoolean(Key.virt_enabled.toString(), 176 final int vIStrength = prefs.getInt(Key.virt_strength.toString(), 179 editor.putBoolean(Key.virt_enabled.toString(), isVIEnabled); 180 editor.putInt(Key.virt_strength.toString(), vIStrength); 187 editor.putBoolean(Key.virt_strength_supported.toString(), 199 final boolean isBBEnabled = prefs.getBoolean(Key.bb_enabled.toString(), 201 final int bBStrength = prefs.getInt(Key [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
H A D | MetadataResponseListener.java | 30 private final CaptureResult.Key<V> mKey; 36 public MetadataResponseListener(CaptureResult.Key<V> key, Updatable<V> updatable) {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
H A D | ArchivesProvider.java | 74 private final Map<Key, Loader> mArchives = new HashMap<Key, Loader>(); 269 final Key key = Key.fromArchiveId(archiveId); 287 final Key key = Key.fromArchiveId(archiveId); 300 final Key key = Key.fromArchiveId(id); 310 private static class Key { class in class:ArchivesProvider 314 public Key(Ur method in class:ArchivesProvider.Key [all...] |