`
月下独酌
  • 浏览: 130534 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

and13

 
阅读更多
private void drawRightDragImg(Canvas canvas) {
        int offset = getDragWingsOffset();
        Drawable rightDragNormal = getResources().getDrawable(R.drawable.right_drag_normal);
        Drawable rightDrag = getResources().getDrawable(R.drawable.right_drag);  
        Bitmap arrowheadRightNormal = BitmapFactory.decodeResource(getResources(), R.drawable.arrowhead_right_normal);
        Bitmap arrowheadRight = BitmapFactory.decodeResource(getResources(), R.drawable.arrowhead_right_active);
       
        canvas.save();
        canvas.translate(-transferAt.getCurrentScale(), 0);
        if (mScrollState == SCROLL_WAITING_IN_ZONE && mScrollRunnable.mDirection == SCROLL_RIGHT) {

            rightDrag.setBounds(getWidth() - SCROLL_ZONE_IMG_WIDTH, offset, getWidth(), offset + calculate.getDragWingsHeight());
            rightDrag.draw(canvas);


            canvas.drawBitmap(arrowheadRight, getWidth() - arrowheadRight.getWidth(), getHeight() / 2
                    - arrowheadRight.getHeight() / 2, imgPaint);

        } else {
            rightDragNormal.setBounds(getWidth() - SCROLL_ZONE_IMG_WIDTH, offset, getWidth(), offset
                    + calculate.getDragWingsHeight());
            rightDragNormal.draw(canvas);


            canvas.drawBitmap(arrowheadRightNormal, getWidth() - arrowheadRightNormal.getWidth(), getHeight() / 2
                    - arrowheadRightNormal.getHeight() / 2, imgPaint);
        }
        canvas.restore();
    }
   
    private int getDragWingsOffset() {
        return LengthCalculate.STATEBAR_HEIGHT + (calculate.getLauncherContentHeight(getHeight())
                - calculate.getDragWingsHeight()) / 2;
    }
分享到:
评论

相关推荐

    x13as.exe时间序列季节调整

    python进行时间序列分析的x13季节调整时,必定要用到的exe文件x13as.exe

    X12_X13季节调整程序(python).rar

    该程序是使用python调用X12程序以及X13程序进行自动化季节调整,可以用python语言进行批量季节调整,而避免了使用eviews去进行季节调整,内含x12.exe和x13.exe季节调整程序。

    C&C++ Ref.text-001.pdf

    The intention of this text is to cover topics on the C programming language and introductory software design in sequence as a 20 lecture course, with the material in Chapters 2, 7, 8, 11, and 13 well...

    Wavelets and Filter Banks_MIT

    Lecture 13 Accuracy of Wavelet Approximations (Condition A) Vanishing Moments Polynomial Cancellation in Filter Banks Lecture 14 Smoothness of Wavelet Bases: Convergence of the Cascade Algorithm ...

    COCI 2015 #1 Tasks

    The suit is one of the characters `P`, `K`, `H`, or `T`, and the number is an integer between 1 and 13. Cards are labeled in the format `TXY`, where `T` is the suit and `XY` is the number. If the ...

    Operating Systems Internals and Design Principles, 9th Edition

    ISBN-13 书号: 9780134670959 Edition 版本: 9 出版日期: 2017-03-23 pages 页数: (800 ) $198.8 An introduction to operating systems with up-to-date and comprehensive coverage Now in its 9th Edition, ...

    [Dreamweaver] Dreamweaver CS6 实战手册 (英文版)

    You’ll learn to use every facet of this versatile program, through jargon-free explanations and 13 hands-on tutorials. The important stuff you need to know: - Get A to Z guidance. Go from building...

    Data Structures, Algorithms and Applications in C++ Second Edition

    Chapter 13 Tournament Trees Chapter 14 Binary Search Trees Chapter 15 Balanced Search Trees Chapter 16 Graphs Part III Algorithm Design Methods Chapter 17 The Greedy Method Chapter 18 Divide and ...

    Microsoft Excel 2019 VBA and Macros

    ISBN-13 书号: 9781509306114 Edition 版本: 1 出版日期: 2019-01-07 pages 页数: (1580) Use this guide to automate virtually any routine Excel task: save yourself hours, days, maybe even weeks. Make ...

    Pride and Prejudice Chapter10-13

    标题"Pride and Prejudice Chapter 10-13"提示我们,这里关注的是小说的第十章至第十三章的内容。这些章节在全书中占据了重要的地位,继续展开主角们的情感纠葛和故事发展。 第十章中,我们可以预见到主角伊丽莎白...

    Programming Excel With Vba And .net.chm

    Chapter 13. Analyzing Data with Pivot Tables Section 13.1. Quick Guide to Pivot Tables Section 13.2. Program Pivot Tables Section 13.3. PivotTable and PivotTables Members Section 13.4. ...

    Programming in C++ for Engineering and Science

    Chapter 13: Multidimensional Arrays and Vectors Chapter 14: Building ClassesChapter 15: Pointers and Linked Structures Chapter 16: Data Structures Answers to Test Yourself Questions Appendix A: ASCII ...

    Handbook of Mathematical Functions With Formulas, Graphs, and Mathematical Table

    Bessel functions of integer (12) and fractional (13) order; integrals of Bessel functions (2); Struve and related functions (2); confluent hypergeometric functions (2); Coulomb wave functions (2); ...

    文华指标公式期货软件波段最准确的指标均线买进卖出公式源码.doc

    VAR19 := SMA(MAX(CLOSE-VAR17,0),13,1)/SMA(ABS(CLOSE-VAR17),13,1)*100; VAR1A := BARSLAST(VAR19)<=3 AND CROSS(VAR18,VAR19); VAR1B := (CLOSE-MA(CLOSE,33))/MA(CLOSE,20)*100; VAR1C := LLV(LOW,5); VAR...

Global site tag (gtag.js) - Google Analytics