/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
H A D | RenderInfo.kt | 115 DeviceTypes.TYPE_LIGHT to R.drawable.ic_device_light, 117 DeviceTypes.TYPE_LOCK to R.drawable.ic_device_lock, 121 DeviceTypes.TYPE_MOP to R.drawable.ic_device_mop, 124 DeviceTypes.TYPE_FAN to R.drawable.ic_device_fan, 125 DeviceTypes.TYPE_HOOD to R.drawable.ic_device_hood, 131 DeviceTypes.TYPE_TV to R.drawable.ic_device_tv, 140 DeviceTypes.TYPE_GATE to R.drawable.ic_device_gate, 143 DeviceTypes.TYPE_VALVE to R.drawable.ic_device_valve, 147 DeviceTypes.TYPE_ROUTINE to RenderInfo.APP_ICON_ID, 161 DeviceTypes.TYPE_DOOR to R.drawable.ic_device_door, [all …]
|
/aosp14/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeDiff.java | 67 mTo = to; in FieldDiff() 80 public T to() { in to() method in ZenModeDiff.FieldDiff 132 BaseDiff(Object from, Object to) { in BaseDiff() argument 134 if (to != null) { in BaseDiff() 139 } else if (to == null) { in BaseDiff() 234 super(from, to); in ConfigDiff() 246 if (from.user != to.user) { in ConfigDiff() 312 toRule = to.automaticRules != null ? to.automaticRules.get(rule) : null; in ConfigDiff() 468 super(from, to); in RuleDiff() 477 boolean toActive = to != null ? to.isAutomaticActive() : false; in RuleDiff() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
H A D | QSFactoryImplTest.kt | 67 "bt" to BluetoothTile::class.java, 68 "dnd" to DndTile::class.java, 71 "work" to WorkModeTile::class.java, 75 "cast" to CastTile::class.java, 76 "hotspot" to HotspotTile::class.java, 78 "saver" to DataSaverTile::class.java, 80 "nfc" to NfcTile::class.java, 87 "alarm" to AlarmTile::class.java, 92 "dream" to DreamTile::class.java, 147 "dnd" to Provider { dndTile }, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/ |
H A D | SceneTransitions.kt | 43 return cache.getOrPut(from) { mutableMapOf() }.getOrPut(to) { findSpec(from, to) } 47 val spec = transition(from, to) { it.from == from && it.to == to } 52 val reversed = transition(from, to) { it.from == to && it.to == from } 58 transition(from, to) { 59 (it.from == from && it.to == null) || (it.to == to && it.from == null) 65 return transition(from, to) { 66 (it.from == to && it.to == null) || (it.to == from && it.from == null) 74 to: SceneKey, 96 val to: SceneKey?, 104 from = to, [all …]
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | SurfaceSyncGroup.md | 5 …to be gathered so multiple surfaces can be synced. This is intended to be used with AttachedSurfac… 12 The first step is to create a sync request. This is done by creating a new `SurfaceSyncGroup`. 13 …to allow the caller to get back the merged transaction without it being applied. ViewRootImpl uses… 19 …This is to sync a SurfaceView. Since SurfaceViews are rendered by the app, the caller will be expe… 25 …ld SurfaceSyncGroup to the parent. The purpose of this Runnable is to execute any changes the call… 33 …to add generic Transactions to the sync. The caller invokes `addTransactionToSync(Transaction)`. T… 41 …to sync. Therefore, to sync SurfaceViews, the caller must provide a way to notify the SurfaceSyncG… 45 …to use SurfaceSyncGroups is to sync multiple ViewRootImpls. The framework handles the timing and r… 49 #### SurfaceSyncGroup added to Multiple SurfaceSyncGroups 50 …to sync the same object. This is more common with VRI where you may have multiple changes for the … [all …]
|
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/ |
H A D | Namer.kt | 43 private var lifeTable = RandomTable(0.75f to lifeDescriptors, 0.25f to anyDescriptors) 46 RandomTable(RARE_PROB to constellationsRare, 1f - RARE_PROB to constellations) 50 private var atmoTable = RandomTable(0.75f to atmoDescriptors, 0.25f to anyDescriptors) 54 15f to " ", 55 3f to "-", 56 1f to "_", 57 1f to "/", 58 1f to ".", 59 1f to "*", 60 1f to "^", [all …]
|
/aosp14/frameworks/base/packages/SystemUI/docs/ |
H A D | physics-animation-layout.md | 4 …to configure and run physics-based animations for each of its child views. During the initial cons… 26 …to add every time chained animations update the subsequent animation in the chain. For example, re… 29 …to use for animations of the given property. This allows the controller to configure stiffness and… 32 …to build the animations, the controller can use them to actually run animations. This is done for … 52 - `start(Runnable)`, to start the animation, with an optional end action to call when the animation… 64 This would use the physics animations constructed by the layout to spring the view to *(100, 200)* … 71 …nX(from, to)`. When `start()` is called, the animation will set the view's translationX property t… 86 'Drop in' a child view that was just added to the layout: 90 .scaleX(1.15f /* from */, 1f /* to */) 91 .scaleY(1.15f /* from */, 1f /* to */) [all …]
|
H A D | physics-animation-testing.md | 2 …to test, since they’re essentially small simulations. They have no set duration, and they’re consi… 4 …to reveal flaws in the en-route animation visuals. In a worst-case failure case, as long as the en… 6 ## Waiting for Animations to End 7 …to run on the main thread, and they’re asynchronous - the test has to wait for the animation to fi… 9 …to controllers by the test case is a **TestablePhysicsAnimationLayout**, a subclass of PhysicsAnim… 11 …to wait for all animations on a given property to complete before continuing the test. This works …
|
H A D | qs-tiles.md | 1 # Quick Settings Tiles (almost all there is to know about them) 116 * The tile colors change to match the new state. 117 …* `QSIconView.setIcon` is called to apply the correct state to the icon and the correct icon to th… 118 * The tile labels change to match the new state. 204 …to this class, it matches the corresponding token assigned to the `TileService` with the `Componen… 222 * Deciding when to bind and unbind, requesting it to the `TileLifecycleManager`. 225 …cting when the package/component has been removed in order to remove the tile and references to it. 276 … * a callback is attached to the tile to communicate between the backend and the view or the panel. 278 6. The tile view is added to the corresponding layout. 287 2. The `TileServiceManager` creates its own `TileLifecycleManager` to take care of binding to the s… [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | FontScaleConverterTest.kt | 31 val table = createTable(8f to 8f, 10f to 10f, 20f to 20f) 43 val table = createTable(8f to 16f, 10f to 20f, 30f to 60f) 55 val table = createTable(2f to 3f, 10f to 15f, 20f to 30f, 100f to 150f) 68 val table = createTable(8f to 16f, 10f to 20f, 30f to 60f) 78 val table = createTable(8f to 16f, 10f to 20f, 30f to 60f)
|
/aosp14/frameworks/base/media/native/midi/include/ |
H A D | Doxyfile | 98 # documentation (similar to Javadoc). Set to NO to disable this. 524 # and Mac users are advised to set this option to NO. 551 # which file to include in order to use the member. 1067 # specified. Set to NO to disable this. 1365 # The TOC_EXPAND flag can be set to YES to add extra items for group members to 1510 # output directory to force them to be regenerated. 1737 # to HTML_HEADER. 2214 # set to NO 2381 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to 2386 # Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/util/ |
H A D | ParameterTest.kt | 53 "string_param" to "myStr", 54 "int_param" to 10, 61 "string_param" to "myStr", 62 "int_param" to 10, 70 "string_param" to "myStr", 97 "rt_param" to "rtStr", 108 "int_param" to 10, 109 "rt_param" to "rtStr", 155 "int_param" to 10, 163 "int_param" to "10", [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/data/repo/ |
H A D | BouncerMessageRepositoryTest.kt | 229 STRONG_AUTH_REQUIRED_AFTER_BOOT to 243 STRONG_AUTH_NOT_REQUIRED to null, 267 STRONG_AUTH_NOT_REQUIRED to null, 269 STRONG_AUTH_REQUIRED_AFTER_BOOT to 271 STRONG_AUTH_REQUIRED_AFTER_TIMEOUT to 298 STRONG_AUTH_NOT_REQUIRED to null, 302 STRONG_AUTH_REQUIRED_AFTER_BOOT to 304 STRONG_AUTH_REQUIRED_AFTER_TIMEOUT to 327 STRONG_AUTH_NOT_REQUIRED to null, 331 STRONG_AUTH_REQUIRED_AFTER_BOOT to [all …]
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
H A D | DomainVerificationPackageTest.kt | 97 DOMAIN_1 to STATE_NO_RESPONSE, 98 DOMAIN_2 to STATE_NO_RESPONSE, 107 DOMAIN_1 to DOMAIN_STATE_NONE, 108 DOMAIN_2 to DOMAIN_STATE_NONE, 209 DOMAIN_2 to STATE_NO_RESPONSE, 564 DOMAIN_1 to STATE_SUCCESS, 580 DOMAIN_1 to STATE_SUCCESS, 659 DOMAIN_1 to STATE_SUCCESS, 678 DOMAIN_1 to STATE_SUCCESS, 910 DOMAIN_1 to STATE_SUCCESS, [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/docs/ |
H A D | changes.md | 7 In addition to the individual reviewers who are most familiar with the changes you are making, 30 In addition to doing the above, you will also need to provide an interface for calling to SysUI 35 In addition, because components accessible to SysUI injection are explicitly listed, you'll have to 38 the two is done in `SystemUIFactory#init()` which will need to be updated as well. 44 - Note that callbacks into SysUI should take an associated executor to call back on 50 to SysUI where it posts the work to the main Shell thread. 55 references to the outer controller 60 - In Launcher, update `TouchInteractionService` to pass the interface to `SystemUIProxy`, and then 65 - On the Shell side, you potentially need to do two things to initialize the component: 96 - Try adding a push-mechanism to share data, or an async callback to request data [all …]
|
/aosp14/frameworks/base/core/proto/android/media/ |
H A D | audioattributes.proto | 10 * Unless required by applicable law or agreed to in writing, software 41 // Content type value to use when the content type is speech. 43 // Content type value to use when the content type is music. 48 // Content type value to use when the content type is a sound used to 56 // Usage value to use when the usage is unknown. 72 // Usage value to use when the usage is telephony ringtone. 74 // Usage value to use when the usage is a request to enter/end a 83 // Usage value to use when the usage is to attract the user's attention, 94 // Usage value to use when the usage is for game audio. 96 // Usage value to use when feeding audio to the platform and replacing [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BroadcastQueue.md | 7 * **Normal** broadcast intents are dispatched to relevant receivers. 8 * **Ordered** broadcast intents are dispatched in a specific order to 9 receivers, where each receiver has the opportunity to influence the final 16 And there are there two ways to receive these intents: 24 regardless of process running state, and have the ability to cold-start a 47 * Blocked waiting for an earlier receiver to complete. For example, an 52 only dispatch a single broadcast at a time to each process to ensure developers 76 to better amortize the cost of OOM adjustments. 90 "retire" a running process to give other processes a chance to run. 94 prefer to dispatch before the normal `mPending` queue. [all …]
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/ |
H A D | README.md | 39 Others may be more dynamic (some may even allow apps to bid higher ARCs for some actions to have 46 of one action in lieu of being able to do as much of another. For example, an app can choose to use 64 the app to perform the actions it's requesting. 69 battery is satiated (at 100%), then the amount of resources available to be consumed is equal to the 132 work, it may be beneficial to allow the requesting app to transfer, donate, or somehow make 133 available some of its own credits to the app doing the work in order to make sure the working app 139 then have a small auction when the system needs to decide which app to perform the action for 140 first or how much to charge the app. 148 * Cost to produce (CTP): An economic term that refers to the total cost incurred by a business to 151 that apps use to get something done. So the idea is to define the base cost for an app to use a [all …]
|
/aosp14/frameworks/base/tests/AccessoryDisplay/ |
H A D | README | 1 This directory contains sample code to test the use of virtual 11 The role of the sink is to emulate an external display that happens 12 to be connected using the USB accessory protocol. Think of it as 17 in this arrangement and will provide power to the source. 21 events to the source over USB HID. 28 play content to an external monitor. 30 The source application uses the UsbAccessory APIs to connect 34 The source application uses the DisplayManager APIs to create 36 an encoder and streams the output to the sink over USB. Then 48 on each device. The source will then begin to project display [all …]
|
/aosp14/frameworks/base/cmds/uinput/ |
H A D | README.md | 2 ## Two options to use the uinput command: 4 type `uinput -` into the terminal, then type/paste commands to send to the binary. 5 Use Ctrl+D to signal end of stream to the binary (EOF). 7 This mode can be also used from an app to send uinput events. 14 to the device. 37 | command | string | Must be set to "register" | 47 to avoid ambiguity when multiple devices are registered. 49 Device bus is used to determine how the uinput device is connected to the host. 53 control code, and data is a vector of control values to be sent to uinput device, depends on 77 | flat | integer | values to be discarded | [all …]
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 316 if (to != end) { in moveLeft() 341 if (to != end) { in moveRight() 368 if (to == -1) { in moveToParagraphStart() 371 if (to != end) { in moveToParagraphStart() 395 if (to == -1) { in moveToParagraphEnd() 415 if (to == -1) { in extendToParagraphStart() 418 if (to != end) { in extendToParagraphStart() 434 if (to == -1) { in extendToParagraphEnd() 437 if (to != end) { in extendToParagraphEnd() 490 if (to != end) { in extendLeft() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
H A D | ViewHierarchyAnimator.kt | 714 Bound.LEFT to left, 715 Bound.TOP to top, 716 Bound.RIGHT to right, 717 Bound.BOTTOM to bottom 796 Bound.TOP to endTop, 798 Bound.LEFT to left, 810 Bound.TOP to top, 822 Bound.LEFT to left, 834 Bound.TOP to top, 932 Bound.LEFT to endLeft, [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
H A D | FavoritesModel.kt | 111 override fun onMoveItem(from: Int, to: Int) { 112 onMoveItemInternal(from, to) 152 updateDivider(from, to) 154 moveElement(from, to) 155 adapter?.notifyItemMoved(from, to) 157 adapter?.notifyItemChanged(to, Any()) 165 private fun updateDivider(from: Int, to: Int) { 194 private fun moveElement(from: Int, to: Int) { 195 if (from < to) { 196 for (i in from until to) { [all …]
|
/aosp14/system/core/debuggerd/proto/ |
H A D | tombstone.proto | 43 reserved 21 to 999; 53 reserved 5 to 999; 73 reserved 11 to 999; 112 reserved 4 to 999; 121 reserved 3 to 999; 128 reserved 3 to 999; 157 reserved 9 to 999; 163 reserved 2 to 999; 200 reserved 5 to 999; 207 reserved 3 to 999; [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Target.java | 72 @FloatRange(from = 0, to = 100) 78 @FloatRange(from = 0, to = 100) 84 @FloatRange(from = 0, to = 100) 90 @FloatRange(from = 0, to = 100) 96 @FloatRange(from = 0, to = 130) 102 @FloatRange(from = 0, to = 100) 173 public Builder setMinimumChroma(@FloatRange(from = 0, to = 100) float value) { in setMinimumChroma() argument 180 public Builder setTargetChroma(@FloatRange(from = 0, to = 100) float value) { in setTargetChroma() argument 211 public Builder setTargetHue(@IntRange(from = 0, to = 360) int hue) { in setTargetHue() argument 219 @FloatRange(from = 1, to = 21) float value, in setContrastRatio() argument [all …]
|