亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? screen.java

?? 有關(guān)j2me的很好的例子可以研究一下
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
            return -1;        }        // calculate the amount to scroll a screenful,        // with the minimum being a line of content        int blockIncr = (((bottom - top + (CONTENT_HEIGHT / 2)) /                           CONTENT_HEIGHT) - 1) * CONTENT_HEIGHT;        if (blockIncr < CONTENT_HEIGHT) {            blockIncr = CONTENT_HEIGHT;        }        if ((dir == Canvas.DOWN) && ((childHeight - bottom) < blockIncr)) {            return (childHeight - bottom);        } else if ((dir == Canvas.UP) && (top < blockIncr)) {            return top;        }        return blockIncr;    }    /**     * Handle a key pressed event     *     * @param keyCode The key that was pressed     */    void keyPressed(int keyCode) {        synchronized (Display.LCDUILock) {            keyPressedImpl(keyCode);        } // synchronized    }    /**     * Handle a key repeated event     *     * @param keyCode The key that was pressed     */    void keyRepeated(int keyCode) {        // SYNC NOTE: Locking handled by keyPressed()        keyPressed(keyCode);    }    // SYNC NOTE: These three empty methods should include a    // synchronized implementation (similar to keyPressedImpl())    // when/if they are needed    /**     * Handle a pointer pressed event     *     * @param x The x coordinate of the press     * @param y The y coordinate of the press     */    void pointerPressedImpl(int x, int y) { }    /**     * Handle a pointer released event     *     * @param x The x coordinate of the release     * @param y The y coordinate of the release     */    void pointerReleasedImpl(int x, int y) { }    /**     * Handle a pointer dragged event     *     * @param x The x coordinate of the drag     * @param y The y coordinate of the drag     */    void pointerDraggedImpl(int x, int y) { }    /**     * This method is used to determine if that screen instance     * is used as an edit screen for the screen passed in.     *     * @param d The Displayable to check     * @return boolean True, if this Screen is the "edit" screen     *                  for the Displayable     */    boolean isEditScreen(Displayable d) {        return false;    }    /**     * Set the content rectangle for this Screen     *     * @param rect An array holding the x,y,width,height     *              values of the rectangle     */    void getContentRect(int rect[]) {        if (rect != null && rect.length >= 4) {            rect[0] = globalViewPortX;            rect[1] = globalViewPortY;            rect[2] = viewPortWidth;            rect[3] = viewPortHeight;            if (hasBorder) {                rect[0] -= 2;                rect[1] -= 2;                rect[2] += 4;                rect[3] += 4;            }        }    }    /**     * Handle a key pressed event     *     * @param keyCode The key that was pressed     */    void keyPressedImpl(int keyCode) {        int gameKeyCode = Display.getGameAction(keyCode);        switch (gameKeyCode) {            case Canvas.UP:            case Canvas.DOWN:            case Canvas.LEFT:            case Canvas.RIGHT:                int scrollHeight = traverse(gameKeyCode, viewPortY,                                            viewPortY + viewPortHeight);                // there is no need to scroll and                // there is no need to repaint content                if (scrollHeight < 0) {                    return;                }                if (scrollHeight > 0) {                    if (gameKeyCode == Canvas.UP ||                            gameKeyCode == Canvas.LEFT) {                        viewPortY -= scrollHeight;                    } else if (gameKeyCode == Canvas.DOWN ||                            gameKeyCode == Canvas.RIGHT) {                        viewPortY += scrollHeight;                    }                }                // there is a need to repaint content                repaintContent();                setVerticalScroll();                break;        }    }    /**     * Handle a key repeated event     *     * @param keyCode The key that was pressed     */    void keyRepeatedImpl(int keyCode) {        keyPressedImpl(keyCode);    }    // SYNC NOTE: These two empty methods should include a    // synchronized implementation (similar to keyPressedImpl())    // when/if they are needed    /**     * Handle a key released event from the keyboard     *     * @param keyCode The key that was released     */    void keyReleasedImpl(int keyCode) { }    /**     * Handle a key typed event from the keyboard     *     * @param keyCode The key that was typed     */    void keyTypedImpl(int keyCode) { }    /**     * Notify this Screen it is being hidden     *     * @param d The Display hiding this Screen     */    void hideNotifyImpl(Display d) {        super.hideNotifyImpl(d);        if (!visible) {            return;        }        visible = false;        stopTicker();    }    /**     * Notify this Screen it is being shown on the display     *     * @param d The Display showing this Screen     */    void showNotifyImpl(Display d) {        super.showNotifyImpl(d);        if (visible) {            return;        }        if (layoutDoneOnce) {            Displayable currentCopy = d.getCurrent();            // We only want to initialize the highlight if we are            // not returning from another screen and we are not            // returning from an editor            if (currentCopy != this && (currentCopy instanceof Screen) &&                    !((Screen)currentCopy).isEditScreen(this)) {                viewPortY = initHilight(viewPortY, viewPortHeight);            }        } else {            doLayout();        }        visible = true;        startTicker();        repaint(0, 0, Display.WIDTH, Display.HEIGHT);        setVerticalScroll();    }    /** The image for this Screen */    private static final Image TITLE_IMG;    static {        /** The data to construct the image for this Screen */        byte title_data[] = {            (byte)0x89, (byte)0x50, (byte)0x4e, (byte)0x47,            (byte)0x0d, (byte)0x0a, (byte)0x1a, (byte)0x0a,            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x0d,            (byte)0x49, (byte)0x48, (byte)0x44, (byte)0x52,            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x60,            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x02,            (byte)0x02, (byte)0x03, (byte)0x00, (byte)0x00,            (byte)0x00, (byte)0xda, (byte)0xca, (byte)0x31,            (byte)0xfa, (byte)0x00, (byte)0x00, (byte)0x00,            (byte)0x06, (byte)0x50, (byte)0x4c, (byte)0x54,            (byte)0x45, (byte)0xbb, (byte)0xbb, (byte)0xbb,            (byte)0x6a, (byte)0x6a, (byte)0x6a, (byte)0x0f,            (byte)0x3b, (byte)0xef, (byte)0x7a, (byte)0x00,            (byte)0x00, (byte)0x00, (byte)0x10, (byte)0x49,            (byte)0x44, (byte)0x41, (byte)0x54, (byte)0x78,            (byte)0xda, (byte)0x63, (byte)0x60, (byte)0xc0,            (byte)0x01, (byte)0x18, (byte)0x43, (byte)0x71,            (byte)0x48, (byte)0x00, (byte)0x00, (byte)0x08,            (byte)0x43, (byte)0x00, (byte)0x57, (byte)0xe8,            (byte)0x2f, (byte)0x93, (byte)0x38, (byte)0x00,            (byte)0x00, (byte)0x00, (byte)0x00, (byte)0x49,            (byte)0x45, (byte)0x4e, (byte)0x44, (byte)0xae,            (byte)0x42, (byte)0x60, (byte)0x82,        };        TITLE_IMG = Image.createImage(title_data, 0, title_data.length);        tickerTimer = new Timer();        // NOTE: The width of the default TITLE_IMG is        // 96 pixels and the height is 2 pixels    }    /**     * A special helper class to repaint the Ticker of this Screen     * if one exists     */    private class TickerPainter extends TimerTask {        /**         * Repaint the ticker area of this Screen         */        public final void run() {            synchronized (Display.LCDUILock) {                // Repaint with a clip of just the text message                Screen.this.repaint(0, 2, Display.WIDTH, CONTENT_HEIGHT);            }        }    }    /**     * Start the ticker running.     * Here we ensure that a tickerPainter can only ever be scheduled     * if the Screen is visible and the ticker is visible. The visibility     * of the ticker (tickerIsVisible) is only determined in doLayout()     */    private void startTicker() {        if (visible && tickerIsVisible) {            tickerPainter = new TickerPainter();            tickerTimer.schedule(tickerPainter, 0, Ticker.TICK_RATE);        }    }    /**     * Stop the ticker from running     * Here we only have to check for the existence of a tickerPainter     */    private void stopTicker() {        if (tickerPainter != null) {            tickerPainter.cancel();            tickerPainter = null;        }    }    /**     * Get the title of this Screen     *     * @return String The title of this Screen     */    private String getTitleImpl() {        return (screenTitle == null ?            null : ((StringLayout)screenTitle).getString());    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人福利片| 欧美精品色综合| 亚洲一二三区不卡| 91豆麻精品91久久久久久| 亚洲手机成人高清视频| 欧美日韩精品欧美日韩精品一 | 久久网站热最新地址| 国产一区在线不卡| 国产免费成人在线视频| 99精品欧美一区二区蜜桃免费| 一区二区高清在线| 欧美日韩三级视频| 国模少妇一区二区三区| 亚洲欧洲三级电影| 欧美日韩一区在线| 久久超碰97人人做人人爱| 国产欧美日韩三区| 欧美日韩卡一卡二| 精品一区二区三区av| 国产精品久久久久aaaa| 欧美色网站导航| 国产揄拍国内精品对白| 亚洲精品福利视频网站| 日韩欧美国产一区二区三区| 国产成人在线观看免费网站| 亚洲一区在线观看视频| 精品国产一区二区三区不卡| 色哟哟一区二区三区| 裸体在线国模精品偷拍| 自拍偷拍亚洲欧美日韩| 欧美成人免费网站| 在线影视一区二区三区| 激情深爱一区二区| 午夜影院在线观看欧美| 久久久久久久久一| 欧美日韩午夜影院| av中文字幕不卡| 国产揄拍国内精品对白| 亚洲国产精品久久艾草纯爱| 欧美激情在线免费观看| 日韩欧美中文字幕制服| 色婷婷亚洲综合| 成人一区二区视频| 精品无人码麻豆乱码1区2区| 亚洲精品美国一| 亚洲国产精品精华液ab| 欧美电影免费观看高清完整版在线 | 欧美乱妇20p| 99久久久无码国产精品| 国产一区不卡精品| 另类的小说在线视频另类成人小视频在线| 国产精品国产a| 久久视频一区二区| 欧美一区永久视频免费观看| 色婷婷国产精品| 成人午夜碰碰视频| 九九热在线视频观看这里只有精品| 一区二区三区高清在线| 国产精品网站导航| 久久久久久久久久美女| 欧美成人video| 日韩视频在线观看一区二区| 欧美日韩国产综合一区二区| 在线观看免费一区| 色中色一区二区| 91在线免费播放| 91色在线porny| 成人白浆超碰人人人人| 国产成a人亚洲精品| 国产酒店精品激情| 狠狠色丁香婷综合久久| 久久99久久精品| 久久成人免费网站| 美女视频一区二区| 麻豆高清免费国产一区| 狠狠色综合日日| 国产成人免费网站| 成人网在线播放| www.亚洲在线| 色噜噜久久综合| 日本大香伊一区二区三区| 91福利小视频| 欧美欧美欧美欧美| 欧美电影免费观看高清完整版| 欧美成人r级一区二区三区| 久久综合色8888| 久久久久国产精品免费免费搜索| 国产亚洲成av人在线观看导航| 久久午夜老司机| 国产精品私人影院| 综合久久给合久久狠狠狠97色| 亚洲欧美日韩一区二区 | 国产一区视频导航| 老色鬼精品视频在线观看播放| 紧缚奴在线一区二区三区| 国产成人av一区二区三区在线观看| 国产成人aaa| 91丝袜高跟美女视频| 欧美在线一区二区| 欧美一区二区在线观看| 日韩欧美一区二区不卡| 欧美极品另类videosde| 亚洲男人的天堂网| 爽好多水快深点欧美视频| 日本vs亚洲vs韩国一区三区 | 一级特黄大欧美久久久| 亚洲午夜羞羞片| 极品少妇xxxx精品少妇| 成人动漫一区二区在线| 欧美日韩一本到| 久久毛片高清国产| 亚洲黄色性网站| 国产在线视视频有精品| 色综合久久中文综合久久97| 欧美日韩激情在线| 亚洲国产成人午夜在线一区| 亚洲一区在线视频| 国产精品99久久久久久久女警| 91色九色蝌蚪| 日韩三级在线观看| 亚洲色图在线播放| 老司机一区二区| 欧美在线短视频| 国产日韩欧美综合一区| 亚洲国产成人tv| 成人午夜激情在线| 日韩一区二区三区免费观看| 国产精品美日韩| 蜜桃一区二区三区在线观看| 一本色道a无线码一区v| 久久亚洲春色中文字幕久久久| 夜色激情一区二区| 懂色av一区二区三区免费观看 | 国产一区二区免费看| 欧美视频在线观看一区二区| 中文一区二区完整视频在线观看| 亚洲一区二区在线播放相泽| 成人午夜在线免费| 欧美一级在线视频| 亚洲成人免费视频| 色综合久久99| 中文字幕av资源一区| 另类小说色综合网站| 中文字幕成人在线观看| 精品一区二区三区蜜桃| 欧美色视频一区| 亚洲四区在线观看| 成人视屏免费看| 久久亚洲免费视频| 国产一区视频导航| 欧美成人免费网站| 美女一区二区三区在线观看| 欧美日韩成人高清| 亚洲影视资源网| 91视频在线观看免费| 中文字幕亚洲成人| 成人黄色免费短视频| 久久久不卡网国产精品一区| 麻豆成人综合网| 欧美成人高清电影在线| 奇米色一区二区| 日韩一级在线观看| 久久99久久精品| 精品国产一区二区亚洲人成毛片| 免费成人在线播放| 日韩一区二区电影| 精品亚洲成av人在线观看| 欧美成人精品高清在线播放| 精品一区二区免费在线观看| 精品久久久久久无| 国产精品一级片在线观看| 国产欧美日韩精品一区| 成人综合婷婷国产精品久久免费| 国产色产综合产在线视频| 国产成人午夜99999| 国产精品三级av在线播放| 99免费精品在线观看| 一区二区三区高清在线| 欧美酷刑日本凌虐凌虐| 蜜臀av一区二区在线观看| 精品国产乱码久久久久久闺蜜| 久99久精品视频免费观看| 国产欧美日韩在线观看| 91丨porny丨首页| 肉丝袜脚交视频一区二区| 日韩午夜av电影| 福利一区在线观看| 亚洲精品综合在线| 69久久夜色精品国产69蝌蚪网| 日韩福利视频导航| 久久久欧美精品sm网站| 成人免费电影视频| 午夜精品在线视频一区| 日韩一区二区三区高清免费看看 | 欧美aⅴ一区二区三区视频| 26uuuu精品一区二区| proumb性欧美在线观看| 一区二区三区在线视频观看58| 欧美一区二区三区人| 国产盗摄一区二区|