Home
last modified time | relevance | path

Searched refs:displayId (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimator.java129 void addDisplayLocked(final int displayId) { in addDisplayLocked() argument
131 getDisplayContentsAnimatorLocked(displayId); in addDisplayLocked()
132 if (displayId == Display.DEFAULT_DISPLAY) { in addDisplayLocked()
137 void removeDisplayLocked(final int displayId) { in removeDisplayLocked() argument
138 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId); in removeDisplayLocked()
146 mDisplayContentsAnimators.delete(displayId); in removeDisplayLocked()
149 private void updateAppWindowsLocked(int displayId) { in updateAppWindowsLocked() argument
150 ArrayList<TaskStack> stacks = mService.getDisplayContentLocked(displayId).getStacks(); in updateAppWindowsLocked()
159 if (appAnimator.stepAnimationLocked(mCurrentTime, displayId)) { in updateAppWindowsLocked()
166 "appToken " + appAnimator.mAppToken + " done", displayId); in updateAppWindowsLocked()
[all …]
DDimLayer.java71 final int displayId = mDisplayContent.getDisplayId(); in DimLayer() local
72 if (DEBUG) Slog.v(TAG, "Ctor: displayId=" + displayId); in DimLayer()
88 mDimSurface.setLayerStack(displayId); in DimLayer()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java108 public DisplayInfo getDisplayInfo(int displayId) { in getDisplayInfo() argument
113 info = mDisplayInfoCache.get(displayId); in getDisplayInfo()
119 info = mDm.getDisplayInfo(displayId); in getDisplayInfo()
125 mDisplayInfoCache.put(displayId, info); in getDisplayInfo()
130 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info); in getDisplayInfo()
177 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { in getCompatibleDisplay() argument
178 DisplayInfo displayInfo = getDisplayInfo(displayId); in getCompatibleDisplay()
182 return new Display(this, displayId, displayInfo, daj); in getCompatibleDisplay()
191 public Display getRealDisplay(int displayId) { in getRealDisplay() argument
192 return getCompatibleDisplay(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getRealDisplay()
[all …]
DDisplayManager.java252 public Display getDisplay(int displayId) { in getDisplay() argument
254 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/); in getDisplay()
323 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { in getOrCreateDisplayLocked() argument
324 Display display = mDisplays.get(displayId); in getOrCreateDisplayLocked()
326 display = mGlobal.getCompatibleDisplay(displayId, in getOrCreateDisplayLocked()
327 mContext.getDisplayAdjustments(displayId)); in getOrCreateDisplayLocked()
329 mDisplays.put(displayId, display); in getOrCreateDisplayLocked()
552 void onDisplayAdded(int displayId); in onDisplayAdded() argument
559 void onDisplayRemoved(int displayId); in onDisplayRemoved() argument
566 void onDisplayChanged(int displayId); in onDisplayChanged() argument
DDisplayViewport.java36 public int displayId; field in DisplayViewport
57 displayId = viewport.displayId; in copyFrom()
69 + ", displayId=" + displayId in toString()
DDisplayManagerInternal.java68 public abstract DisplayInfo getDisplayInfo(int displayId); in getDisplayInfo() argument
100 int displayId, DisplayInfo info); in setDisplayInfoOverrideFromWindowManager() argument
133 public abstract void setDisplayProperties(int displayId, boolean hasContent, in setDisplayProperties() argument
147 public abstract void setDisplayOffsets(int displayId, int x, int y); in setDisplayOffsets() argument
DIDisplayManagerCallback.aidl21 oneway void onDisplayEvent(int displayId, int event); in onDisplayEvent() argument
/frameworks/base/core/java/android/view/
DIWindowManager.aidl65 void getInitialDisplaySize(int displayId, out Point size); in getInitialDisplaySize() argument
66 void getBaseDisplaySize(int displayId, out Point size); in getBaseDisplaySize() argument
67 void setForcedDisplaySize(int displayId, int width, int height); in setForcedDisplaySize() argument
68 void clearForcedDisplaySize(int displayId); in clearForcedDisplaySize() argument
69 int getInitialDisplayDensity(int displayId); in getInitialDisplayDensity() argument
70 int getBaseDisplayDensity(int displayId); in getBaseDisplayDensity() argument
71 void setForcedDisplayDensity(int displayId, int density); in setForcedDisplayDensity() argument
72 void clearForcedDisplayDensity(int displayId); in clearForcedDisplayDensity() argument
73 void setForcedDisplayScalingMode(int displayId, int mode); // 0 = auto, 1 = disable in setForcedDisplayScalingMode() argument
75 void setOverscan(int displayId, int left, int top, int right, int bottom); in setOverscan() argument
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java306 int displayId, DisplayInfo info) { in setDisplayInfoOverrideFromWindowManagerInternal() argument
308 LogicalDisplay display = mLogicalDisplays.get(displayId); in setDisplayInfoOverrideFromWindowManagerInternal()
311 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); in setDisplayInfoOverrideFromWindowManagerInternal()
379 private DisplayInfo getDisplayInfoInternal(int displayId, int callingUid) { in getDisplayInfoInternal() argument
381 LogicalDisplay display = mLogicalDisplays.get(displayId); in getDisplayInfoInternal()
772 final int displayId = assignDisplayIdLocked(isDefault); in addLogicalDisplayLocked() local
773 final int layerStack = assignLayerStackLocked(displayId); in addLogicalDisplayLocked()
775 LogicalDisplay display = new LogicalDisplay(displayId, layerStack, device); in addLogicalDisplayLocked()
784 mLogicalDisplays.put(displayId, display); in addLogicalDisplayLocked()
791 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_ADDED); in addLogicalDisplayLocked()
[all …]
DOverlayDisplayWindow.java289 public void onDisplayAdded(int displayId) {
293 public void onDisplayChanged(int displayId) {
294 if (displayId == mDefaultDisplay.getDisplayId()) {
305 public void onDisplayRemoved(int displayId) {
306 if (displayId == mDefaultDisplay.getDisplayId()) {
DLocalDisplayAdapter.java321 final int displayId = mBuiltInDisplayId; in requestDisplayStateLocked() local
370 + "id=" + displayId in requestDisplayStateLocked()
375 + "id=" + displayId in requestDisplayStateLocked()
388 + "id=" + displayId + ", brightness=" + brightness + ")"); in requestDisplayStateLocked()
392 + "id=" + displayId + ", brightness=" + brightness + ")"); in requestDisplayStateLocked()
/frameworks/base/tools/layoutlib/bridge/src/android/view/
DIWindowManagerImpl.java89 public void clearForcedDisplaySize(int displayId) throws RemoteException { in clearForcedDisplaySize() argument
94 public void clearForcedDisplayDensity(int displayId) throws RemoteException { in clearForcedDisplayDensity() argument
99 public void setOverscan(int displayId, int left, int top, int right, int bottom) in setOverscan() argument
286 public Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, in screenshotApplications() argument
349 public void getInitialDisplaySize(int displayId, Point size) { in getInitialDisplaySize() argument
354 public void getBaseDisplaySize(int displayId, Point size) { in getBaseDisplaySize() argument
359 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { in setForcedDisplaySize() argument
364 public int getInitialDisplayDensity(int displayId) { in getInitialDisplayDensity() argument
369 public int getBaseDisplayDensity(int displayId) { in getBaseDisplayDensity() argument
374 public void setForcedDisplayDensity(int displayId, int density) throws RemoteException { in setForcedDisplayDensity() argument
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputWindowHandle.java91 public final int displayId; field in InputWindowHandle
96 Object windowState, int displayId) { in InputWindowHandle() argument
99 this.displayId = displayId; in InputWindowHandle()
/frameworks/support/v4/java/android/support/v4/hardware/display/
DDisplayManagerCompat.java78 public abstract Display getDisplay(int displayId); in getDisplay() argument
113 public Display getDisplay(int displayId) { in getDisplay() argument
115 if (display.getDisplayId() == displayId) { in getDisplay()
140 public Display getDisplay(int displayId) { in getDisplay() argument
141 return DisplayManagerJellybeanMr1.getDisplay(mDisplayManagerObj, displayId); in getDisplay()
/frameworks/base/core/java/android/app/
DResourcesManager.java71 DisplayMetrics getDisplayMetricsLocked(int displayId) { in getDisplayMetricsLocked() argument
74 getAdjustedDisplay(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); in getDisplayMetricsLocked()
121 public Display getAdjustedDisplay(final int displayId, DisplayAdjustments displayAdjustments) { in getAdjustedDisplay() argument
125 Pair.create(displayId, displayAdjustmentsCopy); in getAdjustedDisplay()
139 final Display display = dm.getCompatibleDisplay(displayId, key.second); in getAdjustedDisplay()
159 String[] overlayDirs, String[] libDirs, int displayId, in getTopLevelResources() argument
164 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfigCopy, scale); in getTopLevelResources()
224 DisplayMetrics dm = getDisplayMetricsLocked(displayId); in getTopLevelResources()
226 final boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); in getTopLevelResources()
302 int displayId = key.mDisplayId; in applyConfigurationToResourcesLocked() local
[all …]
DPresentation.java327 public void onDisplayAdded(int displayId) {
331 public void onDisplayRemoved(int displayId) {
332 if (displayId == mDisplay.getDisplayId()) {
338 public void onDisplayChanged(int displayId) {
339 if (displayId == mDisplay.getDisplayId()) {
/frameworks/native/services/inputflinger/
DInputListener.cpp72 int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, in NotifyMotionArgs() argument
78 edgeFlags(edgeFlags), displayId(displayId), pointerCount(pointerCount), in NotifyMotionArgs()
91 edgeFlags(other.edgeFlags), displayId(other.displayId), pointerCount(other.pointerCount), in NotifyMotionArgs()
DInputDispatcher.cpp175 static bool isMainDisplay(int32_t displayId) { in isMainDisplay() argument
176 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE; in isMainDisplay()
446 int32_t displayId = motionEntry->displayId; in enqueueInboundEventLocked() local
451 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y); in enqueueInboundEventLocked()
476 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, in findTouchedWindowAtLocked() argument
483 if (windowInfo->displayId == displayId) { in findTouchedWindowAtLocked()
873 if (isMainDisplay(entry->displayId)) { in dispatchMotionLocked()
1036 ssize_t stateIndex = mTouchStatesByDisplay.indexOfKey(info->displayId); in resumeAfterTargetsNotReadyTimeoutLocked()
1142 int32_t displayId = entry->displayId; in findTouchedWindowTargetsLocked() local
1155 ssize_t oldStateIndex = mTouchStatesByDisplay.indexOfKey(displayId); in findTouchedWindowTargetsLocked()
[all …]
DInputDispatcher.h297 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId,
381 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId,
515 int32_t displayId; member
525 int32_t displayId, uint32_t pointerCount,
711 bool isHovering(int32_t deviceId, uint32_t source, int32_t displayId) const;
767 int32_t displayId; member
889 sp<InputWindowHandle> findTouchedWindowAtLocked(int32_t displayId, int32_t x, int32_t y);
969 int32_t displayId; // id to the display that currently has a touch, others are rejected member
DInputListener.h92 int32_t displayId; member
105 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/
DDisplayManagerJellybeanMr1.java27 public static Display getDisplay(Object displayManagerObj, int displayId) { in getDisplay() argument
28 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplay(displayId); in getDisplay()
/frameworks/base/cmds/screencap/
Dscreencap.cpp115 int32_t displayId = DEFAULT_DISPLAY_ID; in main() local
123 displayId = atoi(optarg); in main()
172 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); in main()
174 fprintf(stderr, "Unable to get handle for display %d\n", displayId); in main()
/frameworks/base/core/java/android/content/res/
DResourcesKey.java33 public ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, in ResourcesKey() argument
36 mDisplayId = displayId; in ResourcesKey()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputWindowHandle.cpp56 jfieldID displayId; member
159 mInfo->displayId = env->GetIntField(obj, in updateInfo()
160 gInputWindowHandleClassInfo.displayId); in updateInfo()
303 GET_FIELD_ID(gInputWindowHandleClassInfo.displayId, clazz, in register_android_server_InputWindowHandle()
/frameworks/base/core/java/android/hardware/input/
DInputManagerInternal.java28 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); in injectInputEvent() argument

123