Lines Matching refs:entry

71         // Try to get the entry with the unique if possible.
73 Entry entry;
74 if (uniqueId == null || (entry = mEntries.get(uniqueId)) == null) {
75 entry = mEntries.get(name);
77 if (entry != null) {
78 outRect.left = entry.overscanLeft;
79 outRect.top = entry.overscanTop;
80 outRect.right = entry.overscanRight;
81 outRect.bottom = entry.overscanBottom;
91 // we have no need for the entry.
97 Entry entry = mEntries.get(uniqueId);
98 if (entry == null) {
99 entry = new Entry(uniqueId);
100 mEntries.put(uniqueId, entry);
102 entry.overscanLeft = left;
103 entry.overscanTop = top;
104 entry.overscanRight = right;
105 entry.overscanBottom = bottom;
184 Entry entry = new Entry(name);
185 entry.overscanLeft = getIntAttribute(parser, "overscanLeft");
186 entry.overscanTop = getIntAttribute(parser, "overscanTop");
187 entry.overscanRight = getIntAttribute(parser, "overscanRight");
188 entry.overscanBottom = getIntAttribute(parser, "overscanBottom");
189 mEntries.put(name, entry);
209 for (Entry entry : mEntries.values()) {
211 out.attribute(null, "name", entry.name);
212 if (entry.overscanLeft != 0) {
213 out.attribute(null, "overscanLeft", Integer.toString(entry.overscanLeft));
215 if (entry.overscanTop != 0) {
216 out.attribute(null, "overscanTop", Integer.toString(entry.overscanTop));
218 if (entry.overscanRight != 0) {
219 out.attribute(null, "overscanRight", Integer.toString(entry.overscanRight));
221 if (entry.overscanBottom != 0) {
222 out.attribute(null, "overscanBottom", Integer.toString(entry.overscanBottom));