Lines Matching defs:displayId
298 int displayId, DisplayInfo info) {
300 LogicalDisplay display = mLogicalDisplays.get(displayId);
303 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED);
351 private DisplayInfo getDisplayInfoInternal(int displayId, int callingUid) {
353 LogicalDisplay display = mLogicalDisplays.get(displayId);
734 final int displayId = assignDisplayIdLocked(isDefault);
735 final int layerStack = assignLayerStackLocked(displayId);
737 LogicalDisplay display = new LogicalDisplay(displayId, layerStack, device);
746 mLogicalDisplays.put(displayId, display);
753 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_ADDED);
760 private int assignLayerStackLocked(int displayId) {
763 return displayId;
772 final int displayId = mLogicalDisplays.keyAt(i);
779 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_REMOVED);
782 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED);
808 private void setDisplayPropertiesInternal(int displayId
811 LogicalDisplay display = mLogicalDisplays.get(displayId);
817 Slog.d(TAG, "Display " + displayId + " hasContent flag changed: "
826 Slog.d(TAG, "Display " + displayId + " has requested a new refresh rate: "
881 viewport.displayId = display.getDisplayIdLocked();
896 private void sendDisplayEventLocked(int displayId, int event) {
897 Message msg = mHandler.obtainMessage(MSG_DELIVER_DISPLAY_EVENT, displayId, event);
914 private void deliverDisplayEvent(int displayId, int event) {
916 Slog.d(TAG, "Delivering display event: displayId="
917 + displayId + ", event=" + event);
932 mTempCallbacks.get(i).notifyDisplayEventAsync(displayId, event);
980 int displayId = mLogicalDisplays.keyAt(i);
982 pw.println(" Display " + displayId + ":");
1092 public void notifyDisplayEventAsync(int displayId, int event) {
1094 mCallback.onDisplayEvent(displayId, event);
1107 * @param displayId The logical display id.
1112 public DisplayInfo getDisplayInfo(int displayId) {
1116 return getDisplayInfoInternal(displayId, callingUid);
1479 public DisplayInfo getDisplayInfo(int displayId) {
1480 return getDisplayInfoInternal(displayId, Process.myUid());
1502 public void setDisplayInfoOverrideFromWindowManager(int displayId, DisplayInfo info) {
1503 setDisplayInfoOverrideFromWindowManagerInternal(displayId, info);
1512 public void setDisplayProperties(int displayId, boolean hasContent,
1514 setDisplayPropertiesInternal(displayId, hasContent, requestedRefreshRate, inTraversal);