Home | History | Annotate | Download | only in ui

Lines Matching defs:Entry

37     public static class Entry {
44 public Entry(Path path, Rect source, RawTexture texture) {
61 private ArrayList<Entry> mList = new ArrayList<Entry>();
69 mList.add(new Entry(path, rect, texture));
72 public Entry getEntry(Path path) {
74 Entry entry = mList.get(i);
75 if (entry.path == path) return entry;
83 Entry entry = mList.get(i);
84 if (entry.index < 0) continue;
85 entry.dest = mPositionProvider.getPosition(entry.index);
86 drawEntry(canvas, entry);
91 private void drawEntry(GLCanvas canvas, Entry entry) {
92 if (!entry.texture.isLoaded()) return;
94 int w = entry.texture.getWidth();
95 int h = entry.texture.getHeight();
97 Rect s = entry.source;
98 Rect d = entry.dest;
117 canvas.drawTexture(entry.texture, mSource, mTarget);
125 canvas.drawTexture(entry.texture, mSource, mTarget);
130 canvas.drawTexture(entry.texture, mSource, mTarget);
137 canvas.drawTexture(entry.texture, mSource, mTarget);
145 canvas.drawTexture(entry.texture, mSource, mTarget);
150 canvas.drawTexture(entry.texture, mSource, mTarget);
165 Entry entry = mList.get(i);
166 entry.index = mPositionProvider.getItemIndex(entry.path);
174 Entry entry = mList.get(i);
175 if (entry.index == index) return false;