Code example for HashMap

Methods: clear

0
        final Locale floc = prev;
        return new Runnable() { public void run() { startSequence(fhead, floc); } };
    } 
 
    private void startSequence(Runnable firstRun, Locale firstLocale) {
        savedBitmaps.clear();
        switchTo(firstLocale);
        mText.postDelayed(firstRun, 200);
    } 
 
    private void saveBitmap(Bitmap b, String filename) {
        try { 
            FileOutputStream fos = openFileOutput(filename, 0);
            b.compress(Bitmap.CompressFormat.PNG, 100, fos);
            fos.close();
        } catch (IOException e) {
            Log.i(TAG, "failed to write PNG", e);
        } 
    } 
 
    private int colorFor(byte b) {