/frameworks/base/core/java/android/hardware/display/ |
IDisplayManagerCallback.aidl | 21 oneway void onDisplayEvent(int displayId, int event);
|
DisplayManagerGlobal.java | 100 * @param displayId The logical display id. 104 public DisplayInfo getDisplayInfo(int displayId) { 109 info = mDisplayInfoCache.get(displayId); 115 info = mDm.getDisplayInfo(displayId); 121 mDisplayInfoCache.put(displayId, info); 126 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info); 169 * @param displayId The logical display id. 173 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { 174 DisplayInfo displayInfo = getDisplayInfo(displayId); [all...] |
DisplayManager.java | 186 * @param displayId The logical display id. 189 public Display getDisplay(int displayId) { 191 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/); 260 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { 261 Display display = mDisplays.get(displayId); 263 display = mGlobal.getCompatibleDisplay(displayId, 264 mContext.getDisplayAdjustments(displayId)); 266 mDisplays.put(displayId, display); 437 * @param displayId The id of the logical display that was added. 439 void onDisplayAdded(int displayId); [all...] |
IDisplayManager.aidl | 27 DisplayInfo getDisplayInfo(int displayId);
|
/frameworks/base/services/java/com/android/server/display/ |
DisplayViewport.java | 34 public int displayId; 55 displayId = viewport.displayId; 67 + ", displayId=" + displayId
|
DisplayManagerService.java | 317 * @param displayId The logical display id. 321 int displayId, DisplayInfo info) { 323 LogicalDisplay display = mLogicalDisplays.get(displayId); 326 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); 382 * @param displayId The logical display id. 387 public DisplayInfo getDisplayInfo(int displayId) { 392 LogicalDisplay display = mLogicalDisplays.get(displayId); [all...] |
OverlayDisplayWindow.java | 277 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()) {
|
/frameworks/base/services/java/com/android/server/input/ |
InputWindowHandle.java | 92 public final int displayId; 97 Object windowState, int displayId) { 100 this.displayId = displayId;
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/hardware/display/ |
DisplayManagerJellybeanMr1.java | 27 public static Display getDisplay(Object displayManagerObj, int displayId) { 28 return ((android.hardware.display.DisplayManager)displayManagerObj).getDisplay(displayId);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowDisplay.java | 16 private int displayId; 51 return displayId; 109 public void setDisplayId(int displayId) { 110 this.displayId = displayId;
|
/frameworks/base/core/java/android/view/ |
IWindowManager.aidl | 63 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); 208 Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth [all...] |
/frameworks/support/v4/java/android/support/v4/hardware/display/ |
DisplayManagerCompat.java | 75 * @param displayId The logical display id. 78 public abstract Display getDisplay(int displayId); 113 public Display getDisplay(int displayId) { 115 if (display.getDisplayId() == displayId) { 140 public Display getDisplay(int displayId) { 141 return DisplayManagerJellybeanMr1.getDisplay(mDisplayManagerObj, displayId);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PresentationActivity.java | 97 // List of presentation contents indexed by displayId. 178 int displayId = mActivePresentations.keyAt(i); 179 mSavedPresentationContents.put(displayId, presentation.mContents); 196 final int displayId = display.getDisplayId(); 197 if (mActivePresentations.get(displayId) != null) { 202 + " on display #" + displayId + "."); 207 mActivePresentations.put(displayId, presentation); 214 final int displayId = display.getDisplayId(); 215 DemoPresentation presentation = mActivePresentations.get(displayId); 220 Log.d(TAG, "Dismissing presentation on display #" + displayId + ".") [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
WindowAnimator.java | 104 void addDisplayLocked(final int displayId) { 106 getDisplayContentsAnimatorLocked(displayId); 107 if (displayId == Display.DEFAULT_DISPLAY) { 112 void removeDisplayLocked(final int displayId) { 113 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId); 121 mDisplayContentsAnimators.delete(displayId); 159 private void updateAppWindowsLocked(int displayId) { 160 final DisplayContent displayContent = mService.getDisplayContentLocked(displayId); 200 private void updateWindowsLocked(final int displayId) { 203 final WindowList windows = mService.getWindowListLocked(displayId); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
IWindowManagerImpl.java | 97 public void clearForcedDisplaySize(int displayId) throws RemoteException { 102 public void clearForcedDisplayDensity(int displayId) throws RemoteException { 107 public void setOverscan(int displayId, int left, int top, int right, int bottom) 269 public Bitmap screenshotApplications(IBinder arg0, int displayId, int arg1, 327 public void getInitialDisplaySize(int displayId, Point size) { 332 public void getBaseDisplaySize(int displayId, Point size) { 337 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { 342 public int getInitialDisplayDensity(int displayId) { 347 public int getBaseDisplayDensity(int displayId) { 352 public void setForcedDisplayDensity(int displayId, int density) throws RemoteException [all...] |
/frameworks/base/core/java/android/app/ |
ResourcesManager.java | 73 public DisplayMetrics getDisplayMetricsLocked(int displayId) { 74 return getDisplayMetricsLocked(displayId, DisplayAdjustments.DEFAULT_DISPLAY_ADJUSTMENTS); 77 public DisplayMetrics getDisplayMetricsLocked(int displayId, DisplayAdjustments daj) { 78 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); 96 Display d = displayManager.getCompatibleDisplay(displayId, daj); 150 public Resources getTopLevelResources(String resDir, int displayId, 153 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale, 184 DisplayMetrics dm = getDisplayMetricsLocked(displayId); 186 boolean isDefaultDisplay = (displayId == Display.DEFAULT_DISPLAY); 262 int displayId = key.mDisplayId [all...] |
Presentation.java | 325 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()) {
|
/external/chromium_org/third_party/angle_dx11/src/libEGL/ |
Display.h | 38 static egl::Display *getDisplay(EGLNativeDisplayType displayId); 68 Display(EGLNativeDisplayType displayId, HDC deviceContext);
|
Display.cpp | 34 egl::Display *Display::getDisplay(EGLNativeDisplayType displayId) 36 if (displays.find(displayId) != displays.end()) 38 return displays[displayId]; 41 // FIXME: Check if displayId is a valid display device context 43 egl::Display *display = new egl::Display(displayId, (HDC)displayId); 45 displays[displayId] = display; 49 Display::Display(EGLNativeDisplayType displayId, HDC deviceContext) : mDc(deviceContext) 51 mDisplayId = displayId;
|
/frameworks/base/core/java/android/content/res/ |
ResourcesKey.java | 31 public ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, 34 mDisplayId = displayId;
|
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
Renderer.cpp | 170 rx::Renderer *glCreateRenderer(egl::Display *display, HDC hDc, EGLNativeDisplayType displayId) 176 displayId == EGL_D3D11_ELSE_D3D9_DISPLAY_ANGLE || 177 displayId == EGL_D3D11_ONLY_DISPLAY_ANGLE) 190 else if (displayId == EGL_D3D11_ONLY_DISPLAY_ANGLE) 199 bool softwareDevice = (displayId == EGL_SOFTWARE_DISPLAY_ANGLE);
|
/frameworks/base/services/input/ |
InputListener.cpp | 72 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount, 77 edgeFlags(edgeFlags), displayId(displayId), pointerCount(pointerCount), 90 edgeFlags(other.edgeFlags), displayId(other.displayId),
|
InputDispatcher.cpp | 171 static bool isMainDisplay(int32_t displayId) { 172 return displayId == ADISPLAY_ID_DEFAULT || displayId == ADISPLAY_ID_NONE; 438 int32_t displayId = motionEntry->displayId; 443 sp<InputWindowHandle> touchedWindowHandle = findTouchedWindowAtLocked(displayId, x, y); 468 sp<InputWindowHandle> InputDispatcher::findTouchedWindowAtLocked(int32_t displayId, 475 if (windowInfo->displayId == displayId) { 862 if (isMainDisplay(entry->displayId)) { [all...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 95 int32_t displayId = DEFAULT_DISPLAY_ID; 103 displayId = atoi(optarg); 143 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId);
|
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/ |
main.h | 61 rx::Renderer *glCreateRenderer(egl::Display *display, HDC hDc, EGLNativeDisplayType displayId);
|