/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer.cpp | 147 bool HWComposer::isValidDisplay(int32_t displayId) const { 148 return static_cast<size_t>(displayId) < mDisplayData.size() && 149 mDisplayData[displayId].hwcDisplay; 287 std::shared_ptr<HWC2::Layer> HWComposer::createLayer(int32_t displayId) { 288 if (!isValidDisplay(displayId)) { 289 ALOGE("Failed to create layer on invalid display %d", displayId); 292 auto display = mDisplayData[displayId].hwcDisplay; 296 ALOGE("Failed to create layer on display %d: %s (%d)", displayId, 322 HWComposer::getConfigs(int32_t displayId) const { 323 if (!isValidDisplay(displayId)) { [all...] |
HWComposer.h | 90 std::shared_ptr<HWC2::Layer> createLayer(int32_t displayId); 95 status_t setClientTarget(int32_t displayId, const sp<Fence>& acquireFence, 99 status_t commit(int32_t displayId); 102 status_t setPowerMode(int32_t displayId, int mode); 105 status_t setActiveConfig(int32_t displayId, size_t configId); 108 void disconnectDisplay(int32_t displayId); 111 bool hasDeviceComposition(int32_t displayId) const; 114 bool hasClientComposition(int32_t displayId) const; 118 sp<Fence> getRetireFence(int32_t displayId) const; 121 sp<Fence> getLayerReleaseFence(int32_t displayId, [all...] |
/frameworks/base/core/java/android/hardware/display/ |
DisplayManagerGlobal.java | 104 * @param displayId The logical display id. 108 public DisplayInfo getDisplayInfo(int displayId) { 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) { 176 DisplayInfo displayInfo = getDisplayInfo(displayId); [all...] |
DisplayViewport.java | 36 public int displayId; 57 displayId = viewport.displayId; 69 + ", displayId=" + displayId
|
IDisplayManagerCallback.aidl | 21 oneway void onDisplayEvent(int displayId, int event);
|
DisplayManagerInternal.java | 64 * @param displayId The logical display id. 68 public abstract DisplayInfo getDisplayInfo(int displayId); 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, 143 * @param displayId The logical display id to update. 147 public abstract void setDisplayOffsets(int displayId, int x, int y);
|
IDisplayManager.aidl | 29 DisplayInfo getDisplayInfo(int displayId); 63 void requestColorTransform(int displayId, int colorTransformId);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
DisplayFacade.java | 70 @RpcParameter(name = "displayId") 72 Integer displayId) { 74 Display d = mDisplays.get(displayId); 81 @RpcParameter(name = "displayId") 83 Integer displayId) { 84 Display d = mDisplays.get(displayId); 90 @RpcParameter(name = "displayId") 92 Integer displayId) { 93 Display d = mDisplays.get(displayId);
|
/external/robolectric/v1/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;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PresentationActivity.java | 101 // List of presentation contents indexed by displayId. 182 int displayId = mActivePresentations.keyAt(i); 183 mSavedPresentationContents.put(displayId, presentation.mContents); 200 final int displayId = display.getDisplayId(); 201 if (mActivePresentations.get(displayId) != null) { 206 + " on display #" + displayId + "."); 211 mActivePresentations.put(displayId, presentation); 218 final int displayId = display.getDisplayId(); 219 DemoPresentation presentation = mActivePresentations.get(displayId); 224 Log.d(TAG, "Dismissing presentation on display #" + displayId + ".") [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
WindowAnimator.java | 146 void addDisplayLocked(final int displayId) { 148 getDisplayContentsAnimatorLocked(displayId); 149 if (displayId == Display.DEFAULT_DISPLAY) { 154 void removeDisplayLocked(final int displayId) { 155 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId); 163 mDisplayContentsAnimators.delete(displayId); 166 private void updateAppWindowsLocked(int displayId) { 167 ArrayList<TaskStack> stacks = mService.getDisplayContentLocked(displayId).getStacks(); 176 if (appAnimator.stepAnimationLocked(mCurrentTime, displayId)) { 184 "appToken " + appAnimator.mAppToken + " done", displayId); [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);
|
/external/clang/test/SemaObjC/ |
mismatched-undefined-method.m | 12 - (void)BrightnessAssistantUnregisterForNotifications:(CGDirectDisplayID) displayID, void* observer // expected-warning {{conflicting parameter types in implementation of 'BrightnessAssistantUnregisterForNotifications:': 'void *' vs 'CGDirectDisplayID'}}
|
/frameworks/base/services/core/java/com/android/server/input/ |
InputWindowHandle.java | 91 public final int displayId; 96 Object windowState, int displayId) { 99 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);
|
/packages/apps/Settings/src/com/android/settings/ |
ColorModePreference.java | 57 public void onDisplayAdded(int displayId) { 58 if (displayId == Display.DEFAULT_DISPLAY) { 64 public void onDisplayChanged(int displayId) { 65 if (displayId == Display.DEFAULT_DISPLAY) { 71 public void onDisplayRemoved(int displayId) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
ColorModePreference.java | 59 public void onDisplayAdded(int displayId) { 60 if (displayId == Display.DEFAULT_DISPLAY) { 66 public void onDisplayChanged(int displayId) { 67 if (displayId == Display.DEFAULT_DISPLAY) { 73 public void onDisplayRemoved(int displayId) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
DisplayDensityUtils.java | 192 * @param displayId the identifier of the display 196 private static int getDefaultDisplayDensity(int displayId) { 199 return wm.getInitialDisplayDensity(displayId); 208 * @param displayId the identifier of the display to modify 210 public static void clearForcedDisplayDensity(final int displayId) { 216 wm.clearForcedDisplayDensity(displayId); 227 * @param displayId the identifier of the display to modify 230 public static void setForcedDisplayDensity(final int displayId, final int density) { 236 wm.setForcedDisplayDensity(displayId, density);
|
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayManagerService.java | 306 int displayId, DisplayInfo info) { 308 LogicalDisplay display = mLogicalDisplays.get(displayId); 311 sendDisplayEventLocked(displayId, DisplayManagerGlobal.EVENT_DISPLAY_CHANGED); 379 private DisplayInfo getDisplayInfoInternal(int displayId, int callingUid) { 381 LogicalDisplay display = mLogicalDisplays.get(displayId); 543 private void requestColorTransformInternal(int displayId, int colorTransformId) { 545 LogicalDisplay display = mLogicalDisplays.get(displayId); 783 final int displayId = assignDisplayIdLocked(isDefault); 784 final int layerStack = assignLayerStackLocked(displayId); 786 LogicalDisplay display = new LogicalDisplay(displayId, layerStack, device) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
IWindowManagerImpl.java | 93 public void clearForcedDisplaySize(int displayId) throws RemoteException { 98 public void clearForcedDisplayDensity(int displayId) throws RemoteException { 103 public void setOverscan(int displayId, int left, int top, int right, int bottom) 303 public Bitmap screenshotApplications(IBinder appToken, int displayId, int maxWidth, 368 public void getInitialDisplaySize(int displayId, Point size) { 373 public void getBaseDisplaySize(int displayId, Point size) { 378 public void setForcedDisplaySize(int displayId, int arg0, int arg1) throws RemoteException { 383 public int getInitialDisplayDensity(int displayId) { 388 public int getBaseDisplayDensity(int displayId) { 393 public void setForcedDisplayDensity(int displayId, int density) throws RemoteException [all...] |
/frameworks/native/services/inputflinger/ |
InputListener.cpp | 72 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),
|
/frameworks/base/core/java/android/view/ |
IWindowManager.aidl | 70 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 setForcedDisplayDensity(int displayId, int density); 77 void clearForcedDisplayDensity(int displayId); 78 void setForcedDisplayScalingMode(int displayId, int mode); // 0 = auto, 1 = disable 80 void setOverscan(int displayId, int left, int top, int right, int bottom) [all...] |
/docs/source.android.com/src/devices/input/ |
diagnostics.jd | 390 0: name='Window{357bbbfe u0 SearchPanel}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01820100, type=0x000007e8, layer=211000, frame=[0,0][1080,1920], scale=1.000000, touchableRegion=[0,0][1080,1920], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 391 1: name='Window{3b14c0ca u0 NavigationBar}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01840068, type=0x000007e3, layer=201000, frame=[0,1776][1080,1920], scale=1.000000, touchableRegion=[0,1776][1080,1920], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 392 2: name='Window{2c7e849c u0 com.vito.lux}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x0089031a, type=0x000007d6, layer=191000, frame=[-495,-147][1575,1923], scale=1.000000, touchableRegion=[-495,-147][1575,1923], inputFeatures=0x00000000, ownerPid=4697, ownerUid=10084, dispatchingTimeout=5000.000ms 393 3: name='Window{31c9f22 u0 Heads Up}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01820328, type=0x000007de, layer=161000, frame=[0,0][1794,750], scale=1.000000, touchableRegion=[0,0][1794,192], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 394 4: name='Window{3fb06dc3 u0 StatusBar}', displayId=0, paused=false, hasFocus=true, hasWallpaper=false, visible=true, canReceiveKeys=true, flags=0x81960040, type=0x000007d0, layer=151000, frame=[0,0][1080,1920], scale=1.000000, touchableRegion=[0,0][1080,1920], inputFeatures=0x00000004, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 395 5: name='Window{278c1d65 u0 KeyguardScrim}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01110900, type=0x000007ed, layer=131000, frame=[0,0][1080,1776], scale=1.000000, touchableRegion=[0,0][1080,1776], inputFeatures=0x00000000, ownerPid=745, ownerUid=1000, dispatchingTimeout=5000.000ms 396 6: name='Window{869f213 u0 com.android.systemui.ImageWallpaper}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x00000318, type=0x000007dd, layer=21025, frame=[0,0][2328,1920], scale=1.000000, touchableRegion=[0,0][2328,1920], inputFeatures=0x00000000, ownerPid=22674, ownerUid=10020, dispatchingTimeout=5000.000ms 397 7: name='Window{16ab6320 u0 InputMethod}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01800108, type=0x000007db, layer=21020, frame=[0,75][1080,1920], scale=1.000000, touchableRegion=[0,986][1080,1920], inputFeatures=0x00000000, ownerPid=8409, ownerUid=10056, dispatchingTimeout=5000.000ms 398 8: name='Window{cf4ff0b u0 com.google.android.googlequicksearchbox/com.google.android.launcher.GEL}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x81910120, type=0x00000001, layer=21015, frame=[0,0][1080,1920], scale=1.000000, touchableRegion=[0,0][1080,1920], inputFeatures=0x00000000, ownerPid=14722, ownerUid=10022, dispatchingTimeout=5000.000ms 399 9: name='Window{1a7be08a u0 com.android.systemui/com.android.systemui.recents.RecentsActivity EXITING}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x (…) [all...] |
/frameworks/base/cmds/screencap/ |
screencap.cpp | 91 int32_t displayId = DEFAULT_DISPLAY_ID; 99 displayId = atoi(optarg); 148 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); 150 fprintf(stderr, "Unable to get handle for display %d\n", displayId);
|
/frameworks/base/core/java/android/app/ |
IActivityContainer.aidl | 28 void attachToDisplay(int displayId);
|