Lines Matching defs:top_
115 TouchEventCalibrate() : left_(0), right_(0), top_(0), bottom_(0) {
128 if (!base::StringToInt(parts[2], &top_))
152 if (!left_ && !right_ && !top_ && !bottom_)
175 if (top_ || bottom_) {
177 y -= top_;
181 if (y < 0 && y > -top_ * kGraceAreaFraction)
186 if (y > resolution_y - top_ &&
187 y < resolution_y - top_ + bottom_ * kGraceAreaFraction)
188 y = resolution_y - top_;
190 y = (y * resolution_y) / (resolution_y - (bottom_ + top_));
226 int top_;