Merge "Reformat two Kotlin files I mistakenly formatted with IntelliJ" into tm-qpr-dev
This commit is contained in:
@@ -28,7 +28,8 @@ class ShadeLogger @Inject constructor(@ShadeLog private val buffer: LogBuffer) {
|
|||||||
log(
|
log(
|
||||||
LogLevel.VERBOSE,
|
LogLevel.VERBOSE,
|
||||||
{ double1 = h.toDouble() },
|
{ double1 = h.toDouble() },
|
||||||
{ "onQsIntercept: move action, QS tracking enabled. h = $double1" })
|
{ "onQsIntercept: move action, QS tracking enabled. h = $double1" }
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun logQsTrackingNotStarted(
|
fun logQsTrackingNotStarted(
|
||||||
@@ -54,9 +55,10 @@ class ShadeLogger @Inject constructor(@ShadeLog private val buffer: LogBuffer) {
|
|||||||
bool4 = qsExpansionEnabled
|
bool4 = qsExpansionEnabled
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"QsTrackingNotStarted: initTouchY=$int1,y=$int2,h=$long1,slop=$double1,qsExpanded=" +
|
"QsTrackingNotStarted: initTouchY=$int1,y=$int2,h=$long1,slop=$double1,qsExpanded" +
|
||||||
"$bool1,collapsedDown=$bool2,keyguardShowing=$bool3,qsExpansion=$bool4"
|
"=$bool1,collapsedDown=$bool2,keyguardShowing=$bool3,qsExpansion=$bool4"
|
||||||
})
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun logMotionEvent(event: MotionEvent, message: String) {
|
fun logMotionEvent(event: MotionEvent, message: String) {
|
||||||
@@ -70,6 +72,9 @@ class ShadeLogger @Inject constructor(@ShadeLog private val buffer: LogBuffer) {
|
|||||||
int2 = event.classification
|
int2 = event.classification
|
||||||
double1 = event.y.toDouble()
|
double1 = event.y.toDouble()
|
||||||
},
|
},
|
||||||
{ "$str1\neventTime=$long1,downTime=$long2,y=$double1,action=$int1,classification=$int2" })
|
{
|
||||||
|
"$str1\neventTime=$long1,downTime=$long2,y=$double1,action=$int1,class=$int2"
|
||||||
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user