Home | History | Annotate | Download | only in calendar

Lines Matching refs:distance1

3131             // if any. distance1 takes precedence over distance2.
3132 int distance1 = 0;
3136 distance1 = left - prevCenter;
3138 distance1 = prevCenter - right;
3143 distance1 = left - prevCenter;
3145 distance1 = prevCenter - right;
3150 distance1 = prevCenter - bottom;
3152 distance1 = top - prevCenter;
3157 distance1 = prevCenter - bottom;
3159 distance1 = top - prevCenter;
3163 if (distance1 < startEventDistance1
3164 || (distance1 == startEventDistance1 && distance2 < startEventDistance2)) {
3166 startEventDistance1 = distance1;