Home
last modified time | relevance | path

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

/development/samples/browseable/AppShortcuts/src/com.example.android.appshortcuts/
DMain.java48 private ShortcutHelper mHelper; field in Main
56 mHelper = new ShortcutHelper(this); in onCreate()
58 mHelper.maybeRestoreAllDynamicShortcuts(); in onCreate()
60 mHelper.refreshShortcuts(/*force=*/ false); in onCreate()
88 mHelper.reportShortcutUsed(ID_ADD_WEBSITE); in addWebSite()
112 mHelper.addWebSiteShortcut(uri); in addUriAsync()
124 mAdapter.setShortcuts(mHelper.getShortcuts()); in refreshList()
134 mHelper.disableShortcut(shortcut); in onClick()
136 mHelper.enableShortcut(shortcut); in onClick()
141 mHelper.removeShortcut(shortcut); in onClick()
/development/samples/ShortcutSample/src/com/example/android/shortcutsample/
DMain.java54 private ShortcutHelper mHelper; field in Main
66 mHelper = new ShortcutHelper(this); in onCreate()
69 mHelper.maybeRestoreAllDynamicShortcuts(); in onCreate()
71 mHelper.refreshShortcuts(/*force=*/ false); in onCreate()
122 mHelper.reportShortcutUsed(ID_ADD_WEBSITE); in addWebSite()
153 return mHelper.createShortcutForUrl(uri); in addUriAsync()
167 mHelper.addWebSiteShortcut(uri, forPin); in addUriAsync()
180 mAdapter.setShortcuts(mHelper.getShortcuts()); in refreshList()
190 mHelper.disableShortcut(shortcut); in onClick()
192 mHelper.enableShortcut(shortcut); in onClick()
[all …]
/development/samples/training/threadsample/src/com/example/android/threadsample/
DDataProvider.java74 private SQLiteOpenHelper mHelper; field in DataProvider
128 mHelper.close(); in close()
226 mHelper = new DataProviderHelper(getContext()); in onCreate()
248 SQLiteDatabase db = mHelper.getReadableDatabase(); in query()
315 SQLiteDatabase localSQLiteDatabase = mHelper.getWritableDatabase(); in insert()
361 SQLiteDatabase localSQLiteDatabase = mHelper.getWritableDatabase(); in bulkInsert()
457 SQLiteDatabase localSQLiteDatabase = mHelper.getWritableDatabase(); in update()