Searched refs:displayId (Results 1 - 25 of 75) 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);
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
243 handleDisplayEvent(int displayId, int event) argument
357 requestColorMode(int displayId, int colorMode) argument
430 onDisplayEvent(int displayId, int event) argument
446 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);
550 * @param displayId The id of the logical display that was added.
552 void onDisplayAdded(int displayId); argument
559 onDisplayRemoved(int displayId) argument
566 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.
133 public abstract void setDisplayProperties(int displayId, boolean hasContent, argument
143 * @param displayId The logical display id to update.
147 public abstract void setDisplayOffsets(int displayId, int x, int y); argument
99 setDisplayInfoOverrideFromWindowManager( int displayId, DisplayInfo info) argument
H A DIDisplayManager.aidl29 DisplayInfo getDisplayInfo(int displayId);
63 void requestColorMode(int displayId, int colorMode);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp152 bool HWComposer::isValidDisplay(int32_t displayId) const {
153 return static_cast<size_t>(displayId) < mDisplayData.size() &&
154 mDisplayData[displayId].hwcDisplay;
292 std::shared_ptr<HWC2::Layer> HWComposer::createLayer(int32_t displayId) { argument
293 if (!isValidDisplay(displayId)) {
294 ALOGE("Failed to create layer on invalid display %d", displayId);
297 auto display = mDisplayData[displayId].hwcDisplay;
301 ALOGE("Failed to create layer on display %d: %s (%d)", displayId,
327 HWComposer::getConfigs(int32_t displayId) const {
328 if (!isValidDisplay(displayId)) {
388 setActiveColorMode(int32_t displayId, android_color_mode_t mode) argument
442 setClientTarget(int32_t displayId, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target, android_dataspace_t dataspace) argument
469 auto displayId = displayDevice.getHwcDisplayId(); local
600 getLayerReleaseFence(int32_t displayId, const std::shared_ptr<HWC2::Layer>& layer) const argument
614 commit(int32_t displayId) argument
644 setPowerMode(int32_t displayId, int32_t intMode) argument
709 setActiveConfig(int32_t displayId, size_t configId) argument
733 setColorTransform(int32_t displayId, const mat4& transform) argument
755 disconnectDisplay(int displayId) argument
779 setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) argument
811 clearReleaseFences(int32_t displayId) argument
819 getHdrCapabilities( int32_t displayId) argument
[all...]
H A DHWComposer.h92 std::shared_ptr<HWC2::Layer> createLayer(int32_t displayId);
97 status_t setClientTarget(int32_t displayId, const sp<Fence>& acquireFence,
101 status_t commit(int32_t displayId);
104 status_t setPowerMode(int32_t displayId, int mode);
107 status_t setActiveConfig(int32_t displayId, size_t configId);
110 status_t setColorTransform(int32_t displayId, const mat4& transform);
113 void disconnectDisplay(int32_t displayId);
116 bool hasDeviceComposition(int32_t displayId) const;
119 bool hasClientComposition(int32_t displayId) const;
123 sp<Fence> getRetireFence(int32_t displayId) cons
[all...]
H A DHWC2On1Adapter.cpp372 const auto displayId = mHwc1VirtualDisplay->getId(); local
373 mHwc1DisplayMap[HWC_DISPLAY_VIRTUAL] = displayId;
375 mDisplays.emplace(displayId, mHwc1VirtualDisplay);
376 *outDisplay = displayId;
381 Error HWC2On1Adapter::destroyVirtualDisplay(hwc2_display_t displayId) argument
385 if (!mHwc1VirtualDisplay || (mHwc1VirtualDisplay->getId() != displayId)) {
391 mDisplays.erase(displayId);
499 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; local
501 pendingVsyncs.emplace_back(displayId, timestamp);
516 auto displayId local
2020 auto displayId = mDisplay.getHwc1Id(); local
2375 getLayer( hwc2_display_t displayId, hwc2_layer_t layerId) argument
2498 auto displayId = mHwc1DisplayMap[hwc1Id]; local
2518 auto displayId = mHwc1DisplayMap[hwc1Id]; local
2541 auto displayId = mHwc1DisplayMap[hwc1Id]; local
2600 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; local
2627 hwc2_display_t displayId = UINT64_MAX; local
[all...]
/frameworks/support/compat/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/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/compat/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.java152 void addDisplayLocked(final int displayId) { argument
154 getDisplayContentsAnimatorLocked(displayId);
155 if (displayId == Display.DEFAULT_DISPLAY) {
160 void removeDisplayLocked(final int displayId) { argument
161 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId);
169 mDisplayContentsAnimators.delete(displayId);
172 private void updateAppWindowsLocked(int displayId) { argument
173 ArrayList<TaskStack> stacks = mService.getDisplayContentLocked(displayId).getStacks();
182 if (appAnimator.stepAnimationLocked(mCurrentTime, displayId)) {
190 "appToken " + appAnimator.mAppToken + " done", displayId);
283 updateWindowsLocked(final int displayId) argument
585 updateWallpaperLocked(int displayId) argument
652 testTokenMayBeDrawnLocked(int displayId) argument
932 getPendingLayoutChanges(final int displayId) argument
940 setPendingLayoutChanges(final int displayId, final int changes) argument
950 setAppLayoutChanges(final AppWindowAnimator appAnimator, final int changes, String reason, final int displayId) argument
965 getDisplayContentsAnimatorLocked(int displayId) argument
974 setScreenRotationAnimationLocked(int displayId, ScreenRotationAnimation animation) argument
980 getScreenRotationAnimationLocked(int displayId) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
H A DDisplayDensityUtils.java196 * @param displayId the identifier of the display
200 private static int getDefaultDisplayDensity(int displayId) { argument
203 return wm.getInitialDisplayDensity(displayId);
215 * @param displayId the identifier of the display to modify
217 public static void clearForcedDisplayDensity(final int displayId) { argument
222 wm.clearForcedDisplayDensityForUser(displayId, userId);
235 * @param displayId the identifier of the display to modify
238 public static void setForcedDisplayDensity(final int displayId, final int density) { argument
243 wm.setForcedDisplayDensityForUser(displayId, density, userId);
/frameworks/base/core/java/android/hardware/input/
H A DInputManagerInternal.java31 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java319 int displayId, DisplayInfo info) {
321 LogicalDisplay display = mLogicalDisplays.get(displayId);
324 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED);
392 private DisplayInfo getDisplayInfoInternal(int displayId, int callingUid) { argument
394 LogicalDisplay display = mLogicalDisplays.get(displayId);
556 private void requestColorModeInternal(int displayId, int colorMode) { argument
558 LogicalDisplay display = mLogicalDisplays.get(displayId);
815 final int displayId = assignDisplayIdLocked(isDefault);
816 final int layerStack = assignLayerStackLocked(displayId);
818 LogicalDisplay display = new LogicalDisplay(displayId, layerStac
318 setDisplayInfoOverrideFromWindowManagerInternal( int displayId, DisplayInfo info) argument
842 assignLayerStackLocked(int displayId) argument
890 setDisplayPropertiesInternal(int displayId, boolean hasContent, float requestedRefreshRate, int requestedModeId, boolean inTraversal) argument
922 setDisplayOffsetsInternal(int displayId, int x, int y) argument
1001 sendDisplayEventLocked(int displayId, int event) argument
1019 deliverDisplayEvent(int displayId, int event) argument
1201 notifyDisplayEventAsync(int displayId, int event) argument
1221 getDisplayInfo(int displayId) argument
1391 requestColorMode(int displayId, int colorMode) argument
1607 getDisplayInfo(int displayId) argument
1630 setDisplayInfoOverrideFromWindowManager(int displayId, DisplayInfo info) argument
1640 setDisplayProperties(int displayId, boolean hasContent, float requestedRefreshRate, int requestedMode, boolean inTraversal) argument
1647 setDisplayOffsets(int displayId, int x, int y) argument
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl70 void getInitialDisplaySize(int displayId, out Point size);
71 void getBaseDisplaySize(int displayId, out Point size);
72 void setForcedDisplaySize(int displayId, int width, int height);
73 void clearForcedDisplaySize(int displayId);
74 int getInitialDisplayDensity(int displayId);
75 int getBaseDisplayDensity(int displayId);
76 void setForcedDisplayDensityForUser(int displayId, int density, int userId);
77 void clearForcedDisplayDensityForUser(int displayId, int userId);
78 void setForcedDisplayScalingMode(int displayId, int mode); // 0 = auto, 1 = disable
80 void setOverscan(int displayId, in
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java94 public void clearForcedDisplaySize(int displayId) throws RemoteException { argument
99 public void clearForcedDisplayDensityForUser(int displayId, int userId) throws RemoteException { argument
104 public void setOverscan(int displayId, int left, int top, int right, int bottom) argument
304 public Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, argument
375 public void getInitialDisplaySize(int displayId, Point size) { argument
380 public void getBaseDisplaySize(int displayId, Point size) { argument
385 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { argument
390 public int getInitialDisplayDensity(int displayId) { argument
395 public int getBaseDisplayDensity(int displayId) { argument
400 public void setForcedDisplayDensityForUser(int displayId, in argument
406 setForcedDisplayScalingMode(int displayId, int mode) argument
[all...]
/frameworks/base/core/java/android/app/
H A DIActivityContainer.aidl28 void attachToDisplay(int displayId);
H A 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/base/cmds/screencap/
H A Dscreencap.cpp91 int32_t displayId = DEFAULT_DISPLAY_ID; local
99 displayId = atoi(optarg);
148 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId);
150 fprintf(stderr, "Unable to get handle for display %d\n", displayId);
/frameworks/native/services/inputflinger/
H A DInputListener.cpp72 int32_t buttonState, int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
78 edgeFlags(edgeFlags), displayId(displayId), pointerCount(pointerCount),
91 edgeFlags(other.edgeFlags), displayId(other.displayId), pointerCount(other.pointerCount),
69 NotifyMotionArgs(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, 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.cpp175 static bool isMainDisplay(int32_t displayId) { argument
176 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE;
446 int32_t displayId = motionEntry->displayId; local
451 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y);
476 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, argument
483 if (windowInfo->displayId == displayId) {
873 if (isMainDisplay(entry->displayId)) {
1144 int32_t displayId = entry->displayId; local
1616 int32_t displayId = windowHandle->getInfo()->displayId; local
1636 int32_t displayId = windowHandle->getInfo()->displayId; local
2590 injectInputEvent(const InputEvent* event, int32_t displayId, int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, uint32_t policyFlags) argument
3959 MotionEntry(nsecs_t eventTime, int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, 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.h92 int32_t displayId; member in struct:android::NotifyMotionArgs
105 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
/frameworks/base/core/java/android/content/res/
H A DResourcesKey.java54 int displayId,
61 mDisplayId = displayId;
50 ResourcesKey(@ullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @Nullable CompatibilityInfo compatInfo) argument

Completed in 394 milliseconds

123