Home
last modified time | relevance | path

Searched refs:mHelper (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Settings/src/com/android/settings/voice/
DVoiceInputListPreference.java20 private VoiceInputHelper mHelper; field in VoiceInputListPreference
39 for (int i = 0; i < mHelper.mAvailableInteractionInfos.size(); ++i) { in persistString()
40 VoiceInputHelper.InteractionInfo info = mHelper.mAvailableInteractionInfos.get(i); in persistString()
55 for (int i = 0; i < mHelper.mAvailableRecognizerInfos.size(); ++i) { in persistString()
56 VoiceInputHelper.RecognizerInfo info = mHelper.mAvailableRecognizerInfos.get(i); in persistString()
82 mHelper = new VoiceInputHelper(getContext()); in refreshVoiceInputs()
83 mHelper.buildUi(); in refreshVoiceInputs()
91 for (int i = 0; i < mHelper.mAvailableInteractionInfos.size(); ++i) { in refreshVoiceInputs()
92 VoiceInputHelper.InteractionInfo info = mHelper.mAvailableInteractionInfos.get(i); in refreshVoiceInputs()
104 for (int i = 0; i < mHelper.mAvailableRecognizerInfos.size(); ++i) { in refreshVoiceInputs()
[all …]
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java129 private EditEventHelper mHelper; field in EditEventHelperTest
365 mHelper = new EditEventHelper(mActivity, null); in testSaveEventFailures()
375 mHelper.mEventOk = false; in testSaveEventFailures()
376 assertFalse(mHelper.saveEvent(null, null, 0)); in testSaveEventFailures()
377 mHelper.mEventOk = true; in testSaveEventFailures()
378 assertFalse(mHelper.saveEvent(null, null, 0)); in testSaveEventFailures()
380 assertFalse(mHelper.saveEvent(mModel1, mModel2, 0)); in testSaveEventFailures()
384 assertFalse(mHelper.saveEvent(mModel1, null, 0)); in testSaveEventFailures()
392 mHelper = new EditEventHelper(mActivity, null); in testSaveEventNewEvent()
398 assertTrue(mHelper.saveEvent(mModel1, null, 0)); in testSaveEventNewEvent()
[all …]
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DPhoneCallDetailsHelperTest.java74 private PhoneCallDetailsHelper mHelper; field in PhoneCallDetailsHelperTest
90 mHelper = new PhoneCallDetailsHelper(mContext, resources, mPhoneUtils); in setUp()
91 mHelper.setCurrentTimeForTest(INJECTED_CURRENT_DATE); in setUp()
103 mHelper = null; in tearDown()
155 mHelper.setCurrentTimeForTest(INJECTED_CURRENT_DATE); in testSetVoicemailPhoneCallDetails_WithinCurrentYear()
162 mHelper.setCurrentTimeForTest(INJECTED_CURRENT_DATE); in testSetVoicemailPhoneCallDetails_OutsideCurrentYear()
205 mHelper.setCurrentTimeForTest( in testSetPhoneCallDetails_Date()
245 mHelper.setPhoneCallDetails(mViews, details); in testSetPhoneCallDetails_Video()
256 mHelper.setPhoneCallDetails(mViews, details); in testSetPhoneCallDetails_NoVideo()
346 mHelper.setCallDetailsHeader(mNameView, details); in testSetCallDetailsHeader_VoicemailNumber()
[all …]
DCallLogListItemHelperTest.java53 private CallLogListItemHelper mHelper; field in CallLogListItemHelperTest
70 mHelper = new CallLogListItemHelper(phoneCallDetailsHelper, mResources, phoneUtils); in setUp()
77 mHelper = null; in tearDown()
112 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_ReadVoicemail()
119 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_UnreadVoicemail()
135 mHelper.getCallDescriptionStringID(callTypes, true)); in testGetCallDescriptionID_Answered()
144 mHelper.getCallDescriptionStringID(callTypes, true)); in testGetCallDescriptionID_Missed()
155 mHelper.getCallDescriptionStringID(callTypes, true)); in testGetCallDescriptionID_OutgoingSingle()
169 mHelper.getCallDescriptionStringID(callTypes, true)); in testGetCallDescriptionID_OutgoingMultiple()
179 mHelper.getCallDescriptionStringID(callTypes, true)); in testGetCallDescriptionID_Voicemail()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherBackupAgentHelper.java76 private LauncherBackupHelper mHelper; field in LauncherBackupAgentHelper
81 mHelper = new LauncherBackupHelper(this); in onCreate()
82 addHelper(LAUNCHER_DATA_PREFIX, mHelper); in onCreate()
112 if (hasData && mHelper.restoreSuccessful) { in onRestore()
117 if (mHelper.restoredBackupVersion <= 3) { in onRestore()
121 if (GridSizeMigrationTask.ENABLED && mHelper.shouldAttemptWorkspaceMigration()) { in onRestore()
123 mHelper.widgetSizes, mHelper.migrationCompatibleProfileData); in onRestore()
/packages/apps/Settings/src/com/android/settings/
DRestrictedListPreference.java44 private final RestrictedPreferenceHelper mHelper; field in RestrictedListPreference
49 mHelper = new RestrictedPreferenceHelper(context, this, attrs); in RestrictedListPreference()
55 mHelper = new RestrictedPreferenceHelper(context, this, attrs); in RestrictedListPreference()
61 mHelper.onBindViewHolder(holder); in onBindViewHolder()
66 if (!mHelper.performClick()) { in performClick()
74 mHelper.setDisabledByAdmin(null); in setEnabled()
81 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
87 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/notification/
DRestrictedDropDownPreference.java41 private final RestrictedPreferenceHelper mHelper; field in RestrictedDropDownPreference
51 mHelper = new RestrictedPreferenceHelper(context, this, attrs); in RestrictedDropDownPreference()
72 mHelper.onBindViewHolder(view); in onBindViewHolder()
125 if (!mHelper.performClick()) { in performClick()
134 mHelper.setDisabledByAdmin(null); in setEnabled()
141 if (mHelper.setDisabledByAdmin(admin)) { in setDisabledByAdmin()
155 return mHelper.isDisabledByAdmin(); in isDisabledByAdmin()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryPreference.java41 private BatteryStatsHelper mHelper; field in BatteryHistoryPreference
52 mHelper.storeStatsHistoryInFile(BATTERY_HISTORY_FILE); in performClick()
55 args.putParcelable(BatteryHistoryDetail.EXTRA_BROADCAST, mHelper.getBatteryBroadcast()); in performClick()
61 mHelper = batteryStats; in setStats()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java85 private AppRestrictionsHelper mHelper; field in AppRestrictionsFragment
119 mHelper.applyUserAppsStates(AppRestrictionsFragment.this);
228 mHelper = new AppRestrictionsHelper(getContext(), mUser); in init()
283 mHelper.applyUserAppsStates(AppRestrictionsFragment.this); in onPause()
321 mHelper.fetchAndMergeApps(); in doInBackground()
359 for (AppRestrictionsHelper.SelectableAppInfo app : mHelper.getVisibleApps()) { in populateApps()
368 mHelper.setPackageSelected(packageName, true); in populateApps()
411 p.setChecked(mHelper.isPackageSelected(packageName)); in populateApps()
414 mHelper.setPackageSelected(packageName, p.isChecked()); in populateApps()
422 mHelper.applyUserAppsStates(this); in populateApps()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java88 private AppRestrictionsHelper mHelper; field in AppRestrictionsFragment
122 mHelper.applyUserAppsStates(AppRestrictionsFragment.this);
258 mHelper = new AppRestrictionsHelper(getContext(), mUser); in onCreate()
259 mHelper.setLeanback(true); in onCreate()
316 mHelper.applyUserAppsStates(AppRestrictionsFragment.this); in onPause()
354 mHelper.fetchAndMergeApps(); in doInBackground()
392 for (AppRestrictionsHelper.SelectableAppInfo app : mHelper.getVisibleApps()) { in populateApps()
401 mHelper.setPackageSelected(packageName, true); in populateApps()
438 p.setChecked(mHelper.isPackageSelected(packageName)); in populateApps()
441 mHelper.setPackageSelected(packageName, p.isChecked()); in populateApps()
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapStore.java38 private final ImapHelper mHelper; field in ImapStore
57 mHelper = helper; in ImapStore()
69 return mHelper; in getImapHelper()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperUpgradeTest.java84 private ContactsDatabaseHelper mHelper; field in ContactsDatabaseHelperUpgradeTest
90 mHelper = ContactsDatabaseHelper.getNewInstanceForTest(getContext()); in setUp()
91 mHelper.onConfigure(mDb); in setUp()
96 mHelper.close(); in tearDown()
101 mHelper.onCreate(mDb); in testDatabaseCreate()
107 mHelper.onUpgrade(mDb, 1108, mHelper.DATABASE_VERSION); in testDatabaseUpgrade_UpgradeToCurrent()
122 mHelper.onUpgrade(mDb, 1108, 1109); in upgradeTo1109()
132 mHelper.onUpgrade(mDb, 1109, 1110); in upgradeTo1110()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventFragment.java107 EditEventHelper mHelper; field in EditEventFragment
501 mBegin = mHelper.constructDefaultStartTime(System.currentTimeMillis()); in startQuery()
505 mEnd = mHelper.constructDefaultEndTime(mBegin); in startQuery()
550 mHelper = new EditEventHelper(activity, null); in onAttach()
806 && mHelper.saveEvent(mModel, mOriginalModel, mModification)) { in run()