Home | History | Annotate | Download | only in input

Lines Matching defs:mKeyboardLayouts

313         private ArrayList<String> mKeyboardLayouts = new ArrayList<String>();
352 if (mKeyboardLayouts.isEmpty()) {
355 return mKeyboardLayouts.toArray(new String[mKeyboardLayouts.size()]);
359 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout);
363 mKeyboardLayouts.add(-index - 1, keyboardLayout);
371 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout);
375 mKeyboardLayouts.remove(index);
383 if (!mKeyboardLayouts.isEmpty()) {
385 if (index == mKeyboardLayouts.size()) {
388 mCurrentKeyboardLayout = mKeyboardLayouts.get(index);
396 final int size = mKeyboardLayouts.size();
400 int index = Collections.binarySearch(mKeyboardLayouts, mCurrentKeyboardLayout);
407 mCurrentKeyboardLayout = mKeyboardLayouts.get(index);
413 for (int i = mKeyboardLayouts.size(); i-- > 0; ) {
414 String keyboardLayout = mKeyboardLayouts.get(i);
417 mKeyboardLayouts.remove(i);
436 if (mKeyboardLayouts.contains(descriptor)) {
441 mKeyboardLayouts.add(descriptor);
499 Collections.sort(mKeyboardLayouts);
503 if (mCurrentKeyboardLayout == null && !mKeyboardLayouts.isEmpty()) {
504 mCurrentKeyboardLayout = mKeyboardLayouts.get(0);
509 for (String layout : mKeyboardLayouts) {