Searched refs:displayId (Results 1 - 25 of 107) sorted by last modified time

12345

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouter.java2018 public Display getDisplay(int displayId) { argument
2019 return mDisplayManager.getDisplay(displayId);
/frameworks/support/compat/java/android/support/v4/hardware/display/
H A DDisplayManagerCompat.java77 * @param displayId The logical display id.
80 public abstract Display getDisplay(int displayId); argument
115 public Display getDisplay(int displayId) { argument
117 if (display.getDisplayId() == displayId) {
143 public Display getDisplay(int displayId) { argument
144 return mDisplayManager.getDisplay(displayId);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DOverlayDisplayWindow.java383 public void onDisplayAdded(int displayId) {
387 public void onDisplayChanged(int displayId) {
388 if (displayId == mDefaultDisplay.getDisplayId()) {
398 public void onDisplayRemoved(int displayId) {
399 if (displayId == mDefaultDisplay.getDisplayId()) {
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DOverlayDisplayWindow.java383 public void onDisplayAdded(int displayId) {
387 public void onDisplayChanged(int displayId) {
388 if (displayId == mDefaultDisplay.getDisplayId()) {
398 public void onDisplayRemoved(int displayId) {
399 if (displayId == mDefaultDisplay.getDisplayId()) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDeviceStateMonitor.java108 public void onDisplayAdded(int displayId) { }
111 public void onDisplayRemoved(int displayId) { }
114 public void onDisplayChanged(int displayId) {
/frameworks/native/include/input/
H A DDisplayViewport.h30 int32_t displayId; // -1 if invalid member in struct:android::DisplayViewport
45 displayId(ADISPLAY_ID_NONE), orientation(DISPLAY_ORIENTATION_0),
52 return displayId == other.displayId
72 return displayId >= 0;
76 displayId = ADISPLAY_ID_NONE;
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp329 const auto displayId = mHwc1VirtualDisplay->getId(); local
330 mHwc1DisplayMap[HWC_DISPLAY_VIRTUAL] = displayId;
332 mDisplays.emplace(displayId, mHwc1VirtualDisplay);
333 *outDisplay = displayId;
338 Error HWC2On1Adapter::destroyVirtualDisplay(hwc2_display_t displayId) { argument
341 if (!mHwc1VirtualDisplay || (mHwc1VirtualDisplay->getId() != displayId)) {
347 mDisplays.erase(displayId);
452 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; local
454 pendingVsyncs.emplace_back(displayId, timestamp);
469 auto displayId local
1938 auto displayId = mDisplay.getHwc1Id(); local
2267 getLayer( hwc2_display_t displayId, hwc2_layer_t layerId) argument
2379 auto displayId = mHwc1DisplayMap[hwc1Id]; local
2390 size_t displayId = 0; local
2475 auto displayId = mHwc1DisplayMap[hwc1Id]; local
2499 auto displayId = mHwc1DisplayMap[hwc1Id]; local
2556 auto displayId = mHwc1DisplayMap[hwc1DisplayId]; local
2582 hwc2_display_t displayId = UINT64_MAX; local
[all...]
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
H A DHWC2On1Adapter.h464 // hwc2_display_t displayId parameter.
467 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...),
469 auto display = getAdapter(device)->getDisplay(displayId);
478 static int32_t displayHook(hwc2_device_t* device, hwc2_display_t displayId, argument
480 return HWC2On1Adapter::callDisplayFunction(device, displayId, memFunc,
611 // hwc2_display_t displayId
616 hwc2_display_t displayId, hwc2_layer_t layerId,
618 auto result = getAdapter(device)->getLayer(displayId, layerId);
628 static int32_t layerHook(hwc2_device_t* device, hwc2_display_t displayId, argument
630 return HWC2On1Adapter::callLayerFunction(device, displayId, layerI
466 callDisplayFunction(hwc2_device_t* device, hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), Args... args) argument
615 callLayerFunction(hwc2_device_t* device, hwc2_display_t displayId, hwc2_layer_t layerId, HWC2::Error (Layer::*member)(Args...), Args... args) argument
[all...]
/frameworks/native/services/inputflinger/
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)) {
1142 int32_t displayId = entry->displayId; local
1624 int32_t displayId = windowHandle->getInfo()->displayId; local
1644 int32_t displayId = windowHandle->getInfo()->displayId; local
2598 injectInputEvent(const InputEvent* event, int32_t displayId, int32_t injectorPid, int32_t injectorUid, int32_t syncMode, int32_t timeoutMillis, uint32_t policyFlags) argument
3967 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 DInputDispatcher.h303 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId,
387 virtual int32_t injectInputEvent(const InputEvent* event, int32_t displayId,
521 int32_t displayId; member in struct:android::InputDispatcher::MotionEntry
531 int32_t displayId, uint32_t pointerCount,
717 bool isHovering(int32_t deviceId, uint32_t source, int32_t displayId) const;
773 int32_t displayId; member in struct:android::InputDispatcher::InputState::MotionMemento
895 sp<InputWindowHandle> findTouchedWindowAtLocked(int32_t displayId, int32_t x, int32_t y);
975 int32_t displayId; // id to the display that currently has a touch, others are rejected member in struct:android::InputDispatcher::TouchState
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 DInputListener.h92 int32_t displayId; member in struct:android::NotifyMotionArgs
105 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
H A DInputReader.cpp246 if (viewport != NULL && viewport->displayId >= 0) {
279 dump.appendFormat(INDENT5 "Viewport: displayId=%d, orientation=%d, uniqueId='%s', "
283 viewport.displayId, viewport.orientation, viewport.uniqueId.c_str(),
2717 int32_t displayId; local
2740 displayId = ADISPLAY_ID_DEFAULT;
2744 displayId = ADISPLAY_ID_NONE;
2783 displayId, 1, &pointerProperties, &pointerCoords,
2792 displayId, 1, &pointerProperties, &pointerCoords,
2804 displayId, 1, &pointerProperties, &pointerCoords,
2818 displayId,
2933 int32_t displayId = ADISPLAY_ID_NONE; local
[all...]
H A DInputReader.h195 bool getDisplayViewport(ViewportType viewportType, const String8* displayId,
H A DInputWindow.h135 int32_t displayId; member in struct:android::InputWindowInfo
/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp143 void setDisplayViewport(int32_t displayId, int32_t width, int32_t height, int32_t orientation, argument
145 DisplayViewport v = createDisplayViewport(displayId, width, height, orientation, uniqueId);
151 void setVirtualDisplayViewport(int32_t displayId, int32_t width, int32_t height, int32_t orientation, argument
154 viewports.push_back(createDisplayViewport(displayId, width, height, orientation, uniqueId));
188 DisplayViewport createDisplayViewport(int32_t displayId, int32_t width, int32_t height, argument
193 v.displayId = displayId;
1465 void setDisplayInfoAndReconfigure(int32_t displayId, int32_t width, int32_t height, argument
1467 mFakePolicy->setDisplayViewport(displayId, width, height, orientation, String8::empty());
1471 void setVirtualDisplayInfoAndReconfigure(int32_t displayId, int32_ argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h288 int32_t displayId = nextDisplayId++; member in struct:android::DisplayDeviceState
H A DSurfaceFlinger.cpp318 mInterceptor.saveDisplayDeletion(info.displayId);
1268 for (size_t displayId = 0; displayId < mDisplays.size(); ++displayId) {
1269 const sp<DisplayDevice>& displayDevice = mDisplays[displayId];
1398 for (size_t displayId = 0; displayId < mDisplays.size(); ++displayId) {
1399 const sp<DisplayDevice>& displayDevice = mDisplays[displayId];
1439 for (size_t displayId
[all...]
H A DSurfaceFlinger_hwc1.cpp298 mInterceptor.saveDisplayDeletion(info.displayId);
2867 mInterceptor.savePowerModeUpdate(mCurrentState.displays.valueAt(idx).displayId, mode);
H A DSurfaceInterceptor.cpp121 addDisplaySurfaceLocked(transaction, display.displayId, display.surface);
122 addDisplayLayerStackLocked(transaction, display.displayId, display.layerStack);
123 addDisplaySizeLocked(transaction, display.displayId, display.width, display.height);
124 addDisplayProjectionLocked(transaction, display.displayId, display.orientation,
176 int32_t displayId)
179 dispChange->set_id(displayId);
378 const DisplayState& state, int32_t displayId)
381 addDisplaySurfaceLocked(transaction, displayId, state.surface);
384 addDisplayLayerStackLocked(transaction, displayId, state.layerStack);
387 addDisplaySizeLocked(transaction, displayId, stat
175 createDisplayChangeLocked(Transaction* transaction, int32_t displayId) argument
377 addDisplayChangesLocked(Transaction* transaction, const DisplayState& state, int32_t displayId) argument
447 addDisplaySurfaceLocked(Transaction* transaction, int32_t displayId, const sp<const IGraphicBufferProducer>& surface) argument
467 addDisplayLayerStackLocked(Transaction* transaction, int32_t displayId, uint32_t layerStack) argument
475 addDisplaySizeLocked(Transaction* transaction, int32_t displayId, uint32_t w, uint32_t h) argument
484 addDisplayProjectionLocked(Transaction* transaction, int32_t displayId, int32_t orientation, const Rect& viewport, const Rect& frame) argument
506 addDisplayDeletionLocked(Increment* increment, int32_t displayId) argument
511 addPowerModeUpdateLocked(Increment* increment, int32_t displayId, int32_t mode) argument
578 saveDisplayDeletion(int32_t displayId) argument
584 addDisplayDeletionLocked(createTraceIncrementLocked(), displayId); local
587 savePowerModeUpdate(int32_t displayId, int32_t mode) argument
593 addPowerModeUpdateLocked(createTraceIncrementLocked(), displayId, mode); local
[all...]
H A DSurfaceInterceptor.h63 void saveDisplayDeletion(int32_t displayId);
64 void savePowerModeUpdate(int32_t displayId, int32_t mode);
89 void addDisplayDeletionLocked(Increment* increment, int32_t displayId);
90 void addPowerModeUpdateLocked(Increment* increment, int32_t displayId, int32_t mode);
117 DisplayChange* createDisplayChangeLocked(Transaction* transaction, int32_t displayId);
118 void addDisplaySurfaceLocked(Transaction* transaction, int32_t displayId,
120 void addDisplayLayerStackLocked(Transaction* transaction, int32_t displayId,
122 void addDisplaySizeLocked(Transaction* transaction, int32_t displayId, uint32_t w,
124 void addDisplayProjectionLocked(Transaction* transaction, int32_t displayId,
127 const DisplayState& state, int32_t displayId);
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp38 hwc2_display_t displayId, int32_t intConnected) {
40 auto display = device->getDisplayById(displayId);
46 displayId);
51 hwc2_display_t displayId) {
53 auto display = device->getDisplayById(displayId);
58 displayId);
63 hwc2_display_t displayId, int64_t timestamp) {
65 auto display = device->getDisplayById(displayId);
70 displayId);
153 hwc2_display_t displayId local
37 hotplug_hook(hwc2_callback_data_t callbackData, hwc2_display_t displayId, int32_t intConnected) argument
50 refresh_hook(hwc2_callback_data_t callbackData, hwc2_display_t displayId) argument
62 vsync_hook(hwc2_callback_data_t callbackData, hwc2_display_t displayId, int64_t timestamp) argument
[all...]
H A DHWComposer.cpp118 bool HWComposer::isValidDisplay(int32_t displayId) const {
119 return static_cast<size_t>(displayId) < mDisplayData.size() &&
120 mDisplayData[displayId].hwcDisplay;
267 std::shared_ptr<HWC2::Layer> HWComposer::createLayer(int32_t displayId) { argument
268 if (!isValidDisplay(displayId)) {
269 ALOGE("Failed to create layer on invalid display %d", displayId);
272 auto display = mDisplayData[displayId].hwcDisplay;
276 ALOGE("Failed to create layer on display %d: %s (%d)", displayId,
283 nsecs_t HWComposer::getRefreshTimestamp(int32_t displayId) const {
289 auto vsyncPeriod = getActiveConfig(displayId)
363 setActiveColorMode(int32_t displayId, android_color_mode_t mode) argument
382 setVsyncEnabled(int32_t displayId, HWC2::Vsync enabled) argument
418 setClientTarget(int32_t displayId, uint32_t slot, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target, android_dataspace_t dataspace) argument
441 auto displayId = displayDevice.getHwcDisplayId(); local
599 getLayerReleaseFence(int32_t displayId, const std::shared_ptr<HWC2::Layer>& layer) const argument
613 presentAndGetReleaseFences(int32_t displayId) argument
656 setPowerMode(int32_t displayId, int32_t intMode) argument
721 setActiveConfig(int32_t displayId, size_t configId) argument
745 setColorTransform(int32_t displayId, const mat4& transform) argument
767 disconnectDisplay(int displayId) argument
791 setOutputBuffer(int32_t displayId, const sp<Fence>& acquireFence, const sp<GraphicBuffer>& buffer) argument
823 clearReleaseFences(int32_t displayId) argument
831 getHdrCapabilities( int32_t displayId) argument
[all...]
H A DHWComposer.h95 std::shared_ptr<HWC2::Layer> createLayer(int32_t displayId);
100 status_t setClientTarget(int32_t displayId, uint32_t slot,
105 status_t presentAndGetReleaseFences(int32_t displayId);
108 status_t setPowerMode(int32_t displayId, int mode);
111 status_t setActiveConfig(int32_t displayId, size_t configId);
114 status_t setColorTransform(int32_t displayId, const mat4& transform);
117 void disconnectDisplay(int32_t displayId);
120 bool hasDeviceComposition(int32_t displayId) const;
123 bool hasClientComposition(int32_t displayId) const;
126 sp<Fence> getPresentFence(int32_t displayId) cons
[all...]
/frameworks/native/services/surfaceflinger/tests/
H A DSurfaceInterceptor_test.cpp116 int32_t displayId = 0; local
120 displayId = increment.display_creation().id();
125 return displayId;

Completed in 6961 milliseconds

12345