diff options
author | 2012-11-15 22:48:20 +0900 | |
---|---|---|
committer | 2012-11-15 22:48:20 +0900 | |
commit | f25cc4405e329447425e52c3c5514a8802097fb8 (patch) | |
tree | 02254245cc4edae8faa9417eac1f4c6a3eace67d /native/jni/src/proximity_info_state.cpp | |
parent | 1ce96fecf530e37ba6c2c040629ffe0c268b676c (diff) | |
download | latinime-f25cc4405e329447425e52c3c5514a8802097fb8.tar.gz latinime-f25cc4405e329447425e52c3c5514a8802097fb8.tar.xz latinime-f25cc4405e329447425e52c3c5514a8802097fb8.zip |
Fix debug logs
Change-Id: Ie7dc32f28915df62a7c31bdaed38c0ad7a4b0f1c
Diffstat (limited to 'native/jni/src/proximity_info_state.cpp')
-rw-r--r-- | native/jni/src/proximity_info_state.cpp | 8 |
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"; |