Lines Matching refs:mContext
50 private final Context mContext;
82 return mContext;
92 mContext = context;
95 TestingUtils.startTrackingMemory(mContext);
98 mInvariantDeviceProfile = new InvariantDeviceProfile(mContext);
99 mIconCache = new IconCache(mContext, mInvariantDeviceProfile);
100 mWidgetCache = new WidgetPreviewLoader(mContext, mIconCache);
101 mModel = new LauncherModel(this, mIconCache, AppFilter.newInstance(mContext));
103 LauncherAppsCompat.getInstance(mContext).addOnAppsChangedCallback(mModel);
120 mContext.registerReceiver(mModel, filter);
121 UserManagerCompat.getInstance(mContext).enableAndResetCache();
122 new ConfigMonitor(mContext).register();
124 ExtractionUtils.startColorExtractionServiceIfNecessary(mContext);
126 if (!mContext.getResources().getBoolean(R.bool.notification_badging_enabled)) {
131 mContext.getContentResolver()) {
136 mContext, NotificationListener.class));
148 mContext.unregisterReceiver(mModel);
149 final LauncherAppsCompat launcherApps = LauncherAppsCompat.getInstance(mContext);
151 PackageInstallerCompat.getInstance(mContext).onStop();
158 getLocalProvider(mContext).setLauncherProviderChangeListener(launcher);