Home | History | Annotate | Download | only in launcher3

Lines Matching refs:sContext

44     private static Context sContext;
62 return sContext;
66 if (sContext != null) {
67 Log.w(Launcher.TAG, "setApplicationContext called twice! old=" + sContext + " new=" + context);
69 sContext = context.getApplicationContext();
73 if (sContext == null) {
79 if (sContext.getResources().getBoolean(R.bool.debug_memory_enabled)) {
80 MemoryTracker.startTrackingMe(sContext, "L");
84 mIsScreenLarge = isScreenLarge(sContext.getResources());
85 mScreenDensity = sContext.getResources().getDisplayMetrics().density;
88 mIconCache = new IconCache(sContext);
90 mAppFilter = AppFilter.loadByName(sContext.getString(R.string.app_filter_class));
91 mBuildInfo = BuildInfo.loadByName(sContext.getString(R.string.build_info_class));
99 sContext.registerReceiver(mModel, filter);
105 sContext.registerReceiver(mModel, filter);
108 sContext.registerReceiver(mModel, filter);
111 sContext.registerReceiver(mModel, filter);
114 ContentResolver resolver = sContext.getContentResolver();
123 mWidgetPreviewCacheDb = new WidgetPreviewLoader.CacheDb(sContext);
130 sContext.unregisterReceiver(mModel);
132 ContentResolver resolver = sContext.getContentResolver();