aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--native/jni/src/proximity_info_state.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/native/jni/src/proximity_info_state.cpp b/native/jni/src/proximity_info_state.cpp
index db79bb616..1e69dac6c 100644
--- a/native/jni/src/proximity_info_state.cpp
+++ b/native/jni/src/proximity_info_state.cpp
@@ -294,8 +294,9 @@ void ProximityInfoState::initInputParams(const int pointerId, const float maxPoi
sampledY << ";";
}
}
- AKLOGI("\n%s, %s,\n%s, %s,\n", originalX.str().c_str(), originalY.str().c_str(),
- sampledX.str().c_str(), sampledY.str().c_str());
+ AKLOGI("original points:\n%s, %s,\nsampled points:\n%s, %s,\n",
+ originalX.str().c_str(), originalY.str().c_str(), sampledX.str().c_str(),
+ sampledY.str().c_str());
}
// end
///////////////////////
@@ -925,8 +926,7 @@ void ProximityInfoState::updateAlignPointProbabilities(const int start) {
for (int i = 0; i < mInputSize; ++i) {
std::stringstream sstream;
sstream << i << ", ";
- sstream << "("<< mInputXs[i] << ", ";
- sstream << ", "<< mInputYs[i] << "), ";
+ sstream << "(" << mInputXs[i] << ", " << mInputYs[i] << "), ";
sstream << "Speed: "<< getRelativeSpeed(i) << ", ";
sstream << "Angle: "<< getPointAngle(i) << ", \n";