/frameworks/support/v4/java/android/support/v4/hardware/display/ |
D | DisplayManagerCompat.java | 20 import android.view.Display; 78 public abstract Display getDisplay(int displayId); in getDisplay() 85 public abstract Display[] getDisplays(); in getDisplays() 103 public abstract Display[] getDisplays(String category); in getDisplays() 113 public Display getDisplay(int displayId) { in getDisplay() 114 Display display = mWindowManager.getDefaultDisplay(); in getDisplay() 122 public Display[] getDisplays() { in getDisplays() 123 return new Display[] { mWindowManager.getDefaultDisplay() }; in getDisplays() 127 public Display[] getDisplays(String category) { in getDisplays() 128 return category == null ? getDisplays() : new Display[0]; in getDisplays() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | DisplayManager.java | 25 import android.view.Display; 47 private final SparseArray<Display> mDisplays = new SparseArray<Display>(); 49 private final ArrayList<Display> mTempDisplays = new ArrayList<Display>(); 252 public Display getDisplay(int displayId) { in getDisplay() 263 public Display[] getDisplays() { in getDisplays() 283 public Display[] getDisplays(String category) { in getDisplays() 290 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_WIFI); in getDisplays() 291 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_HDMI); in getDisplays() 292 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_OVERLAY); in getDisplays() 293 addPresentationDisplaysLocked(mTempDisplays, displayIds, Display.TYPE_VIRTUAL); in getDisplays() [all …]
|
D | VirtualDisplay.java | 18 import android.view.Display; 36 private final Display mDisplay; 40 VirtualDisplay(DisplayManagerGlobal global, Display display, in VirtualDisplay() 51 public Display getDisplay() { in getDisplay()
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | VirtualDisplayTest.java | 36 import android.view.Display; 117 Display display = virtualDisplay.getDisplay(); in testPrivateVirtualDisplay() 119 assertDisplayRegistered(display, Display.FLAG_PRIVATE); in testPrivateVirtualDisplay() 141 Display display = virtualDisplay.getDisplay(); in testPrivatePresentationVirtualDisplay() 143 assertDisplayRegistered(display, Display.FLAG_PRIVATE | Display.FLAG_PRESENTATION); in testPrivatePresentationVirtualDisplay() 170 Display display = virtualDisplay.getDisplay(); in testPublicPresentationVirtualDisplay() 172 assertDisplayRegistered(display, Display.FLAG_PRESENTATION); in testPublicPresentationVirtualDisplay() 177 Display defaultDisplay = mDisplayManager.getDisplay(Display.DEFAULT_DISPLAY); in testPublicPresentationVirtualDisplay() 224 Display display = virtualDisplay.getDisplay(); in testSecurePublicPresentationVirtualDisplay() 226 assertDisplayRegistered(display, Display.FLAG_PRESENTATION | Display.FLAG_SECURE); in testSecurePublicPresentationVirtualDisplay() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayPowerController.java | 44 import android.view.Display; 447 new ColorFade(Display.DEFAULT_DISPLAY)); in initialize() 538 state = Display.STATE_OFF; in updatePowerState() 542 if (mPowerRequest.dozeScreenState != Display.STATE_UNKNOWN) { in updatePowerState() 545 state = Display.STATE_DOZE; in updatePowerState() 554 state = Display.STATE_ON; in updatePowerState() 557 assert(state != Display.STATE_UNKNOWN); in updatePowerState() 561 if (mPowerRequest.useProximitySensor && state != Display.STATE_OFF) { in updatePowerState() 571 && state != Display.STATE_OFF) { in updatePowerState() 586 state = Display.STATE_OFF; in updatePowerState() [all …]
|
D | LocalDisplayAdapter.java | 34 import android.view.Display; 131 case Display.STATE_OFF: in getPowerModeForState() 133 case Display.STATE_DOZE: in getPowerModeForState() 135 case Display.STATE_DOZE_SUSPEND: in getPowerModeForState() 149 private int mState = Display.STATE_UNKNOWN; 256 mInfo.supportedModes = new Display.Mode[mSupportedModes.size()]; in getDisplayDeviceInfoLocked() 284 mInfo.type = Display.TYPE_BUILT_IN; in getDisplayDeviceInfoLocked() 290 mInfo.type = Display.TYPE_HDMI; in getDisplayDeviceInfoLocked() 316 assert state != Display.STATE_OFF || brightness == PowerManager.BRIGHTNESS_OFF; in requestDisplayStateLocked() 342 if (Display.isSuspendedState(oldState) in requestDisplayStateLocked() [all …]
|
D | DisplayPowerState.java | 27 import android.view.Display; 85 mScreenState = Display.STATE_ON; in DisplayPowerState() 154 if (mScreenState != Display.STATE_OFF) { in setScreenBrightness() 218 if (mScreenState != Display.STATE_OFF) { in setColorFadeLevel() 255 pw.println(" mScreenState=" + Display.stateToString(mScreenState)); in dump() 301 int brightness = mScreenState != Display.STATE_OFF 335 private static final int INITIAL_SCREEN_STATE = Display.STATE_OFF; // unknown, assume off 355 + Display.stateToString(state) + ", backlight=" + backlight); in setState() 374 pw.println(" mPendingState=" + Display.stateToString(mPendingState)); in dump() 376 pw.println(" mActualState=" + Display.stateToString(mActualState)); in dump() [all …]
|
D | DisplayDeviceInfo.java | 21 import android.view.Display; 156 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; 227 public int state = Display.STATE_ON; 340 sb.append(", type ").append(Display.typeToString(type)); in toString() 344 sb.append(", state ").append(Display.stateToString(state)); in toString()
|
D | VirtualDisplayAdapter.java | 32 import android.view.Display; 186 private Display.Mode mMode; 204 mDisplayState = Display.STATE_UNKNOWN; in VirtualDisplayDevice() 231 if (state == Display.STATE_OFF) { in requestDisplayStateLocked() 285 pw.println("mDisplayState=" + Display.stateToString(mDisplayState)); in dumpLocked() 300 mInfo.supportedModes = new Display.Mode[] { mMode }; in getDisplayDeviceInfoLocked() 331 mInfo.type = Display.TYPE_VIRTUAL; in getDisplayDeviceInfoLocked() 333 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF; in getDisplayDeviceInfoLocked()
|
D | LogicalDisplay.java | 20 import android.view.Display; 211 mBaseDisplayInfo.flags |= Display.FLAG_SUPPORTS_PROTECTED_BUFFERS; in updateLocked() 214 mBaseDisplayInfo.flags |= Display.FLAG_SECURE; in updateLocked() 217 mBaseDisplayInfo.flags |= Display.FLAG_PRIVATE; in updateLocked() 220 mBaseDisplayInfo.flags |= Display.FLAG_PRESENTATION; in updateLocked() 223 mBaseDisplayInfo.flags |= Display.FLAG_ROUND; in updateLocked() 323 if ((displayInfo.flags & Display.FLAG_SCALING_DISABLED) != 0) { in configureDisplayInTransactionLocked()
|
D | DisplayAdapter.java | 21 import android.view.Display; 132 public static Display.Mode createMode(int width, int height, float refreshRate) { in createMode() 133 return new Display.Mode( in createMode()
|
/frameworks/base/cmds/wm/src/com/android/commands/wm/ |
D | Wm.java | 28 import android.view.Display; 133 mWm.getInitialDisplaySize(Display.DEFAULT_DISPLAY, initialSize); in runDisplaySize() 134 mWm.getBaseDisplaySize(Display.DEFAULT_DISPLAY, baseSize); in runDisplaySize() 164 mWm.setForcedDisplaySize(Display.DEFAULT_DISPLAY, w, h); in runDisplaySize() 166 mWm.clearForcedDisplaySize(Display.DEFAULT_DISPLAY); in runDisplaySize() 177 int initialDensity = mWm.getInitialDisplayDensity(Display.DEFAULT_DISPLAY); in runDisplayDensity() 178 int baseDensity = mWm.getBaseDisplayDensity(Display.DEFAULT_DISPLAY); in runDisplayDensity() 204 mWm.setForcedDisplayDensity(Display.DEFAULT_DISPLAY, density); in runDisplayDensity() 206 mWm.clearForcedDisplayDensity(Display.DEFAULT_DISPLAY); in runDisplayDensity() 232 mWm.setOverscan(Display.DEFAULT_DISPLAY, rect.left, rect.top, rect.right, rect.bottom); in runDisplayOverscan() [all …]
|
/frameworks/base/core/java/android/view/ |
D | DisplayInfo.java | 170 public Display.Mode[] supportedModes = Display.Mode.EMPTY_ARRAY; 352 supportedModes = new Display.Mode[nModes]; in readFromParcel() 354 supportedModes[i] = Display.Mode.CREATOR.createFromParcel(source); in readFromParcel() 409 public Display.Mode getMode() { in getMode() 413 public Display.Mode getDefaultMode() { in getDefaultMode() 417 private Display.Mode findMode(int id) { in findMode() 431 Display.Mode[] modes = supportedModes; in findDefaultModeByRefreshRate() 432 Display.Mode defaultMode = getDefaultMode(); in findDefaultModeByRefreshRate() 446 Display.Mode[] modes = supportedModes; in getDefaultRefreshRates() 448 Display.Mode defaultMode = getDefaultMode(); in getDefaultRefreshRates() [all …]
|
D | WindowManagerImpl.java | 50 private final Display mDisplay; 55 public WindowManagerImpl(Display display) { in WindowManagerImpl() 59 private WindowManagerImpl(Display display, Window parentWindow) { in WindowManagerImpl() 68 public WindowManagerImpl createPresentationWindowManager(Display display) { in createPresentationWindowManager() 120 public Display getDefaultDisplay() { in getDefaultDisplay()
|
D | Display.java | 56 public final class Display { class 287 public Display(DisplayManagerGlobal global, in Display() method in Display 676 final Display.Mode[] modes = mDisplayInfo.supportedModes; in getSupportedModes() 794 return Display.hasAccess(uid, mFlags, mOwnerUid); in hasAccess() 799 return (flags & Display.FLAG_PRIVATE) == 0 in hasAccess() 810 return (mFlags & (Display.FLAG_PRIVATE | Display.FLAG_PRESENTATION)) == in isPublicPresentation() 811 Display.FLAG_PRESENTATION; in isPublicPresentation()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 19 import android.view.Display; 28 private final Display mDisplay; 36 mDisplay = new Display(null, Display.DEFAULT_DISPLAY, info, in WindowManagerImpl() 41 public Display getDefaultDisplay() { in getDefaultDisplay()
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/ |
D | DisplayManagerJellybeanMr1.java | 20 import android.view.Display; 27 public static Display getDisplay(Object displayManagerObj, int displayId) { in getDisplay() 31 public static Display[] getDisplays(Object displayManagerObj) { in getDisplays() 35 public static Display[] getDisplays(Object displayManagerObj, String category) { in getDisplays()
|
/frameworks/base/core/java/android/app/ |
D | Presentation.java | 24 import android.view.Display; 146 private final Display mDisplay; 158 public Presentation(Context outerContext, Display display) { in Presentation() 176 public Presentation(Context outerContext, Display display, int theme) { in Presentation() 191 public Display getDisplay() { in getDisplay() 290 Context outerContext, Display display, int theme) { in createPresentationContext()
|
D | ResourcesManager.java | 33 import android.view.Display; 47 private final ArrayMap<Pair<Integer, DisplayAdjustments>, WeakReference<Display>> mDisplays = 68 return getDisplayMetricsLocked(Display.DEFAULT_DISPLAY); in getDisplayMetricsLocked() 73 final Display display = in getDisplayMetricsLocked() 121 public Display getAdjustedDisplay(final int displayId, DisplayAdjustments displayAdjustments) { in getAdjustedDisplay() 127 WeakReference<Display> wd = mDisplays.get(key); in getAdjustedDisplay() 129 final Display display = wd.get(); in getAdjustedDisplay() 139 final Display display = dm.getCompatibleDisplay(displayId, key.second); in getAdjustedDisplay() 226 final boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); in getTopLevelResources() 303 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); in applyConfigurationToResourcesLocked()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | DumpCommand.java | 23 import android.view.Display; 94 Display display = in run() 95 DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in run()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | RecentsComponent.java | 19 import android.view.Display; 29 void toggleRecents(Display display, int layoutDirection, View statusBarView); in toggleRecents()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | DisplaySourceService.java | 32 import android.view.Display; 151 public void onDisplayAdded(Display display); in onDisplayAdded() 152 public void onDisplayRemoved(Display display); in onDisplayRemoved() 160 mCallbacks.onDisplayAdded((Display)msg.obj); in handleMessage() 165 mCallbacks.onDisplayRemoved((Display)msg.obj); in handleMessage()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | BurnInProtectionHelper.java | 31 import android.view.Display; 78 private final Display mDisplay; 114 mDisplay = displayManager.getDisplay(Display.DEFAULT_DISPLAY); in BurnInProtectionHelper() 245 if (mDisplay.getState() == Display.STATE_DOZE in onDisplayChanged() 246 || mDisplay.getState() == Display.STATE_DOZE_SUSPEND) { in onDisplayChanged()
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/core/ |
D | InstrumentationUiAutomatorBridge.java | 23 import android.view.Display; 39 public Display getDefaultDisplay() { in getDefaultDisplay()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/ |
D | ShellUiAutomatorBridge.java | 35 import android.view.Display; 49 public Display getDefaultDisplay() { in getDefaultDisplay() 50 return DisplayManagerGlobal.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY); in getDefaultDisplay()
|