Searched refs:DynamicShortcuts (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
H A DContactsJobService.java32 DynamicShortcuts.updateFromJob(this, jobParameters);
H A DDynamicShortcuts.java73 * Usage: DynamicShortcuts.initialize should be called during Application creation. This will
77 public class DynamicShortcuts { class
78 private static final String TAG = "DynamicShortcuts";
116 public DynamicShortcuts(Context context) { method in class:DynamicShortcuts
123 public DynamicShortcuts(Context context, ContentResolver contentResolver, method in class:DynamicShortcuts
455 Log.d(TAG, "DynamicShortcuts have been removed.");
494 final DynamicShortcuts shortcuts = new DynamicShortcuts(context);
521 new DynamicShortcuts(context).removeAllShortcuts();
530 new ShortcutUpdateTask(new DynamicShortcuts(servic
[all...]
H A DShortcutIntentBuilder.java286 final DynamicShortcuts dynamicShortcuts = new DynamicShortcuts(mContext);
348 final DynamicShortcuts dynamicShortcuts = new DynamicShortcuts(mContext);
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DDynamicShortcutsTests.java73 // Basic smoke test to make sure the queries executed by DynamicShortcuts are valid as well
77 final DynamicShortcuts sut = new DynamicShortcuts(getContext());
83 final DynamicShortcuts sut = createDynamicShortcuts();
103 final DynamicShortcuts sut = createDynamicShortcuts();
111 final DynamicShortcuts sut = createDynamicShortcuts();
127 final DynamicShortcuts sut = createDynamicShortcuts(emptyResolver(), mockShortcutManager);
144 final DynamicShortcuts sut = createDynamicShortcuts(resolverWithExpectedQueries(
173 final DynamicShortcuts sut = createDynamicShortcuts(resolverWithExpectedQueries(
197 final DynamicShortcuts su
[all...]
H A DNoPermissionsLaunchSmokeTest.java61 DynamicShortcuts.reset(mTargetContext);
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
H A DRefreshShortcutsTask.java57 new DynamicShortcuts(jobService, new IconFactory(jobService)).updateIcons(); // Blocking
H A DShortcutRefresher.java70 new DynamicShortcuts(context, new IconFactory(context)).refresh(contacts); // Blocking
H A DDynamicShortcuts.java64 final class DynamicShortcuts { class
78 DynamicShortcuts(@NonNull Context context, IconFactory iconFactory) { method in class:DynamicShortcuts
97 LogUtil.enterBlock("DynamicShortcuts.refresh");
103 LogUtil.i("DynamicShortcuts.refresh", "no contact permissions");
145 LogUtil.enterBlock("DynamicShortcuts.updateIcons");
149 LogUtil.i("DynamicShortcuts.updateIcons", "no contact permissions");
167 LogUtil.i("DynamicShortcuts.updateIcons", "updating %d shortcut icons", newShortcuts.size());
186 LogUtil.i("DynamicShortcuts.computeDelta", "contact updated");
191 LogUtil.i("DynamicShortcuts.computeDelta", "contact removed");
202 LogUtil.i("DynamicShortcuts
[all...]
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorActivity.java34 import com.android.contacts.DynamicShortcuts;
386 DynamicShortcuts.reportShortcutUsed(this, DynamicShortcuts.SHORTCUT_ADD_CONTACT);
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DQuickContactActivity.java109 import com.android.contacts.DynamicShortcuts;
2365 DynamicShortcuts.reportShortcutUsed(QuickContactActivity.this,
2709 final DynamicShortcuts shortcuts =
2710 new DynamicShortcuts(QuickContactActivity.this);

Completed in 545 milliseconds