/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | LatinIME.java | 144 final Settings mSettings; field in LatinIME 254 latinIme.mSettings.getCurrent(), msg.arg1 /* inputStyle */); in handleMessage() 271 latinIme.mSettings.getCurrent(), false /* forStartInput */, in handleMessage() 276 latinIme.mSettings.getCurrent(), true /* forStartInput */, in handleMessage() 288 latinIme.mSettings.getCurrent(), in handleMessage() 293 final SettingsValues settingsValues = latinIme.mSettings.getCurrent(); in handleMessage() 331 if (!latinIme.mSettings.getCurrent().isSuggestionsEnabledPerUserSettings()) { in postResumeSuggestionsInternal() 582 mSettings = Settings.getInstance(); in LatinIME() 634 StatsUtils.onCreate(mSettings.getCurrent(), mRichImm); in onCreate() 644 mSettings.loadSettings(this, locale, inputAttributes); in loadSettings() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
D | PreferenceListTest.java | 46 @Mock VpnSettings mSettings; field in PreferenceListTest 64 }).when(mSettings).findOrCreatePreference(any(VpnProfile.class), anyBoolean()); in setUp() 72 }).when(mSettings).findOrCreatePreference(any(AppVpnInfo.class)); in setUp() 74 doNothing().when(mSettings).setShownPreferences(any()); in setUp() 75 doReturn(true).when(mSettings).canAddPreferences(); in setUp() 80 final VpnSettings.UpdatePreferences updater = new VpnSettings.UpdatePreferences(mSettings); in testNothingShownByDefault() 83 verify(mSettings, never()).findOrCreatePreference(any(VpnProfile.class), anyBoolean()); in testNothingShownByDefault() 92 final VpnSettings.UpdatePreferences updater = new VpnSettings.UpdatePreferences(mSettings); in testDisconnectedLegacyVpnShown() 99 verify(mSettings, times(1)).findOrCreatePreference(any(VpnProfile.class), eq(true)); in testDisconnectedLegacyVpnShown() 109 final VpnSettings.UpdatePreferences updater = new VpnSettings.UpdatePreferences(mSettings); in testConnectedLegacyVpnShownIfDeleted() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
D | PlayerApplicationSettings.java | 63 private Map<Integer, Integer> mSettings = new HashMap<Integer, Integer>(); field in PlayerApplicationSettings 97 for (Integer setting : mSettings.keySet()) { in getAvrcpSettings() 101 for (Integer setting : mSettings.keySet()) { in getAvrcpSettings() 102 result.addSettingValue(setting, mSettings.get(setting)); in getAvrcpSettings() 113 newObj.mSettings.put(mapBTAttribIdToAvrcpPlayerSettings(attrId), in makeSettings() 124 mSettings = updates.mSettings; in setSupport() 132 mSettings.put(i, updates.getSettingValue(i)); in setValues() 149 for (Integer settingId : mSettings.keySet()) { in supportsSettings() 171 for (Integer settingId : mSettings.keySet()) { in getNativeSettings() 177 settingId, mSettings.get(settingId))); in getNativeSettings() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSwitchBarControllerTest.java | 47 private DevelopmentSettings mSettings; field in DevelopmentSwitchBarControllerTest 67 mController = new DevelopmentSwitchBarController(mSettings, mSwitchBar, in runThroughLifecycle_isMonkeyRun_shouldNotRegisterListener() 73 assertThat(listeners).doesNotContain(mSettings); in runThroughLifecycle_isMonkeyRun_shouldNotRegisterListener() 76 assertThat(listeners).doesNotContain(mSettings); in runThroughLifecycle_isMonkeyRun_shouldNotRegisterListener() 82 mController = new DevelopmentSwitchBarController(mSettings, mSwitchBar, in runThroughLifecycle_isNotMonkeyRun_shouldRegisterAndRemoveListener() 88 assertThat(listeners).contains(mSettings); in runThroughLifecycle_isNotMonkeyRun_shouldRegisterAndRemoveListener() 91 assertThat(listeners).doesNotContain(mSettings); in runThroughLifecycle_isNotMonkeyRun_shouldRegisterAndRemoveListener() 97 mController = new DevelopmentSwitchBarController(mSettings, mSwitchBar, in buildController_unavailable_shouldDisableSwitchBar()
|
D | DevelopmentSettingsTest.java | 73 private DevelopmentSettings mSettings; field in DevelopmentSettingsTest 80 mSettings = spy(new DevelopmentSettings()); in setUp() 88 doReturn(mScreen).when(mSettings).getPreferenceScreen(); in addDashboardCategoryPreference_shouldAddToScreen() 89 doReturn(mPreferenceManager).when(mSettings).getPreferenceManager(); in addDashboardCategoryPreference_shouldAddToScreen() 90 doReturn(mActivity).when(mSettings).getActivity(); in addDashboardCategoryPreference_shouldAddToScreen() 93 mActivity, mContext, mSettings.getMetricsCategory(), in addDashboardCategoryPreference_shouldAddToScreen() 97 mSettings.onAttach(mContext); in addDashboardCategoryPreference_shouldAddToScreen() 98 mSettings.addDashboardCategoryPreferences(); in addDashboardCategoryPreference_shouldAddToScreen()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | AlbumDataAdapter.java | 42 private final AlbumSettings mSettings; field in AlbumDataAdapter 51 mSettings = AlbumSettings.getAlbumSettings(settings); in AlbumDataAdapter() 60 mSettings.pruneObsoleteSettings(mValidAlbumIds); in AlbumDataAdapter() 65 return mSettings.isAlbumEnabled(data.id); in isSelected() 69 return mSettings.areAllEnabled(mValidAlbumIds); in areAllSelected() 74 mSettings.enableAllAlbums(mValidAlbumIds); in selectAll() 76 mSettings.disableAllAlbums(); in selectAll() 178 mSettings.setAlbumEnabled(data.id, isChecked); in onClick()
|
D | AlbumSettings.java | 33 private final SharedPreferences mSettings; field in AlbumSettings 110 mSettings = settings; in AlbumSettings() 116 Set<String> enabledAlbums = mSettings.getStringSet(ALBUM_SET, null); in readEnabledAlbumsLocked() 124 SharedPreferences.Editor editor = mSettings.edit(); in writeEnabledAlbumsLocked()
|
D | FlipperDreamSettings.java | 39 protected SharedPreferences mSettings; field in FlipperDreamSettings 49 mSettings = getSharedPreferences(PREFS_NAME, 0); in onCreate() 60 mPhotoSource = new PhotoSourcePlexor(this, mSettings); in init() 70 mSettings, in init()
|
D | PicasaSource.java | 179 if (mSettings.isAlbumEnabled(id)) { in findImages() 376 if (mSettings.isAlbumEnabled(uploadId)) { in findAlbums() 377 mSettings.setAlbumEnabled(uploadId, false); in findAlbums() 378 mSettings.setAlbumEnabled(id, true); in findAlbums()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | EnterprisePrivacySettingsTest.java | 62 private EnterprisePrivacySettings mSettings; field in EnterprisePrivacySettingsTest 70 mSettings = new EnterprisePrivacySettings(); in setUp() 75 assertThat(mSettings.getMetricsCategory()) in testGetMetricsCategory() 81 assertThat(mSettings.getCategoryKey()).isNull(); in testGetCategoryKey() 86 assertThat(mSettings.getLogTag()).isEqualTo("EnterprisePrivacySettings"); in testGetLogTag() 91 assertThat(mSettings.getPreferenceScreenResId()) in testGetPreferenceScreenResId() 115 final List<AbstractPreferenceController> controllers = mSettings.getPreferenceControllers( in getPreferenceControllers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/assist/ |
D | ManageAssistTest.java | 35 private ManageAssist mSettings; field in ManageAssistTest 39 mSettings = new ManageAssist(); in setUp() 44 assertThat(mSettings.getMetricsCategory()) in testGetMetricsCategory() 50 assertThat(mSettings.getCategoryKey()).isNull(); in testGetCategoryKey() 55 assertThat(mSettings.getPreferenceScreenResId()) in testGetPreferenceScreenResId()
|
/packages/apps/Settings/tests/app/src/com/android/settings/ |
D | SettingsHookTests.java | 53 private Settings mSettings; field in SettingsHookTests 62 mSettings = getActivity(); in setUp() 70 Context context = mSettings.getApplicationContext(); in testSettingsHookTestAppAvailable() 82 Context context = mSettings.getApplicationContext(); in testOperatorIntentFilter() 100 Context context = mSettings.getApplicationContext(); in testManufacturerIntentFilter()
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | SettingsDialog.java | 56 private ArrayList<Setting> mSettings; field in SettingsDialog 85 mSettings = getSettings(); in onCreate() 96 mAdapter = new DialogAdapter(mSettings, pivotX, pivotY, new SettingClickedListener() { in onCreate() 109 mSettings.get(PRESET_SETTING_INDEX).setValue( in onCreate() 169 mFocusedSetting = mSettings.get(position); in onChildSelected() 229 mSettings.get(PRESET_SETTING_INDEX).setValue( in setFocusedSettingToValue() 269 mSettings.get(i + INTEGER_SETTING_START_INDEX).setValue( in stringSettingHandleKeyCode()
|
D | DialogAdapter.java | 29 private final ArrayList<Setting> mSettings; field in DialogAdapter 36 mSettings = settings; in DialogAdapter() 76 Setting s = mSettings.get(position); in onBindViewHolder() 88 return mSettings.size(); in getItemCount()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DevelopmentSwitchBarController.java | 30 private final DevelopmentSettings mSettings; field in DevelopmentSwitchBarController 36 mSettings = settings; in DevelopmentSwitchBarController() 47 mSwitchBar.addOnSwitchChangeListener(mSettings); in onStart() 52 mSwitchBar.removeOnSwitchChangeListener(mSettings); in onStop()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/ |
D | AssistGestureSettingsTest.java | 49 private AssistGestureSettings mSettings; field in AssistGestureSettingsTest 55 mSettings = new AssistGestureSettings(); in setUp() 60 assertThat(mSettings.getPreferenceScreenResId()) in testGetPreferenceScreenResId() 72 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | DoubleTapScreenSettingsTest.java | 38 private DoubleTapScreenSettings mSettings; field in DoubleTapScreenSettingsTest 42 mSettings = new DoubleTapScreenSettings(); in setUp() 53 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | PickupGestureSettingsTest.java | 38 private PickupGestureSettings mSettings; field in PickupGestureSettingsTest 42 mSettings = new PickupGestureSettings(); in setUp() 53 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | DoubleTapPowerSettingsTest.java | 38 private DoubleTapPowerSettings mSettings; field in DoubleTapPowerSettingsTest 42 mSettings = new DoubleTapPowerSettings(); in setUp() 53 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
D | DoubleTwistGestureSettingsTest.java | 38 private DoubleTwistGestureSettings mSettings; field in DoubleTwistGestureSettingsTest 42 mSettings = new DoubleTwistGestureSettings(); in setUp() 53 assertThat(indexRes.get(0).xmlResId).isEqualTo(mSettings.getPreferenceScreenResId()); in testSearchIndexProvider_shouldIndexResource()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | QsbApplication.java | 52 private SearchSettings mSettings; field in QsbApplication 167 if (mSettings == null) { in getSettings() 168 mSettings = createSettings(); in getSettings() 169 mSettings.upgradeSettingsIfNeeded(); in getSettings() 171 return mSettings; in getSettings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | DeviceInfoSettingsTest.java | 64 private DeviceInfoSettings mSettings; field in DeviceInfoSettingsTest 70 mSettings = spy(new DeviceInfoSettings()); in setUp() 71 doReturn(mScreen).when(mSettings).getPreferenceScreen(); in setUp() 76 assertThat(mSettings.getPreferenceScreenResId()).isEqualTo(R.xml.device_info_settings); in getPrefXml_shouldReturnDeviceInfoXml()
|
D | PrivacySettingsTest.java | 41 private PrivacySettings mSettings; field in PrivacySettingsTest 54 mSettings = new PrivacySettings(); in setUp() 59 mSettings.setPreferenceReferences(mScreen); in testSetPreference_noCrash()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 262 private final VpnSettings mSettings; field in VpnSettings.UpdatePreferences 265 mSettings = settings; in UpdatePreferences() 286 if (!mSettings.canAddPreferences()) { in run() 295 LegacyVpnPreference p = mSettings.findOrCreatePreference(profile, true); in run() 308 LegacyVpnPreference p = mSettings.findOrCreatePreference(stubProfile, false); in run() 316 AppPreference p = mSettings.findOrCreatePreference(app); in run() 327 mSettings.setShownPreferences(updates); in run()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | SettingsInjector.java | 96 private final Set<Setting> mSettings; field in SettingsInjector 102 mSettings = new HashSet<Setting>(); in SettingsInjector() 245 mSettings.add(new Setting(setting, pref)); in getInjectedSettings() 260 Log.d(TAG, "reloadingStatusMessages: " + mSettings); in reloadStatusMessages() 397 mSettingsToLoad.addAll(mSettings); in handleMessage()
|