Lines Matching refs:hit
142 TextHitInfo hit = (bias == Position.Bias.Forward) ?
144 float[] locs = layout.getCaretInfo(hit);
171 //Move the y co-ord of the hit onto the baseline. This is because TextLayout supports
173 TextHitInfo hit = layout.hitTestChar(x - (float)alloc.getX(), 0);
174 int pos = hit.getInsertionIndex();
180 biasReturn[0] = hit.isLeadingEdge() ? Position.Bias.Forward : Position.Bias.Backward;
208 TextHitInfo hit;
210 hit = layout.hitTestChar(len, 0);
212 hit = layout.hitTestChar(layout.getAdvance() - len, 0);
214 return v.getStartOffset() + hit.getCharIndex();