summaryrefslogtreecommitdiff
path: root/src/com/android/settings/inputmethod/KeyboardLayoutDialogFragment.java
AgeCommit message (Collapse)Author
2019-01-17Migrate all MetricsProto enums to SettingsEnumsFan Zhang
Bug: 122855168 Test: rebuild Change-Id: I962d9a71179f86b7cae9dc5e9a00e0aa1557dc76
2018-10-12Fix crash on KeyboardLayoutDialogFragmenttmfang
Since view id changed after fragment migration, we correct view id. Change-Id: If81ca06423ac62fd9f6a118be0b5fe3c93356142 Fixes: 117559309 Test: robotest
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-07-20Migrate all AlertDialogs to AndroidX versiontmfang
This CL only changed AlertDialog imports. So, reviewer can review it easily. Change-Id: I097bc44394195b14287f4f920c570ac8653f356a Fixes: 111413092 Test: This CL can't pass Robo test.
2018-07-11Settings Fragment Migration (Build pass app)tmfang
This patch focused on fixing compile errors and some runtime errors. Test: We can't test it now. But we will have an integration test later. Bug: 110259478 Change-Id: I16c471ddcd0fa1460c665b7f74d86fcace5ee67b
2018-07-11Settings Fragment Migration (Change imports)tmfang
This commit *only* changes imports and optimize imports. We don't do anything else. This patch can't compile pass and run test case. We will update other patches to fix these problem. Change list. 1. import android.app.Fragment; -> import androidx.fragment.app.Fragment; 2. import android.app.DialogFragment; -> import androidx.fragment.app.DialogFragment; 3. import android.app.ListFragment; -> import androidx.fragment.app.ListFragment; 4. import android.app.LoaderManager; -> import androidx.loader.app.LoaderManager; 5. import android.content.AsyncTaskLoader; -> import androidx.loader.content.AsyncTaskLoader; 6. import android.content.Loader; -> import androidx.loader.content.Loader; 7. import android.app.FragmentTransaction; -> import androidx.fragment.app.FragmentTransaction; 8. import android.app.FragmentManager; -> import androidx.fragment.app.FragmentManager; 9. import android.app.LoaderManager.LoaderCallbacks; -> import androidx.loader.app.LoaderManager.LoaderCallbacks; Bug: 110259478 Test: Can't test it. Change-Id: I0a3f98fff34a3494a839c3c42aeabcec3df2c8b3
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-03-19Logically revert "Directly show the layout selection screen."Yohei Yukawa
This is logical revert of a CL [1] that was recently re-introduced as part of my recent CL [2]. Reason for revert: Directly showing the layout selection screen when there is no hardware keyboard is selected yet is not something people had been familiar with. That behavior had been enabled only in a short period during Android N development cycle and was never enabled in most of production builds. To avoid confusions, let's revert back to the true Android M behavior by logically reverting that change. [1]: I4483dfc89afc8d148b2cfa7c6a5f66d2a02f712a 17b631988451613393c4656900c1821e23d8434a [2]: I7a2ed6dd39dcd8207d3d94e12cd01d5d67ba4bb5 7129b374bb57e39ac94ffd5b27dc3acc79fb1fb9 Change-Id: If0529e20cbff432d38d9b2dd74eeb3af0da5baf1 Bug: 66498367 Fix: 75318417 Test: Manually verified
2016-11-08Update package names to work with the proto3 compilerTamas Berghammer
Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
2016-09-19Add visibility metrics to dialogs.Fan Zhang
Bug: 30681529 Test: adb logcat -b events | egrep "(sysui_|notification_)" Change-Id: I199d2e1b2cb8588a562b46bb8128d8ece24952f0
2016-01-26Input settings: Associate keyboard layouts with device/IME subtype.Abodunrinwa Toki
Implements selection of keyboard layouts using the new InputManager methods that associate keyboard layouts to device/InputMethodInfo/InputMethodSubtype See: Ie88ce1ab77dbfe03ab51d89c1dc9e0a7ddbb3216 Bug: 25752812 Change-Id: Ib76880d66391ca37978054de80f4b3b5147cecc3
2016-01-22Change Input Settings UI flow.Abodunrinwa Toki
1. Introduces new UI components as per the new flow 2. Temporarily disables components in the old flow that are to be replaced by the new flow. This is done so we can neatly revert to the old flow if there are issues with the new flow 3. AvailableVirtualKeyboardActivity now responds to android.settings.INPUT_METHOD_SETTINGS intents instead of InputMethodAndLanguageSettingsActivity Bug: 25752812 Change-Id: I728d7ee185827ed328c16cb7abce244557a26518
2016-01-05Directly show the layout selection screen.Michael Wright
When a user clicks on the physical keyboard in order to select a layout, rather than showing them a dialog with an empty list of layouts, send them straight to the screen where they can pick which layouts to enable. Also, only request keyboard layouts that are appropriate for the input device we're in the process of configuring. Bug: 25062009 Change-Id: I4483dfc89afc8d148b2cfa7c6a5f66d2a02f712a
2015-10-13Depend on support lib preferencesJason Monk
Bug: 24576551 Change-Id: Ic6190bacd3f7582c9bbc8de972da4612bd92421e
2014-02-03Use Drawer in Settings appFabrice Di Meglio
- get rid of PreferenceActivity as much as we can and use fragments instead - add Drawer widget - add Dashboard high level entry into the Drawer (but this is work in progress and would be done in another CL) - add bypass of fragment's Header validation when launched from the Drawer but *force* validation if external call thru an Intent Be aware that WifiPickerActivity should remain for now a PreferenceActivity. It is used by SetupWizard and should not trigger running the SettingsActivity's header building code. SetupWizard is a Home during the provisionnig process and then deactivate itself as a Home but would make the Home header to appear in the Drawer (because momentarily we would have two Home). Also, verified that: - the WiFi settings still work when called from SetupWizard - when you have multiple Launchers, the Home header will appear in the list of Headers in the Drawer Change-Id: I407a5e0fdd843ad7615d3d511c416a44e3d97c90
2014-01-08b/12068020 Update calls to InputManagerRoboErik
This is part of work on making key layouts get saved per vendor/product instead of per device. The corresponding change in fw is https://googleplex-android-review.git.corp.google.com/#/c/399886/ This changes all uses of InputDevice descriptor to InputDeviceIdentifier. Change-Id: I3eeebc0223820aeab62c2b8aa822f4d91adaf2d1
2012-05-20Add UI to select multiple keyboard layouts.Jeff Brown
Bug: 6405203 Change-Id: I27ca4630aebcb39b83298d37d8fb3f4ef0080317