Loading packages/EasterEgg/src/com/android/egg/landroid/UniverseProgressNotifier.kt +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ class UniverseProgressNotifier(val context: Context, val universe: Universe) { val eta = if (speed > 0) "%1.0fs".format(distToTarget / speed) else "???" builder.setContentTitle("headed to: ${target.name}") builder.setContentText( "autopilot is ${autopilot.strategy.toLowerCase()}" + "autopilot is ${autopilot.strategy.lowercase()}" + "\ndist: ${distToTarget}u // eta: $eta" ) // fun fact: ProgressStyle was originally EnRouteStyle Loading packages/SystemUI/animation/src/com/android/systemui/animation/GSFAxes.kt +2 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ object GSFAxes { private val AXIS_MAP = listOf(WEIGHT, WIDTH, SLANT, ROUND, GRADE, OPTICAL_SIZE, ITALIC) .map { def -> def.tag.toLowerCase() to def } .map { def -> def.tag.lowercase() to def } .toMap() fun getAxis(axis: String): AxisDefinition? = AXIS_MAP[axis.toLowerCase()] fun getAxis(axis: String): AxisDefinition? = AXIS_MAP[axis.lowercase()] } Loading
packages/EasterEgg/src/com/android/egg/landroid/UniverseProgressNotifier.kt +1 −1 Original line number Diff line number Diff line Loading @@ -127,7 +127,7 @@ class UniverseProgressNotifier(val context: Context, val universe: Universe) { val eta = if (speed > 0) "%1.0fs".format(distToTarget / speed) else "???" builder.setContentTitle("headed to: ${target.name}") builder.setContentText( "autopilot is ${autopilot.strategy.toLowerCase()}" + "autopilot is ${autopilot.strategy.lowercase()}" + "\ndist: ${distToTarget}u // eta: $eta" ) // fun fact: ProgressStyle was originally EnRouteStyle Loading
packages/SystemUI/animation/src/com/android/systemui/animation/GSFAxes.kt +2 −2 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ object GSFAxes { private val AXIS_MAP = listOf(WEIGHT, WIDTH, SLANT, ROUND, GRADE, OPTICAL_SIZE, ITALIC) .map { def -> def.tag.toLowerCase() to def } .map { def -> def.tag.lowercase() to def } .toMap() fun getAxis(axis: String): AxisDefinition? = AXIS_MAP[axis.toLowerCase()] fun getAxis(axis: String): AxisDefinition? = AXIS_MAP[axis.lowercase()] }