Lines Matching defs:displayId
104 * @param displayId The logical display id.
108 public DisplayInfo getDisplayInfo(int displayId) {
113 info = mDisplayInfoCache.get(displayId);
119 info = mDm.getDisplayInfo(displayId);
125 mDisplayInfoCache.put(displayId, info);
130 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info);
173 * @param displayId The logical display id.
177 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) {
178 DisplayInfo displayInfo = getDisplayInfo(displayId);
182 return new Display(this, displayId, displayInfo, daj);
188 * @param displayId The logical display id.
191 public Display getRealDisplay(int displayId) {
192 return getCompatibleDisplay(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS);
198 * @param displayId The logical display id.
202 public Display getRealDisplay(int displayId, IBinder token) {
203 return getCompatibleDisplay(displayId, new DisplayAdjustments(token));
257 private void handleDisplayEvent(int displayId, int event) {
260 mDisplayInfoCache.remove(displayId);
269 mDisplayListeners.get(i).sendDisplayEvent(displayId, event);
386 int displayId;
388 displayId = mDm.createVirtualDisplay(callbackWrapper, projectionToken,
394 if (displayId < 0) {
398 Display display = getRealDisplay(displayId);
438 public void onDisplayEvent(int displayId, int event) {
440 Log.d(TAG, "onDisplayEvent: displayId=" + displayId + ", event=" + event);
442 handleDisplayEvent(displayId, event);
454 public void sendDisplayEvent(int displayId, int event) {
455 Message msg = obtainMessage(event, displayId, 0);