Home | History | Annotate | Download | only in view

Lines Matching defs:candidate

238      * A non-candidate (even a much closer one) is always a worse choice
239 * than a real candidate.
250 Rect candidate = new Rect(src);
251 candidate.offset(-(4 * src.width()), 0);
252 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate);
254 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate);
320 * down (and not those next to but still a candidate because
457 new Rect(0, 0, 20, 1)); // candidate
462 new Rect(0, -1, 20, 0)); // candidate
467 new Rect(-1, 0, 0, 20)); // candidate
472 new Rect(0, 0, 1, 20)); // candidate
490 * Assert that particular rect is a better focus search candidate from a
494 * @param expectedBetter The candidate that should be better.
495 * @param expectedWorse The candidate that should be worse.
502 "expected %s to be a better focus search candidate than "
512 "expected %s to not be a better focus search candidate than "
527 + "focus search candidate",
548 + "focus search candidate",