Lines Matching defs:id
83 * // Get the images for the background (id == 0)
84 * // and the animation frames (id == 1)
149 * // frame if all of the frames (id == 1) are done loading,
208 * @param id an identifier used to track this image
210 public void addImage(Image image, int id) {
211 addImage(image, id, -1, -1);
220 * @param id an identifier that can be used to track this image
224 public synchronized void addImage(Image image, int id, int w, int h) {
226 new ImageMediaEntry(this, image, id, w, h));
487 * @param id the identifier of the images to check
496 public boolean checkID(int id) {
497 return checkID(id, false, true);
512 * @param id the identifier of the images to check
523 public boolean checkID(int id, boolean load) {
524 return checkID(id, load, true);
527 private synchronized boolean checkID(int id, boolean load, boolean verify)
532 if (cur.getID() == id
545 * @param id the identifier of the images to check
552 public synchronized boolean isErrorID(int id) {
555 if (cur.getID() == id
568 * @param id the identifier of the images to check
577 public synchronized Object[] getErrorsID(int id) {
581 if (cur.getID() == id
595 if (cur.getID() == id
614 * @param id the identifier of the images to check
621 public void waitForID(int id) throws InterruptedException {
622 waitForID(id, 0);
636 * @param id the identifier of the images to check
647 public synchronized boolean waitForID(int id, long ms)
653 int status = statusID(id, first, first);
684 * @param id the identifier of the images to check
696 public int statusID(int id, boolean load) {
697 return statusID(id, load, true);
700 private synchronized int statusID(int id, boolean load, boolean verify) {
704 if (cur.getID() == id) {
747 * @param id the tracking ID frrom which to remove the image
752 public synchronized void removeImage(Image image, int id) {
757 if (cur.getID() == id && cur.getMedia() == image) {
777 * @param id the tracking ID from which to remove the image
784 public synchronized void removeImage(Image image, int id,
790 if (cur.getID() == id && cur instanceof ImageMediaEntry
820 MediaEntry(MediaTracker mt, int id) {
822 ID = id;