Java 类org.androidannotations.annotations.LongClick 实例源码

项目:Coding-Android    文件:VoiceView.java   
@LongClick
boolean voiceRecordButton() {
    if (activity instanceof ContentAreaImages.VoicePlayCallBack) {
        ContentAreaImages.VoicePlayCallBack voicePlayCallBack = (ContentAreaImages.VoicePlayCallBack) activity;
        voicePlayCallBack.onStopPlay();
    }

    //开始录音...
    startRecord();
    return true;
}
项目:monodict    文件:MainActivity.java   
@LongClick(R.id.search_button)
void onLongClickSearchButton() {
    if (preferences.focusAndClear().get()) {
        searchView.clear();
    }
    inputMethogManager.showInputMethodPicker();
    searchView.focus();
}
项目:selfoss-android    文件:ArticleFragment.java   
@LongClick(R.id.webView)
protected boolean onWebViewLongClicked() {
    HitTestResult result = webView.getHitTestResult();
    if (result != null && (result.getType() == HitTestResult.IMAGE_TYPE || result.getType() == HitTestResult.SRC_IMAGE_ANCHOR_TYPE)) {
        return showImageTitle(result.getExtra());
    }
    return false;
}
项目:Local-GSM-Backend    文件:AreaView.java   
@LongClick(R.id.card)
protected void cardLongClick() {
    performLongClick();
}
项目:Local-GSM-Backend    文件:AreaView.java   
@LongClick(R.id.card2)
protected void card2LongClick() {
    performLongClick();
}
项目:selfoss-android    文件:ArticleFragment.java   
@LongClick(R.id.image)
protected boolean onImageLongClicked() {
    showImageTitle(article.getImageUrl());
    return true;
}