Lines Matching refs:zone

65  * have the effect of causing only one zone to be created.  This would
96 * Get the current maximum zone size.
103 * Set the desired maximum zone size. A
104 * zone may get larger than this size if
109 * @param size the number of characters the zone
111 * the zone into a smaller size.
144 * Called by a zone when it gets loaded. This happens when
146 * translation on a zone that was in an unloaded state.
148 * zones was reached and to unload the oldest zone if so.
150 * @param zone the child view that was just loaded.
152 protected void zoneWasLoaded(View zone) {
153 //System.out.println("loading: " + zone.getStartOffset() + "," + zone.getEndOffset());
154 loadedZones.addElement(zone);
160 View zone = loadedZones.elementAt(0);
162 unloadZone(zone);
167 * Unload a zone (Convert the zone to its memory saving state).
173 * @param zone the child view desired to be set to an
176 protected void unloadZone(View zone) {
177 //System.out.println("unloading: " + zone.getStartOffset() + "," + zone.getEndOffset());
178 zone.removeAll();
182 * Determine if a zone is in the loaded state.
188 protected boolean isZoneLoaded(View zone) {
189 return (zone.getViewCount() > 0);
193 * Create a view to represent a zone for the given
196 * is called by the zone management logic to create
198 * implementation for a zone by changing this method.
200 * @param p0 the start of the desired zone. This should
203 * @param p1 the end of the desired zone. This should
209 View zone;
211 zone = new Zone(getElement(),
218 return zone;
233 // build the first zone.
281 * Break up the zone at the given index into pieces
285 // divide the old zone into a new set of bins
302 * Returns the zone position to use for the
303 * end of a zone that starts at the given
305 * close to half the max zone size.
339 * relevant zone (i.e. determine if a zone needs to be split into a
357 * joined with another zone).
372 * that have been arranged in a zone.
387 * zone with them. This is done by translating
390 * zone is already loaded, this does nothing.
419 * Determines if the zone is in the loaded state
428 * since the children are created when the zone is loaded
466 * if the zone has not yet been loaded. If the zone is
479 * the model. Since the zone contains a cluster of the overall
508 // The change is in this zone
534 * surface. This is implemented to load the zone if its not
549 * make sure the zone is loaded before providing the superclass
568 * making sure the zone is loaded (The zone must be loaded to
602 * If the zone has been loaded, the superclass behavior is
619 * If the zone has been loaded, the superclass behavior is
636 * If the zone has been loaded, the superclass behavior is