/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/core/java/android/hardware/display/ |
DisplayManager.java | 306 * @param displayId The logical display id. 309 public Display getDisplay(int displayId) { 311 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/); 380 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { 381 Display display = mDisplays.get(displayId); 385 final Context context = mContext.getDisplay().getDisplayId() == displayId 388 display = mGlobal.getCompatibleDisplay(displayId, context.getResources()); 390 mDisplays.put(displayId, display); 626 * @param displayId The id of the logical display that was added. 628 void onDisplayAdded(int displayId); [all...] |
DisplayManagerInternal.java | 66 * @param displayId The logical display id. 70 public abstract DisplayInfo getDisplayInfo(int displayId); 98 * @param displayId The logical display id. 102 int displayId, DisplayInfo info); 109 * @param displayId Id of the target display. 112 public abstract void getNonOverrideDisplayInfo(int displayId, DisplayInfo outInfo); 135 * @param displayId The logical display id to update. 145 public abstract void setDisplayProperties(int displayId, boolean hasContent, 155 * @param displayId The logical display id to update. 159 public abstract void setDisplayOffsets(int displayId, int x, int y) [all...] |
IDisplayManager.aidl | 30 DisplayInfo getDisplayInfo(int displayId); 64 void requestColorMode(int displayId, int colorMode);
|
/frameworks/native/services/surfaceflinger/ |
SurfaceInterceptor.h | 63 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...] |
SurfaceInterceptor.cpp | 121 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, state.width, state.height) [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
DisplayDensityUtils.java | 196 * @param displayId the identifier of the display 200 private static int getDefaultDisplayDensity(int displayId) { 203 return wm.getInitialDisplayDensity(displayId); 215 * @param displayId the identifier of the display to modify 217 public static void clearForcedDisplayDensity(final int displayId) { 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) { 243 wm.setForcedDisplayDensityForUser(displayId, density, userId);
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/tools/ |
ActivityLauncher.java | 77 final int displayId = extras.getInt("display_id", -1); 78 if (displayId != -1) { 80 options.setLaunchDisplayId(displayId);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
RotationHelper.java | 119 public void onDisplayAdded(int displayId) { 123 public void onDisplayRemoved(int displayId) { 127 public void onDisplayChanged(int displayId) {
|
/frameworks/base/core/java/android/hardware/input/ |
InputManagerInternal.java | 33 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode);
|
/packages/services/Car/service/src/com/android/car/ |
SystemInterface.java | 174 public void onDisplayAdded(int displayId) { 179 public void onDisplayChanged(int displayId) { 180 if (displayId == Display.DEFAULT_DISPLAY) { 186 public void onDisplayRemoved(int displayId) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
PointerEventDispatcher.java | 39 public void onInputEvent(InputEvent event, int displayId) { 53 listeners[i].onPointerEvent(motionEvent, displayId);
|
StackWindowController.java | 64 int displayId, boolean onTop, Rect outBounds) { 65 this(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance()); 70 int displayId, boolean onTop, Rect outBounds, WindowManagerService service) { 76 final DisplayContent dc = mRoot.getDisplayContent(displayId); 79 + " to unknown displayId=" + displayId); 104 public void reparent(int displayId, Rect outStackBounds, boolean onTop) { 108 + " to displayId=" + displayId); 111 final DisplayContent targetDc = mRoot.getDisplayContent(displayId); [all...] |
/hardware/interfaces/automotive/evs/1.0/ |
types.hal | 41 string displayId;
|
/frameworks/base/core/java/android/app/ |
Presentation.java | 341 public void onDisplayAdded(int displayId) { 345 public void onDisplayRemoved(int displayId) { 346 if (displayId == mDisplay.getDisplayId()) { 352 public void onDisplayChanged(int displayId) { 353 if (displayId == mDisplay.getDisplayId()) {
|
ResourcesManager.java | 108 * A cache of DisplayId, DisplayAdjustments to Display. 158 protected @NonNull DisplayMetrics getDisplayMetrics(int displayId, DisplayAdjustments da) { 160 final Display display = getAdjustedDisplay(displayId, da); 206 * @param displayId display Id. 209 private Display getAdjustedDisplay(final int displayId, 214 Pair.create(displayId, displayAdjustmentsCopy); 228 final Display display = dm.getCompatibleDisplay(displayId, key.second); 240 * @param displayId display Id. 243 public Display getAdjustedDisplay(final int displayId, Resources resources) { 250 return dm.getCompatibleDisplay(displayId, resources) [all...] |
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
ActivityManagerDisplayTestBase.java | 71 private DisplayState(int displayId, String overrideConfig) { 72 mDisplayId = displayId; 139 final Integer displayId = Integer.valueOf(matcher.group(1)); 140 result.mDisplayStates.put(displayId, 141 new DisplayState(displayId, matcher.group(2))); 166 DisplayState getDisplayState(int displayId) { 167 return mDisplayStates.get(displayId); 218 for (Integer displayId : newDisplays.mDisplayStates.keySet()) { 219 if (!oldDisplays.mDisplayStates.containsKey(displayId)) { 220 displays.add(newDisplays.getDisplayState(displayId)); [all...] |
/frameworks/base/core/java/android/view/ |
InputEventReceiver.java | 114 * @param displayId The display id on which input event triggered. 117 public void onInputEvent(InputEvent event, int displayId) { 184 private void dispatchInputEvent(int seq, InputEvent event, int displayId) { 186 onInputEvent(event, displayId);
|
WindowManagerInternal.java | 257 * @param displayId The display to add the token to. 259 public abstract void addWindowToken(android.os.IBinder token, int type, int displayId); 266 * @param displayId The display to remove the token from. 269 int displayId);
|
/frameworks/base/core/jni/ |
android_hardware_display_DisplayViewport.cpp | 36 jfieldID displayId; 56 viewport->displayId = env->GetIntField(viewportObj, gDisplayViewportClassInfo.displayId); 90 gDisplayViewportClassInfo.displayId = GetFieldIDOrDie(env, 91 gDisplayViewportClassInfo.clazz, "displayId", "I");
|
/frameworks/base/services/core/java/com/android/server/am/ |
PinnedActivityStack.java | 41 PinnedStackWindowController createStackWindowController(int displayId, boolean onTop, 43 return new PinnedStackWindowController(mStackId, this, displayId, onTop, outBounds);
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
VirtualDisplayActivity.java | 194 final int displayId = virtualDisplay.getDisplay().getDisplayId(); 196 + launchActivityName + ", displayId=" + displayId); 197 launchActivity(launchActivityName, displayId); 228 private void launchActivity(String activityName, int displayId) { 232 extras.putInt("display_id", displayId);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
DisplayManagerServiceTest.java | 121 int displayId = bs.createVirtualDisplay(mMockAppToken /* callback */, 141 assertEquals(displayId, dv.displayId); 159 int displayId = bs.createVirtualDisplay(mMockAppToken /* callback */, 169 DisplayDeviceInfo ddi = displayManager.getDisplayDeviceInfoInternal(displayId);
|
/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),
|
/packages/apps/Dialer/java/com/android/incallui/ |
ProximitySensor.java | 274 public void onDisplayRemoved(int displayId) {} 277 public void onDisplayChanged(int displayId) { 278 if (displayId == Display.DEFAULT_DISPLAY) { 279 final Display display = mDisplayManager.getDisplay(displayId); 292 public void onDisplayAdded(int displayId) {}
|