Ejemplo n.º 1
0
    protected void onDraw(Canvas canvas)
    {
        int i;
        int j;
        int k;
        int l;
        super.onDraw(canvas);
        l = getPaddingTop();
        k = getPaddingLeft();
        j = getWidth() - getPaddingRight();
        i = getHeight() - getPaddingBottom();
        static class _cls1
        {

            static final int $SwitchMap$com$facebook$share$internal$LikeBoxCountView$LikeBoxCountViewCaretPosition[];

            static 
            {
                $SwitchMap$com$facebook$share$internal$LikeBoxCountView$LikeBoxCountViewCaretPosition = new int[LikeBoxCountViewCaretPosition.values().length];
                try
                {
                    $SwitchMap$com$facebook$share$internal$LikeBoxCountView$LikeBoxCountViewCaretPosition[LikeBoxCountViewCaretPosition.LEFT.ordinal()] = 1;
                }
                catch (NoSuchFieldError nosuchfielderror3) { }
                try
                {
                    $SwitchMap$com$facebook$share$internal$LikeBoxCountView$LikeBoxCountViewCaretPosition[LikeBoxCountViewCaretPosition.TOP.ordinal()] = 2;
                }
                catch (NoSuchFieldError nosuchfielderror2) { }
                try
                {
                    $SwitchMap$com$facebook$share$internal$LikeBoxCountView$LikeBoxCountViewCaretPosition[LikeBoxCountViewCaretPosition.RIGHT.ordinal()] = 3;
                }
                catch (NoSuchFieldError nosuchfielderror1) { }
                try
                {
                    $SwitchMap$com$facebook$share$internal$LikeBoxCountView$LikeBoxCountViewCaretPosition[LikeBoxCountViewCaretPosition.BOTTOM.ordinal()] = 4;
                }
                catch (NoSuchFieldError nosuchfielderror)
                {
                    return;
                }
            }
        }

        _cls1..SwitchMap.com.facebook.share.internal.LikeBoxCountView.LikeBoxCountViewCaretPosition[caretPosition.ordinal()];
        JVM INSTR tableswitch 1 4: default 80
    //                   1 108
    //                   2 122
    //                   3 136
    //                   4 96;
           goto _L1 _L2 _L3 _L4 _L5
_L1:
        drawBorder(canvas, k, l, j, i);
        return;
_L5:
        i = (int)((float)i - caretHeight);
        continue; /* Loop/switch isn't completed */
_L2:
        k = (int)((float)k + caretHeight);
        continue; /* Loop/switch isn't completed */
_L3:
        l = (int)((float)l + caretHeight);
        continue; /* Loop/switch isn't completed */
_L4:
        j = (int)((float)j - caretHeight);
        if (true) goto _L1; else goto _L6