Home
last modified time | relevance | path

Searched refs:mPluginContext (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/plugin/ExamplePlugin/src/com/android/systemui/plugin/testoverlayplugin/
DSampleOverlayPlugin.java32 private Context mPluginContext; field in SampleOverlayPlugin
43 mPluginContext = pluginContext; in onCreate()
66 int id = mPluginContext.getResources().getIdentifier("status_bar_height", "dimen", in setup()
68 mStatusBarHeight = mPluginContext.getResources().getDimension(id); in setup()
70 mStatusBarView = LayoutInflater.from(mPluginContext) in setup()
75 mNavBarView = LayoutInflater.from(mPluginContext) in setup()
/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/
DPluginFragment.java24 private Context mPluginContext; field in PluginFragment
28 mPluginContext = pluginContext; in onCreate()
43 return mPluginContext; in getContext()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginInstance.java62 private Context mPluginContext; field in PluginInstance
81 mPluginContext = mPluginFactory.createPluginContext(); in PluginInstance()
122 mPlugin.onCreate(mAppContext, mPluginContext); in onCreate()
124 mListener.onPluginLoaded(mPlugin, mPluginContext, this); in onCreate()
151 mPluginContext = mPluginFactory.createPluginContext(); in loadPlugin()
152 if (mPlugin == null || mPluginContext == null) { in loadPlugin()
162 mPlugin.onCreate(mAppContext, mPluginContext); in loadPlugin()
164 mListener.onPluginLoaded(mPlugin, mPluginContext, this); in loadPlugin()
186 mPluginContext = null; in unloadPlugin()
212 return mPluginContext; in getPluginContext()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java151 private Context mPluginContext; field in ExtensionControllerImpl.ExtensionImpl
164 return mPluginContext != null ? mPluginContext : mDefaultContext; in getContext()
236 mPluginContext = pluginContext; in onPluginConnected()
247 mPluginContext = null; in onPluginDisconnected()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginInstanceTest.java75 private WeakReference<Context> mPluginContext; field in PluginInstanceTest
116 mPluginContext = new WeakReference<>(mPluginInstance.getPluginContext()); in setup()
342 Context expectedContext = PluginInstanceTest.this.mPluginContext.get(); in onPluginLoaded()