Searched refs:displayId (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/base/core/java/android/hardware/display/
H A DIDisplayManagerCallback.aidl21 oneway void onDisplayEvent(int displayId, int event);
H A DDisplayViewport.java36 public int displayId; field in class:DisplayViewport
57 displayId = viewport.displayId;
69 + ", displayId=" + displayId
H A DDisplayManagerGlobal.java104 * @param displayId The logical display id.
108 public DisplayInfo getDisplayInfo(int displayId) { argument
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) { argument
178 DisplayInfo displayInfo = getDisplayInfo(displayId);
191 getRealDisplay(int displayId) argument
202 getRealDisplay(int displayId, IBinder token) argument
257 handleDisplayEvent(int displayId, int event) argument
438 onDisplayEvent(int displayId, int event) argument
454 sendDisplayEvent(int displayId, int event) argument
[all...]
H A DDisplayManager.java249 * @param displayId The logical display id.
252 public Display getDisplay(int displayId) { argument
254 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/);
323 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { argument
324 Display display = mDisplays.get(displayId);
326 display = mGlobal.getCompatibleDisplay(displayId,
327 mContext.getDisplayAdjustments(displayId));
329 mDisplays.put(displayId, display);
549 * @param displayId The id of the logical display that was added.
551 void onDisplayAdded(int displayId); argument
558 onDisplayRemoved(int displayId) argument
565 onDisplayChanged(int displayId) argument
[all...]
H A DDisplayManagerInternal.java64 * @param displayId The logical display id.
68 public abstract DisplayInfo getDisplayInfo(int displayId); argument
96 * @param displayId The logical display id.
100 int displayId, DisplayInfo info);
123 * @param displayId The logical display id to update.
131 public abstract void setDisplayProperties(int displayId, boolean hasContent, argument
99 setDisplayInfoOverrideFromWindowManager( int displayId, DisplayInfo info) argument
H A DIDisplayManager.aidl29 DisplayInfo getDisplayInfo(int displayId);
/frameworks/base/services/core/java/com/android/server/input/
H A DInputWindowHandle.java91 public final int displayId; field in class:InputWindowHandle
96 Object windowState, int displayId) {
99 this.displayId = displayId;
95 InputWindowHandle(InputApplicationHandle inputApplicationHandle, Object windowState, int displayId) argument
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/
H A DDisplayManagerJellybeanMr1.java27 public static Display getDisplay(Object displayManagerObj, int displayId) { argument
28 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplay(displayId);
/frameworks/base/core/java/android/hardware/input/
H A DInputManagerInternal.java28 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
/frameworks/support/v4/java/android/support/v4/hardware/display/
H A DDisplayManagerCompat.java75 * @param displayId The logical display id.
78 public abstract Display getDisplay(int displayId); argument
113 public Display getDisplay(int displayId) { argument
115 if (display.getDisplayId() == displayId) {
140 public Display getDisplay(int displayId) { argument
141 return DisplayManagerJellybeanMr1.getDisplay(mDisplayManagerObj, displayId);
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowAnimator.java132 void addDisplayLocked(final int displayId) { argument
134 getDisplayContentsAnimatorLocked(displayId);
135 if (displayId == Display.DEFAULT_DISPLAY) {
140 void removeDisplayLocked(final int displayId) { argument
141 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId);
149 mDisplayContentsAnimators.delete(displayId);
181 private void updateAppWindowsLocked(int displayId) { argument
182 ArrayList<TaskStack> stacks = mService.getDisplayContentLocked(displayId).getStacks();
242 private void updateWindowsLocked(final int displayId) { argument
245 final WindowList windows = mService.getWindowListLocked(displayId);
514 updateWallpaperLocked(int displayId) argument
581 testTokenMayBeDrawnLocked(int displayId) argument
823 getPendingLayoutChanges(final int displayId) argument
831 setPendingLayoutChanges(final int displayId, final int changes) argument
857 getDisplayContentsAnimatorLocked(int displayId) argument
866 setScreenRotationAnimationLocked(int displayId, ScreenRotationAnimation animation) argument
872 getScreenRotationAnimationLocked(int displayId) argument
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl64 void getInitialDisplaySize(int displayId, out Point size);
65 void getBaseDisplaySize(int displayId, out Point size);
66 void setForcedDisplaySize(int displayId, int width, int height);
67 void clearForcedDisplaySize(int displayId);
68 int getInitialDisplayDensity(int displayId);
69 int getBaseDisplayDensity(int displayId);
70 void setForcedDisplayDensity(int displayId, int density);
71 void clearForcedDisplayDensity(int displayId);
73 void setOverscan(int displayId, int left, int top, int right, int bottom);
223 Bitmap screenshotApplications(IBinder appToken, int displayId, in
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java88 public void clearForcedDisplaySize(int displayId) throws RemoteException { argument
93 public void clearForcedDisplayDensity(int displayId) throws RemoteException { argument
98 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
272 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, argument
335 public void getInitialDisplaySize(int displayId, Point size) { argument
340 public void getBaseDisplaySize(int displayId, Point size) { argument
345 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { argument
350 public int getInitialDisplayDensity(int displayId) { argument
355 public int getBaseDisplayDensity(int displayId) { argument
360 public void setForcedDisplayDensity(int displayId, in argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java298 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) { argument
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, DisplayManagerGloba
297 setDisplayInfoOverrideFromWindowManagerInternal( int displayId, DisplayInfo info) argument
760 assignLayerStackLocked(int displayId) argument
808 setDisplayPropertiesInternal(int displayId, boolean hasContent, float requestedRefreshRate, boolean inTraversal) argument
896 sendDisplayEventLocked(int displayId, int event) argument
914 deliverDisplayEvent(int displayId, int event) argument
1092 notifyDisplayEventAsync(int displayId, int event) argument
1112 getDisplayInfo(int displayId) argument
1479 getDisplayInfo(int displayId) argument
1502 setDisplayInfoOverrideFromWindowManager(int displayId, DisplayInfo info) argument
1512 setDisplayProperties(int displayId, boolean hasContent, float requestedRefreshRate, boolean inTraversal) argument
[all...]
H A DOverlayDisplayWindow.java277 public void onDisplayAdded(int displayId) {
281 public void onDisplayChanged(int displayId) {
282 if (displayId == mDefaultDisplay.getDisplayId()) {
293 public void onDisplayRemoved(int displayId) {
294 if (displayId == mDefaultDisplay.getDisplayId()) {
/frameworks/base/core/java/android/app/
H A DResourcesManager.java73 public DisplayMetrics getDisplayMetricsLocked(int displayId) { argument
74 return getDisplayMetricsLocked(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS);
77 public DisplayMetrics getDisplayMetricsLocked(int displayId, DisplayAdjustments daj) { argument
78 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY);
96 Display d = displayManager.getCompatibleDisplay(displayId, daj);
153 String[] overlayDirs, String[] libDirs, int displayId,
156 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale, token);
214 DisplayMetrics dm = getDisplayMetricsLocked(displayId);
216 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY);
292 int displayId
152 getTopLevelResources(String resDir, String[] splitResDirs, String[] overlayDirs, String[] libDirs, int displayId, Configuration overrideConfiguration, CompatibilityInfo compatInfo, IBinder token) argument
[all...]
H A DIActivityContainer.aidl28 void attachToDisplay(int displayId);
H A DPresentation.java325 public void onDisplayAdded(int displayId) {
329 public void onDisplayRemoved(int displayId) {
330 if (displayId == mDisplay.getDisplayId()) {
336 public void onDisplayChanged(int displayId) {
337 if (displayId == mDisplay.getDisplayId()) {
/frameworks/base/core/java/android/content/res/
H A DResourcesKey.java31 public ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, argument
34 mDisplayId = displayId;
/frameworks/native/services/inputflinger/
H A DInputListener.cpp72 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
77 edgeFlags(edgeFlags), displayId(displayId), pointerCount(pointerCount),
90 edgeFlags(other.edgeFlags), displayId(other.displayId),
69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
H A DInputDispatcher.cpp172 static bool isMainDisplay(int32_t displayId) { argument
173 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE;
441 int32_t displayId = motionEntry->displayId; local
446 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y);
471 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, argument
478 if (windowInfo->displayId == displayId) {
859 if (isMainDisplay(entry->displayId)) {
1128 int32_t displayId = entry->displayId; local
1602 int32_t displayId = windowHandle->getInfo()->displayId; local
2542 injectInputEvent(const InputEvent* event, int32_t displayId, int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, uint32_t policyFlags) argument
3922 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, int32_t displayId, uint32_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords, float xOffset, float yOffset) argument
[all...]
H A DInputListener.h91 int32_t displayId; member in struct:android::NotifyMotionArgs
103 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp95 int32_t displayId = DEFAULT_DISPLAY_ID; local
103 displayId = atoi(optarg);
143 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java49 public int addToDisplay(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, argument
66 int displayId, Rect arg3, Rect arg4)
65 addToDisplayWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, Rect arg3, Rect arg4) argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp56 jfieldID displayId; member in struct:android::__anon1007
159 mInfo->displayId = env->GetIntField(obj,
160 gInputWindowHandleClassInfo.displayId);
302 GET_FIELD_ID(gInputWindowHandleClassInfo.displayId, clazz,
303 "displayId", "I");

Completed in 510 milliseconds

123