Home | History | Annotate | Download | only in launcher3

Lines Matching refs:mOpenHelper

81     protected DatabaseHelper mOpenHelper;
91 mOpenHelper = new DatabaseHelper(context);
98 return mOpenHelper.wasNewDbCreated();
103 mOpenHelper.mListener = mListener;
120 if (mOpenHelper == null) {
121 mOpenHelper = new DatabaseHelper(getContext());
133 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
167 if (!mOpenHelper.initializeExternalAdd(initialValues)) {
172 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
174 final long rowId = dbInsertAndCheck(mOpenHelper, db, args.table, null, initialValues);
202 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
208 if (dbInsertAndCheck(mOpenHelper, db, args.table, null, values[i]) < 0) {
225 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
241 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
254 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
304 SQLiteDatabase db = mOpenHelper.getWritableDatabase();
350 return mOpenHelper.generateNewItemId();
354 return mOpenHelper.generateNewScreenId();
361 mOpenHelper.createEmptyDB(mOpenHelper.getWritableDatabase());
384 mOpenHelper.mAppWidgetHost, mOpenHelper);
393 loader = new DefaultLayoutParser(getContext(), mOpenHelper.mAppWidgetHost,
394 mOpenHelper, partnerRes, workspaceResId);
408 if ((mOpenHelper.loadFavorites(mOpenHelper.getWritableDatabase(), loader) <= 0)
412 mOpenHelper.loadFavorites(mOpenHelper.getWritableDatabase(),
444 mOpenHelper.mAppWidgetHost, mOpenHelper);
456 return new DefaultLayoutParser(getContext(), mOpenHelper.mAppWidgetHost,
457 mOpenHelper, getContext().getResources(), defaultLayout);
461 mOpenHelper.migrateLauncher2Shortcuts(mOpenHelper.getWritableDatabase(),
466 mOpenHelper.updateFolderItemsRank(mOpenHelper.getWritableDatabase(), false);
470 mOpenHelper.convertShortcutsToLauncherActivities(mOpenHelper.getWritableDatabase());
476 mOpenHelper.createEmptyDB(mOpenHelper.getWritableDatabase());