summaryrefslogtreecommitdiff
path: root/packages/FakeOemFeatures/src
AgeCommit message (Collapse)Author
2020-08-04Merge "Update language to comply with Android's inclusive language guidance" ↵ Treehugger Robot
am: f08b133000 am: 0490999da3 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1386056 Change-Id: I0e32fc0efc33ddd25cee10c8a06662ac29420a89
2020-08-03Update language to comply with Android's inclusive language guidance Chiachang Wang
See https://source.android.com/setup/contribute/respectful-code for reference. Bug: 161896447 Test: m Change-Id: I990a1e98f04ce907ec8150720980980a36eae21a
2020-03-24Report bounds instead of size in WindowMetrics Andrii Kulian
Use case: Jetpack WM will use them to get the location of windows on screen and compute the display feature positions in window coordinate space. Bug: 150908045 Test: atest FrameworksCoreTests:WindowMetricsTest Test: atest CtsWindowManagerDeviceTestCases:WindowMetricsTests Change-Id: Ia08950cd5df35971408e8b17bb27d97d29d0ab9b Exempt-From-Owner-Approval: API change
2020-01-31Exempt-From-Owner-Approval: Fix usages of WindowManager.getDefaultDisplay() ↵ Andrii Kulian
in f/b Replace the existing usages of now-deprecated API WindowManager.getDefaultDisplay() with WindowMetrics or Context.getDisplay() in frameworks/base. Bug: 128338354 Test: Build, auto test Change-Id: I02d38a022c5e0e6e9d699f03d35b65d6c8126da9
2017-02-22Updated some internal apps to use TYPE_APPLICATION_OVERLAY Wale Ogunwale
TYPE_SYSTEM_ALERT is deprecated as of O. Test: builds Change-Id: Ic335ff0aa2f0356737c2e67debe8e71ea9eb2f41
2013-04-11Fix issue #8582003: Evernote Camera Capture Failure Dianne Hackborn
ActivityThread.currentPackageName() was actually returning the process name. Change this to return the package name, and fix the one spot using it I could find that was actually wanting the process name. Change-Id: I323b9c5987106b5a090968e545281fc0ba55b6b8
2012-08-19Refactor for multi-display support. Jeff Brown
Split WindowManagerImpl into two parts, the WindowManager interface implementation remains where it is but the global communications with the window manager are now handled by the WindowManagerGlobal class. This change greatly simplifies the challenge of having separate WindowManager instances for each Context. Removed WindowManagerImpl.getDefault(). This represents the bulk of this change. Most of the usages of this method were either to perform global functions (now handled by WindowManagerGlobal) or to obtain the default display (now handled by DisplayManager). Explicitly associate each new window with a display and make the Display object available to the View hierarchy. Add stubs for some new display manager API features. Start to split apart the concepts of display id and layer stack. since they operate at different layers of abstraction. While it's true that each logical display uniquely corresponds to a surface flinger layer stack, it is not necessarily the case that they must use the same ids. Added Display.getLayerStack() and started using it in places where it was relatively easy to do. Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
2012-02-27You could think of this as what an OEM might do. Dianne Hackborn
Except it does nothing. But eat resources. Yum, yum! Current we create five processes. The main process sucks up 16MB of RAM and creates a full-screen window; only on high-end devices does the window (and process) use the GPU. The second through fourth processes just sits there not really doing anything except using process overhead. The fifth process runs a background service, slowing eating RAM until it gets killed by the system (as the system will ultimately do with background services). It also creates a full-screen window, and always uses the GPU even on low-end devices. Change-Id: Ibe9e25f7dbd889f4dc83eed6a3c09b9b0437b4e3