Gallery3D图片的循环播放

    技术2022-05-19  24

     boolean changeFocusToNextSlot(float convergence) {//显示下一个图片     //Log.i("===GridLayer=====", "=====changeFocusToNextSlot()====");        int currentSelectedSlot = mInputProcessor.getCurrentSelectedSlot();        boolean retVal = changeFocusToSlot(currentSelectedSlot + 1, convergence);       // Log.i("===GridLayer=====", "=====changeFocusToNextSlot()====");        if (mInputProcessor.getCurrentSelectedSlot() == currentSelectedSlot) {         //Log.i("===GridLayer=====", "=====changeFocusToNextSlot()== endSlideshow();==");         mInputProcessor.setCurrentSelectedSlot(0);         currentSelectedSlot=0;            //endSlideshow();            //mHud.setAlpha(1.0f);        }        return retVal;    }


    最新回复(0)