Java 类com.facebook.share.internal.LikeBoxCountView 实例源码

项目:kognitivo    文件:LikeView.java   
private void updateBoxCountCaretPosition() {
    switch (auxiliaryViewPosition) {
        case TOP:
            likeBoxCountView.setCaretPosition(
                    LikeBoxCountView.LikeBoxCountViewCaretPosition.BOTTOM);
            break;
        case BOTTOM:
            likeBoxCountView.setCaretPosition(
                    LikeBoxCountView.LikeBoxCountViewCaretPosition.TOP);
            break;
        case INLINE:
            likeBoxCountView.setCaretPosition(
                    horizontalAlignment == HorizontalAlignment.RIGHT ?
                            LikeBoxCountView.LikeBoxCountViewCaretPosition.RIGHT :
                            LikeBoxCountView.LikeBoxCountViewCaretPosition.LEFT);
            break;
    }
}
项目:Move-Alarm_ORCA    文件:LikeView.java   
private void updateBoxCountCaretPosition() {
    switch (auxiliaryViewPosition) {
        case TOP:
            likeBoxCountView.setCaretPosition(
                    LikeBoxCountView.LikeBoxCountViewCaretPosition.BOTTOM);
            break;
        case BOTTOM:
            likeBoxCountView.setCaretPosition(
                    LikeBoxCountView.LikeBoxCountViewCaretPosition.TOP);
            break;
        case INLINE:
            likeBoxCountView.setCaretPosition(
                    horizontalAlignment == HorizontalAlignment.RIGHT ?
                            LikeBoxCountView.LikeBoxCountViewCaretPosition.RIGHT :
                            LikeBoxCountView.LikeBoxCountViewCaretPosition.LEFT);
            break;
    }
}
项目:SocioBlood    文件:LikeView.java   
private void updateBoxCountCaretPosition() {
    switch (auxiliaryViewPosition) {
        case TOP:
            likeBoxCountView.setCaretPosition(
                    LikeBoxCountView.LikeBoxCountViewCaretPosition.BOTTOM);
            break;
        case BOTTOM:
            likeBoxCountView.setCaretPosition(
                    LikeBoxCountView.LikeBoxCountViewCaretPosition.TOP);
            break;
        case INLINE:
            likeBoxCountView.setCaretPosition(
                    horizontalAlignment == HorizontalAlignment.RIGHT ?
                            LikeBoxCountView.LikeBoxCountViewCaretPosition.RIGHT :
                            LikeBoxCountView.LikeBoxCountViewCaretPosition.LEFT);
            break;
    }
}
项目:kognitivo    文件:LikeView.java   
private void initializeLikeCountView(Context context) {
    likeBoxCountView = new LikeBoxCountView(context);

    LinearLayout.LayoutParams likeCountViewLayout = new LinearLayout.LayoutParams(
            LayoutParams.MATCH_PARENT,
            LayoutParams.MATCH_PARENT);
    likeBoxCountView.setLayoutParams(likeCountViewLayout);
}
项目:Move-Alarm_ORCA    文件:LikeView.java   
private void initializeLikeCountView(Context context) {
    likeBoxCountView = new LikeBoxCountView(context);

    LinearLayout.LayoutParams likeCountViewLayout = new LinearLayout.LayoutParams(
            LayoutParams.MATCH_PARENT,
            LayoutParams.MATCH_PARENT);
    likeBoxCountView.setLayoutParams(likeCountViewLayout);
}
项目:SocioBlood    文件:LikeView.java   
private void initializeLikeCountView(Context context) {
    likeBoxCountView = new LikeBoxCountView(context);

    LinearLayout.LayoutParams likeCountViewLayout = new LinearLayout.LayoutParams(
            LayoutParams.MATCH_PARENT,
            LayoutParams.MATCH_PARENT);
    likeBoxCountView.setLayoutParams(likeCountViewLayout);
}