Lines Matching refs:skipProbability
673 float skipProbability = ProximityInfoParams::MAX_SKIP_PROBABILITY;
690 skipProbability *= min(1.0f,
694 skipProbability *= ProximityInfoParams::SKIP_FIRST_POINT_PROBABILITY;
696 skipProbability *= min(1.0f,
700 skipProbability *= ProximityInfoParams::SKIP_LAST_POINT_PROBABILITY;
707 skipProbability *= min(1.0f, speedRate
711 skipProbability *= min(1.0f,
717 skipProbability *= min(1.0f,
722 // ANGLE_RATE of skipProbability is adjusted by current angle.
723 skipProbability *= (M_PI_F - currentAngle) / M_PI_F * ProximityInfoParams::ANGLE_WEIGHT
726 skipProbability *= ProximityInfoParams::SKIP_DEEP_CORNER_PROBABILITY;
734 skipProbability *= ProximityInfoParams::SKIP_CORNER_PROBABILITY;
739 ASSERT(skipProbability >= 0.0f);
740 ASSERT(skipProbability <= ProximityInfoParams::MAX_SKIP_PROBABILITY);
741 (*charProbabilities)[i][NOT_AN_INDEX] = skipProbability;
744 // (1.0f - skipProbability).
745 const float inputCharProbability = 1.0f - skipProbability;