/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayViewport.java | 37 public int displayId; field in class:DisplayViewport 61 displayId = viewport.displayId; 88 displayId == other.displayId && 102 result += prime * result + displayId; 116 + ", displayId=" + displayId
|
H A D | DisplayManager.java | 271 * @param displayId The logical display id. 274 public Display getDisplay(int displayId) { argument 276 return getOrCreateDisplayLocked(displayId, false /*assumeValid*/); 345 private Display getOrCreateDisplayLocked(int displayId, boolean assumeValid) { argument 346 Display display = mDisplays.get(displayId); 350 final Context context = mContext.getDisplay().getDisplayId() == displayId 353 display = mGlobal.getCompatibleDisplay(displayId, context.getResources()); 355 mDisplays.put(displayId, display); 577 * @param displayId The id of the logical display that was added. 579 void onDisplayAdded(int displayId); argument 586 onDisplayRemoved(int displayId) argument 593 onDisplayChanged(int displayId) argument [all...] |
H A D | DisplayManagerGlobal.java | 105 * @param displayId The logical display id. 109 public DisplayInfo getDisplayInfo(int displayId) { argument 114 info = mDisplayInfoCache.get(displayId); 120 info = mDm.getDisplayInfo(displayId); 126 mDisplayInfoCache.put(displayId, info); 131 Log.d(TAG, "getDisplayInfo: displayId=" + displayId + ", info=" + info); 172 * @param displayId The logical display id. 176 public Display getCompatibleDisplay(int displayId, DisplayAdjustments daj) { argument 177 DisplayInfo displayInfo = getDisplayInfo(displayId); 194 getCompatibleDisplay(int displayId, Resources resources) argument 208 getRealDisplay(int displayId) argument 262 handleDisplayEvent(int displayId, int event) argument 376 requestColorMode(int displayId, int colorMode) argument 450 onDisplayEvent(int displayId, int event) argument 466 sendDisplayEvent(int displayId, int event) argument [all...] |
H A D | DisplayManagerInternal.java | 66 * @param displayId The logical display id. 70 public abstract DisplayInfo getDisplayInfo(int displayId); argument 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); argument 135 * @param displayId The logical display id to update. 145 public abstract void setDisplayProperties(int displayId, boolean hasContent, argument 155 * @param displayId The logical display id to update. 159 public abstract void setDisplayOffsets(int displayId, in argument 101 setDisplayInfoOverrideFromWindowManager( int displayId, DisplayInfo info) argument 174 isUidPresentOnDisplay(int uid, int displayId) argument [all...] |
/frameworks/support/compat/java/android/support/v4/hardware/display/ |
H A D | DisplayManagerCompat.java | 77 * @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/base/core/java/android/hardware/input/ |
H A D | InputManagerInternal.java | 33 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
|
/frameworks/base/core/jni/ |
H A D | android_hardware_display_DisplayViewport.cpp | 36 jfieldID displayId; member in struct:android::__anon1092 56 viewport->displayId = env->GetIntField(viewportObj, gDisplayViewportClassInfo.displayId); 90 gDisplayViewportClassInfo.displayId = GetFieldIDOrDie(env, 91 gDisplayViewportClassInfo.clazz, "displayId", "I");
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/ |
H A D | DisplayDensityUtils.java | 196 * @param displayId the identifier of the display 200 private static int getDefaultDisplayDensity(int displayId) { argument 203 return wm.getInitialDisplayDensity(displayId); 215 * @param displayId the identifier of the display to modify 217 public static void clearForcedDisplayDensity(final int displayId) { argument 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) { argument 243 wm.setForcedDisplayDensityForUser(displayId, density, userId);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | PinnedActivityStack.java | 42 PinnedStackWindowController createStackWindowController(int displayId, boolean onTop, argument 44 return new PinnedStackWindowController(mStackId, this, displayId, onTop, outBounds);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | PinnedStackWindowController.java | 42 int displayId, boolean onTop, Rect outBounds) { 43 super(stackId, listener, displayId, onTop, outBounds, WindowManagerService.getInstance()); 41 PinnedStackWindowController(int stackId, PinnedStackWindowListener listener, int displayId, boolean onTop, Rect outBounds) argument
|
H A D | DimLayer.java | 91 DimLayer(WindowManagerService service, DimLayerUser user, int displayId, String name) { argument 93 mDisplayId = displayId; 96 if (DEBUG_DIM_LAYER) Slog.v(TAG, "Ctor: displayId=" + displayId);
|
H A D | WindowAnimator.java | 110 void addDisplayLocked(final int displayId) { argument 113 getDisplayContentsAnimatorLocked(displayId); 114 if (displayId == DEFAULT_DISPLAY) { 119 void removeDisplayLocked(final int displayId) { argument 120 final DisplayContentsAnimator displayAnimator = mDisplayContentsAnimators.get(displayId); 128 mDisplayContentsAnimators.delete(displayId); 161 final int displayId = mDisplayContentsAnimators.keyAt(i); 162 final DisplayContent dc = mService.mRoot.getDisplayContentOrCreate(displayId); 196 final int displayId = mDisplayContentsAnimators.keyAt(i); 197 final DisplayContent dc = mService.mRoot.getDisplayContentOrCreate(displayId); 344 getPendingLayoutChanges(final int displayId) argument 352 setPendingLayoutChanges(final int displayId, final int changes) argument 362 getDisplayContentsAnimatorLocked(int displayId) argument 379 setScreenRotationAnimationLocked(int displayId, ScreenRotationAnimation animation) argument 387 getScreenRotationAnimationLocked(int displayId) argument [all...] |
/frameworks/native/include/input/ |
H A D | DisplayViewport.h | 30 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/base/cmds/screencap/ |
H A D | screencap.cpp | 96 int32_t displayId = DEFAULT_DISPLAY_ID; local 104 displayId = atoi(optarg); 153 sp<IBinder> display = SurfaceComposerClient::getBuiltInDisplay(displayId); 155 fprintf(stderr, "Unable to get handle for display %d\n", displayId);
|
/frameworks/base/core/java/android/content/res/ |
H A D | ResourcesKey.java | 54 int displayId, 61 mDisplayId = displayId; 50 ResourcesKey(@ullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @Nullable CompatibilityInfo compatInfo) argument
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputWindowHandle.java | 95 public final int displayId; field in class:InputWindowHandle 100 Object windowState, IWindow clientWindow, int displayId) { 104 this.displayId = displayId; 99 InputWindowHandle(InputApplicationHandle inputApplicationHandle, Object windowState, IWindow clientWindow, int displayId) argument
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 44 boolean alwaysConsumeNavBar, int displayId) { 41 resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, MergedConfiguration mergedConfiguration, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId) argument
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LogicalDisplay.java | 99 public LogicalDisplay(int displayId, int layerStack, DisplayDevice primaryDisplayDevice) { argument 100 mDisplayId = displayId;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | BurnInProtectionHelper.java | 253 public void onDisplayChanged(int displayId) { argument 254 if (displayId == mDisplay.getDisplayId()) {
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputWindowHandle.cpp | 56 jfieldID displayId; member in struct:android::__anon1316 159 mInfo->displayId = env->GetIntField(obj, 160 gInputWindowHandleClassInfo.displayId); 303 GET_FIELD_ID(gInputWindowHandleClassInfo.displayId, clazz, 304 "displayId", "I");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TestIWindow.java | 40 Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId) 38 resized(Rect frame, Rect overscanInsets, Rect contentInsets, Rect visibleInsets, Rect stableInsets, Rect outsets, boolean reportDraw, MergedConfiguration mergedConfig, Rect backDropFrame, boolean forceLayout, boolean alwaysConsumeNavBar, int displayId) argument
|
/frameworks/native/services/inputflinger/ |
H A D | 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), 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 D | InputListener.h | 92 int32_t displayId; member in struct:android::NotifyMotionArgs 105 int32_t edgeFlags, int32_t displayId, uint32_t pointerCount,
|
/frameworks/base/core/java/android/app/ |
H A D | ResourcesManager.java | 160 protected @NonNull DisplayMetrics getDisplayMetrics(int displayId, DisplayAdjustments da) { argument 162 final Display display = getAdjustedDisplay(displayId, da); 208 * @param displayId display Id. 211 private Display getAdjustedDisplay(final int displayId, argument 216 Pair.create(displayId, displayAdjustmentsCopy); 230 final Display display = dm.getCompatibleDisplay(displayId, key.second); 242 * @param displayId display Id. 245 public Display getAdjustedDisplay(final int displayId, Resources resources) { argument 252 return dm.getCompatibleDisplay(displayId, resources); 515 * @param displayId Th 524 createBaseActivityResources(@onNull IBinder activityToken, @Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @NonNull CompatibilityInfo compatInfo, @Nullable ClassLoader classLoader) argument 690 getResources(@ullable IBinder activityToken, @Nullable String resDir, @Nullable String[] splitResDirs, @Nullable String[] overlayDirs, @Nullable String[] libDirs, int displayId, @Nullable Configuration overrideConfig, @NonNull CompatibilityInfo compatInfo, @Nullable ClassLoader classLoader) argument 727 updateResourcesForActivity(@onNull IBinder activityToken, @Nullable Configuration overrideConfig, int displayId, boolean movedToDifferentDisplay) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerInternal.java | 255 * @param displayId The display to add the token to. 257 public abstract void addWindowToken(android.os.IBinder token, int type, int displayId); argument 264 * @param displayId The display to remove the token from. 267 int displayId); 266 removeWindowToken(android.os.IBinder token, boolean removeWindows, int displayId) argument
|