From f25cc4405e329447425e52c3c5514a8802097fb8 Mon Sep 17 00:00:00 2001 From: Satoshi Kataoka <satok@google.com> Date: Thu, 15 Nov 2012 22:48:20 +0900 Subject: [PATCH] Fix debug logs Change-Id: Ie7dc32f28915df62a7c31bdaed38c0ad7a4b0f1c --- native/jni/src/proximity_info_state.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/native/jni/src/proximity_info_state.cpp b/native/jni/src/proximity_info_state.cpp index db79bb6165..1e69dac6c1 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"; -- GitLab