Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/wm/
DInputManager.java68 private static native void nativeSetDisplaySize(int displayId, int width, int height, in nativeSetDisplaySize() argument
70 private static native void nativeSetDisplayOrientation(int displayId, int rotation); in nativeSetDisplayOrientation() argument
157 public void setDisplaySize(int displayId, int width, int height, in setDisplaySize() argument
164 Slog.d(TAG, "Setting display #" + displayId + " size to " + width + "x" + height in setDisplaySize()
167 nativeSetDisplaySize(displayId, width, height, externalWidth, externalHeight); in setDisplaySize()
170 public void setDisplayOrientation(int displayId, int rotation) { in setDisplayOrientation() argument
176 Slog.d(TAG, "Setting display #" + displayId + " orientation to " + rotation); in setDisplayOrientation()
178 nativeSetDisplayOrientation(displayId, rotation); in setDisplayOrientation()
/frameworks/base/services/jni/
Dcom_android_server_InputManager.cpp175 void setDisplaySize(int32_t displayId, int32_t width, int32_t height,
177 void setDisplayOrientation(int32_t displayId, int32_t orientation);
322 void NativeInputManager::setDisplaySize(int32_t displayId, int32_t width, int32_t height, in setDisplaySize() argument
325 if (displayId == 0) { in setDisplaySize()
353 void NativeInputManager::setDisplayOrientation(int32_t displayId, int32_t orientation) { in setDisplayOrientation() argument
355 if (displayId == 0) { in setDisplayOrientation()
990 jint displayId, jint width, jint height, jint externalWidth, jint externalHeight) { in android_server_InputManager_nativeSetDisplaySize() argument
999 gNativeInputManager->setDisplaySize(displayId, width, height, externalWidth, externalHeight); in android_server_InputManager_nativeSetDisplaySize()
1003 jint displayId, jint orientation) { in android_server_InputManager_nativeSetDisplayOrientation() argument
1008 gNativeInputManager->setDisplayOrientation(displayId, orientation); in android_server_InputManager_nativeSetDisplayOrientation()
/frameworks/base/core/java/android/view/
DDisplay.java406 public static Display createCompatibleDisplay(int displayId, CompatibilityInfoHolder compat) { in createCompatibleDisplay() argument
407 return new Display(displayId, compat); in createCompatibleDisplay()
/frameworks/base/services/input/
DInputReader.h167 bool getDisplayInfo(int32_t displayId, bool external,
170 void setDisplayInfo(int32_t displayId, bool external,
DInputReader.cpp203 bool InputReaderConfiguration::getDisplayInfo(int32_t displayId, bool external, in getDisplayInfo() argument
205 if (displayId == 0) { in getDisplayInfo()
223 void InputReaderConfiguration::setDisplayInfo(int32_t displayId, bool external, in setDisplayInfo() argument
225 if (displayId == 0) { in setDisplayInfo()
/frameworks/base/services/input/tests/
DInputReader_test.cpp138 void setDisplayInfo(int32_t displayId, int32_t width, int32_t height, int32_t orientation) { in setDisplayInfo() argument
140 mConfig.setDisplayInfo(displayId, false /*external*/, width, height, orientation); in setDisplayInfo()
141 mConfig.setDisplayInfo(displayId, true /*external*/, width, height, orientation); in setDisplayInfo()
1433 void setDisplayInfoAndReconfigure(int32_t displayId, int32_t width, int32_t height, in setDisplayInfoAndReconfigure() argument
1435 mFakePolicy->setDisplayInfo(displayId, width, height, orientation); in setDisplayInfoAndReconfigure()