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

12

/frameworks/base/core/java/android/hardware/display/
H A DIDisplayManagerCallback.aidl21 oneway void onDisplayEvent(int displayId, int event);
H A DDisplayManagerGlobal.java102 * @param displayId The logical display id.
106 public DisplayInfo getDisplayInfo(int displayId) { argument
111 info = mDisplayInfoCache.get(displayId);
117 info = mDm.getDisplayInfo(displayId);
123 mDisplayInfoCache.put(displayId, info);
128 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info);
171 * @param displayId The logical display id.
175 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { argument
176 DisplayInfo displayInfo = getDisplayInfo(displayId);
189 getRealDisplay(int displayId) argument
200 getRealDisplay(int displayId, IBinder token) argument
255 handleDisplayEvent(int displayId, int event) argument
420 onDisplayEvent(int displayId, int event) argument
436 sendDisplayEvent(int displayId, int event) argument
[all...]
H A DDisplayManager.java186 * @param displayId The logical display id.
189 public Display getDisplay(int displayId) { argument
191 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/);
260 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { argument
261 Display display = mDisplays.get(displayId);
263 display = mGlobal.getCompatibleDisplay(displayId,
264 mContext.getDisplayAdjustments(displayId));
266 mDisplays.put(displayId, display);
455 * @param displayId The id of the logical display that was added.
457 void onDisplayAdded(int displayId); argument
464 onDisplayRemoved(int displayId) argument
471 onDisplayChanged(int displayId) argument
[all...]
H A DIDisplayManager.aidl27 DisplayInfo getDisplayInfo(int displayId);
/frameworks/base/services/java/com/android/server/display/
H A DDisplayViewport.java34 public int displayId; field in class:DisplayViewport
55 displayId = viewport.displayId;
67 + ", displayId=" + displayId
H A DDisplayManagerService.java321 * @param displayId The logical display id.
325 int displayId, DisplayInfo info) {
327 LogicalDisplay display = mLogicalDisplays.get(displayId);
330 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED);
386 * @param displayId The logical display id.
391 public DisplayInfo getDisplayInfo(int displayId) { argument
396 LogicalDisplay display = mLogicalDisplays.get(displayId);
936 final int displayId = assignDisplayIdLocked(isDefault);
937 final int layerStack = assignLayerStackLocked(displayId);
939 LogicalDisplay display = new LogicalDisplay(displayId, layerStac
324 setDisplayInfoOverrideFromWindowManager( int displayId, DisplayInfo info) argument
962 assignLayerStackLocked(int displayId) argument
1024 setDisplayHasContent(int displayId, boolean hasContent, boolean inTraversal) argument
1102 sendDisplayEventLocked(int displayId, int event) argument
1120 deliverDisplayEvent(int displayId, int event) argument
1321 notifyDisplayEventAsync(int displayId, int event) argument
[all...]
H A DOverlayDisplayWindow.java277 public void onDisplayAdded(int displayId) {
281 public void onDisplayChanged(int displayId) {
282 if (displayId == mDefaultDisplay.getDisplayId()) {
292 public void onDisplayRemoved(int displayId) {
293 if (displayId == mDefaultDisplay.getDisplayId()) {
H A DLogicalDisplay.java79 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { argument
80 mDisplayId = displayId;
/frameworks/base/services/java/com/android/server/input/
H A DInputWindowHandle.java92 public final int displayId; field in class:InputWindowHandle
97 Object windowState, int displayId) {
100 this.displayId = displayId;
96 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/view/
H A DIWindowManager.aidl63 void getInitialDisplaySize(int displayId, out Point size);
64 void getBaseDisplaySize(int displayId, out Point size);
65 void setForcedDisplaySize(int displayId, int width, int height);
66 void clearForcedDisplaySize(int displayId);
67 int getInitialDisplayDensity(int displayId);
68 int getBaseDisplayDensity(int displayId);
69 void setForcedDisplayDensity(int displayId, int density);
70 void clearForcedDisplayDensity(int displayId);
72 void setOverscan(int displayId, int left, int top, int right, int bottom);
209 Bitmap screenshotApplications(IBinder appToken, int displayId, in
[all...]
H A DDisplay.java215 int displayId, DisplayInfo displayInfo /*not null*/,
218 mDisplayId = displayId;
214 Display(DisplayManagerGlobal global, int displayId, DisplayInfo displayInfo , DisplayAdjustments daj) 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/java/com/android/server/wm/
H A DWindowAnimator.java104 void addDisplayLocked(final int displayId) { argument
106 getDisplayContentsAnimatorLocked(displayId);
107 if (displayId == Display.DEFAULT_DISPLAY) {
112 void removeDisplayLocked(final int displayId) { argument
113 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId);
121 mDisplayContentsAnimators.delete(displayId);
153 private void updateAppWindowsLocked(int displayId) { argument
154 final DisplayContent displayContent = mService.getDisplayContentLocked(displayId);
194 private void updateWindowsLocked(final int displayId) { argument
197 final WindowList windows = mService.getWindowListLocked(displayId);
347 updateWallpaperLocked(int displayId) argument
408 testTokenMayBeDrawnLocked(int displayId) argument
452 performAnimationsLocked(final int displayId) argument
644 getPendingLayoutChanges(final int displayId) argument
648 setPendingLayoutChanges(final int displayId, final int changes) argument
669 getDisplayContentsAnimatorLocked(int displayId) argument
678 setScreenRotationAnimationLocked(int displayId, ScreenRotationAnimation animation) argument
682 getScreenRotationAnimationLocked(int displayId) argument
[all...]
H A DDimLayer.java57 final int displayId = mDisplayContent.getDisplayId();
58 if (DEBUG) Slog.v(TAG, "Ctor: displayId=" + displayId);
74 mDimSurface.setLayerStack(displayId);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java97 public void clearForcedDisplaySize(int displayId) throws RemoteException { argument
102 public void clearForcedDisplayDensity(int displayId) throws RemoteException { argument
107 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
269 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, argument
327 public void getInitialDisplaySize(int displayId, Point size) { argument
332 public void getBaseDisplaySize(int displayId, Point size) { argument
337 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { argument
342 public int getInitialDisplayDensity(int displayId) { argument
347 public int getBaseDisplayDensity(int displayId) { argument
352 public void setForcedDisplayDensity(int displayId, in argument
[all...]
/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);
150 public Resources getTopLevelResources(String resDir, int displayId, argument
153 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale,
184 DisplayMetrics dm = getDisplayMetricsLocked(displayId);
186 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY);
262 int displayId
[all...]
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/base/services/input/
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.cpp171 static bool isMainDisplay(int32_t displayId) { argument
172 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE;
438 int32_t displayId = motionEntry->displayId; local
443 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y);
468 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, argument
475 if (windowInfo->displayId == displayId) {
862 if (isMainDisplay(entry->displayId)) {
1155 int32_t displayId = entry->displayId; local
1645 int32_t displayId = windowHandle->getInfo()->displayId; local
2590 int32_t displayId = ADISPLAY_ID_DEFAULT; local
3896 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) 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)
65 addToDisplayWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, Rect arg3) argument
/frameworks/base/services/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp56 jfieldID displayId; member in struct:android::__anon1195
158 mInfo->displayId = env->GetIntField(obj,
159 gInputWindowHandleClassInfo.displayId);
304 GET_FIELD_ID(gInputWindowHandleClassInfo.displayId, clazz,
305 "displayId", "I");

Completed in 376 milliseconds

12