Lines Matching defs:id
32 * Maintains a bundle of states for a group of views. Each view must have a unique id to identify
37 * Vertical list maintains id->bundle mapping of all it's children (even the children is offscreen
64 public void remove(int id) {
66 mChildStates.remove(getSaveStatesKey(id));
147 * Load view from states, it's none operation if the there is no state associated with the id.
150 * @param id unique id for the view within this ViewsStateBundle
152 public final void loadView(View view, int id) {
154 String key = getSaveStatesKey(id);
168 * @param id unique id for the view within this ViewsStateBundle
170 protected final void saveViewUnchecked(View view, int id) {
172 String key = getSaveStatesKey(id);
185 * @param id Id of the view.
187 public final Bundle saveOnScreenView(Bundle bundle, View view, int id) {
189 String key = getSaveStatesKey(id);
204 * @param id unique id for the view within this ViewsStateBundle
206 public final void saveOffscreenView(View view, int id) {
210 saveViewUnchecked(view, id);
213 remove(id);
220 static String getSaveStatesKey(int id) {
221 return Integer.toString(id);