當前位置: 首頁>>代碼示例>>Java>>正文


Java Keyboard.Row方法代碼示例

本文整理匯總了Java中android.inputmethodservice.Keyboard.Row方法的典型用法代碼示例。如果您正苦於以下問題:Java Keyboard.Row方法的具體用法?Java Keyboard.Row怎麽用?Java Keyboard.Row使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在android.inputmethodservice.Keyboard的用法示例。


在下文中一共展示了Keyboard.Row方法的12個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: createKeyFromXml

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
@Override
protected Keyboard.Key createKeyFromXml(Resources res, Keyboard.Row parent, int x, int y,
                                        XmlResourceParser parser) {
    LatinKey key = new LatinKey(res, parent, x, y, parser);
    final int code = key.codes[0];
    if (code >= 0 && code != '\n' && (code < 32 || code > 127)) {
        key.label = " ";
        key.setEnabled(false);
    }
    switch (key.codes[0]) {
        case KEYCODE_ENTER:
            mEnterKey = key;
            break;
    }
    return key;
}
 
開發者ID:bither,項目名稱:bither-android,代碼行數:17,代碼來源:EntryKeyboard.java

示例2: LatinKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public LatinKey(Resources res, Keyboard.Row parent, int x, int y, 
        XmlResourceParser parser) {
    super(res, parent, x, y, parser);
    if (popupCharacters != null && popupCharacters.length() == 0) {
        // If there is a keyboard with no keys specified in popupCharacters
        popupResId = 0;
    }
}
 
開發者ID:PhilippC,項目名稱:keepass2android,代碼行數:9,代碼來源:LatinKeyboard.java

示例3: PuffKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public PuffKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) {
    super(res, parent, x, y, parser);
    if(this.label == null && this.icon == null) {
        this.icon = new ColorDrawable(Color.argb(0xff, 0, 0, 0));
        this.iconPreview = this.icon;
    }
}
 
開發者ID:PuffOpenSource,項目名稱:Puff-Android,代碼行數:8,代碼來源:PuffKey.java

示例4: LatinKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public LatinKey(Resources res, Keyboard.Row parent, int x, int y,
                XmlResourceParser parser) {
    super(res, parent, x, y, parser);
    if (popupCharacters != null && popupCharacters.length() == 0) {
        // If there is a keyboard with no keys specified in popupCharacters
        popupResId = 0;
    }
}
 
開發者ID:bither,項目名稱:bither-android,代碼行數:9,代碼來源:EntryKeyboard.java

示例5: LatinKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public LatinKey(Resources res, Keyboard.Row parent, int x, int y,
                XmlResourceParser parser) {
    super(res, parent, x, y, parser);
}
 
開發者ID:VladThodo,項目名稱:behe-keyboard,代碼行數:5,代碼來源:LatinKeyboard.java

示例6: LatinKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public LatinKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) {
    super(res, parent, x, y, parser);
}
 
開發者ID:tranleduy2000,項目名稱:javaide,代碼行數:4,代碼來源:LatinKeyboard.java

示例7: ArabicKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public ArabicKey(Resources res, Keyboard.Row parent, int x, int y,
                 XmlResourceParser parser) {
    super(res, parent, x, y, parser);
}
 
開發者ID:cdjalel,項目名稱:QuranKeyboard,代碼行數:5,代碼來源:ArabicKeyboard.java

示例8: smKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public smKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) {
    super(res, parent, x, y, parser);
}
 
開發者ID:YehtutHl,項目名稱:myan,代碼行數:4,代碼來源:smKeyboard.java

示例9: BhoKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public BhoKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) {
    super(res, parent, x, y, parser);
}
 
開發者ID:iamironrabbit,項目名稱:tibetan-keyboard,代碼行數:4,代碼來源:BhoKeyboard.java

示例10: LatinKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public LatinKey(Resources res, Keyboard.Row parent, int x, int y,
        XmlResourceParser parser) {
    super(res, parent, x, y, parser);
}
 
開發者ID:accentype,項目名稱:accentype-android,代碼行數:5,代碼來源:LatinKeyboard.java

示例11: createKeyFromXml

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
@Override
protected Keyboard.Key createKeyFromXml(Resources res, Keyboard.Row parent, int x, int y,
                                        XmlResourceParser parser) {
    Keyboard.Key key = new PuffKey(res, parent, x, y, parser);
    return key;
}
 
開發者ID:PuffOpenSource,項目名稱:Puff-Android,代碼行數:7,代碼來源:PuffKeyboard.java

示例12: HangulKey

import android.inputmethodservice.Keyboard; //導入方法依賴的package包/類
public HangulKey(Resources res, Keyboard.Row parent, int x, int y, XmlResourceParser parser) {
    super(res, parent, x, y, parser);
}
 
開發者ID:ghwoni13,項目名稱:BAGO_TS,代碼行數:4,代碼來源:HangeulKeyboard.java


注:本文中的android.inputmethodservice.Keyboard.Row方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。