Home
last modified time | relevance | path

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

/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DMultiClientInputMethod.java46 private DisplayManager mDisplayManager; field in MultiClientInputMethod
110 mDisplayManager = getApplicationContext().getSystemService(DisplayManager.class); in onBind()
111 mDisplayManager.registerDisplayListener(this, getMainThreadHandler()); in onBind()
120 if (mDisplayManager != null) { in onUnbind()
121 mDisplayManager.unregisterDisplayListener(this); in onUnbind()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DOverlayDisplayWindow.java178 private final DisplayManager mDisplayManager; field in OverlayDisplayWindow.JellybeanMr1Impl
205 mDisplayManager = (DisplayManager)context.getSystemService( in JellybeanMr1Impl()
219 mDisplayManager.registerDisplayListener(mDisplayListener, null); in show()
221 mDisplayManager.unregisterDisplayListener(mDisplayListener); in show()
235 mDisplayManager.unregisterDisplayListener(mDisplayListener); in dismiss()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationActivity.java95 private DisplayManager mDisplayManager; field in PresentationActivity
129 mDisplayManager = (DisplayManager)getSystemService(Context.DISPLAY_SERVICE); in onCreate()
167 mDisplayManager.registerDisplayListener(mDisplayListener, null); in onResume()
176 mDisplayManager.unregisterDisplayListener(mDisplayListener); in onPause()
445 Display[] displays = mDisplayManager.getDisplays(displayCategory); in updateContents()