HomeSort by relevance Sort by last modified time
    Searched refs:keyId (Results 1 - 25 of 29) sorted by null

1 2

  /packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
SkbTemplate.java 40 int keyId;
177 public void addDefaultKey(int keyId, SoftKey softKey) {
181 keyRecord.keyId = keyId;
187 if (mKeyRecords.get(pos).keyId >= keyId) break;
193 public SoftKey getDefaultKey(int keyId) {
198 if (keyRecord.keyId < keyId) {
202 if (keyRecord.keyId == keyId)
    [all...]
XmlKeyboardLoader.java 400 int keyId = this.getInteger(xrp, XMLATTR_ID, -1);
401 if (-1 == keyId) return null;
413 mSkbTemplate.addDefaultKey(keyId, softKey);
580 int keyId = this.getInteger(xrp, XMLATTR_ID, -1);
581 if (keyId >= 0) {
582 softKey = mSkbTemplate.getDefaultKey(keyId);
    [all...]
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info.cpp 137 const int keyId, const int x, const int y, const bool isGeometric) const {
138 const float centerX = static_cast<float>(getKeyCenterXOfKeyIdG(keyId, x, isGeometric));
139 const float centerY = static_cast<float>(getKeyCenterYOfKeyIdG(keyId, y, isGeometric));
195 const int keyId, const int referencePointX, const bool isGeometric) const {
196 if (keyId < 0) {
199 int centerX = (hasTouchPositionCorrectionData()) ? static_cast<int>(mSweetSpotCenterXs[keyId])
200 : mCenterXsG[keyId];
201 const int keyWidth = mKeyWidths[keyId];
221 const int keyId, const int referencePointY, const bool isGeometric) const {
223 if (keyId < 0)
    [all...]
proximity_info_utils.h 151 const int *const keyWidths, const int *keyHeights, const int keyId, const int x,
153 if (keyId < 0) return true; // NOT_A_ID is -1, but return whenever < 0 just in case
154 const int left = keyXCoordinates[keyId];
155 const int top = keyYCoordinates[keyId];
156 const int right = left + keyWidths[keyId] + 1;
157 const int bottom = top + keyHeights[keyId];
234 const int keyId, const int x, const int y) {
236 if (keyId < 0) return MAX_VALUE_FOR_WEIGHTING;
237 const int left = keyXCoordinates[keyId];
238 const int top = keyYCoordinates[keyId];
    [all...]
proximity_info_state.cpp 165 const int keyId = mProximityInfo->getKeyIndexOf(codePoint);
166 if (keyId != NOT_AN_INDEX) {
167 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId;
178 const int inputIndex, const int keyId) const {
181 keyId);
263 bool ProximityInfoState::isKeyInSerchKeysAfterIndex(const int index, const int keyId) const {
264 ASSERT(keyId >= 0 && index >= 0 && index < mSampledInputSize);
265 return mSampledSearchKeySets[index].test(keyId);
proximity_info.h 40 const int keyId, const int x, const int y, const bool isGeometric) const;
68 const int keyId, const int referencePointX, const bool isGeometric) const;
70 const int keyId, const int referencePointY, const bool isGeometric) const;
proximity_info_state.h 148 float getPointToKeyByIdLength(const int inputIndex, const int keyId) const;
191 bool isKeyInSerchKeysAfterIndex(const int index, const int keyId) const;
proximity_info_state_utils.cpp 453 const int keyId = proximityInfo->getKeyIndexOf(nodeCodePoint);
454 if (keyId >= 0) {
455 x = proximityInfo->getKeyCenterXOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric);
456 y = proximityInfo->getKeyCenterYOfKeyIdG(keyId, NOT_AN_INDEX, isGeometric);
609 const int inputIndex, const int keyId) {
610 if (keyId != NOT_AN_INDEX) {
611 const int index = inputIndex * keyCount + keyId;
    [all...]
  /frameworks/av/drm/mediadrm/plugins/mock/
MockDrmCryptoPlugin.h 103 Vector<uint8_t> const &keyId,
109 Vector<uint8_t> const &keyId,
115 Vector<uint8_t> const &keyId,
120 Vector<uint8_t> const &keyId,
MockDrmCryptoPlugin.cpp 452 Vector<uint8_t> const &keyId,
458 ALOGD("MockDrmPlugin::encrypt(sessionId=%s, keyId=%s, input=%s, iv=%s)",
460 vectorToString(keyId).string(),
471 // byte[] keyId -> mock-keyid
474 mByteArrayProperties.add(String8("mock-keyid"), keyId);
491 Vector<uint8_t> const &keyId,
497 ALOGD("MockDrmPlugin::decrypt(sessionId=%s, keyId=%s, input=%s, iv=%s)",
499 vectorToString(keyId).string()
    [all...]
  /frameworks/av/include/media/
IDrm.h 88 Vector<uint8_t> const &keyId,
94 Vector<uint8_t> const &keyId,
100 Vector<uint8_t> const &keyId,
105 Vector<uint8_t> const &keyId,
  /frameworks/av/media/libmediaplayerservice/
Drm.h 92 Vector<uint8_t> const &keyId,
98 Vector<uint8_t> const &keyId,
104 Vector<uint8_t> const &keyId,
109 Vector<uint8_t> const &keyId,
Drm.cpp 522 Vector<uint8_t> const &keyId,
536 return mPlugin->encrypt(sessionId, keyId, input, iv, output);
540 Vector<uint8_t> const &keyId,
554 return mPlugin->decrypt(sessionId, keyId, input, iv, output);
558 Vector<uint8_t> const &keyId,
571 return mPlugin->sign(sessionId, keyId, message, signature);
575 Vector<uint8_t> const &keyId,
589 return mPlugin->verify(sessionId, keyId, message, signature, match);
  /frameworks/native/include/media/drm/
DrmAPI.h 257 // specified by setCipherAlgorithm and the key selected by keyId,
260 Vector<uint8_t> const &keyId,
266 // specified by setCipherAlgorithm and the key selected by keyId,
269 Vector<uint8_t> const &keyId,
275 // specified by setMacAlgorithm and the key selected by keyId,
278 Vector<uint8_t> const &keyId,
283 // specified by setMacAlgorithm and the key selected by keyId,
287 Vector<uint8_t> const &keyId,
  /frameworks/av/media/libmedia/
IDrm.cpp 317 Vector<uint8_t> const &keyId,
325 writeVector(data, keyId);
336 Vector<uint8_t> const &keyId,
344 writeVector(data, keyId);
355 Vector<uint8_t> const &keyId,
362 writeVector(data, keyId);
372 Vector<uint8_t> const &keyId,
380 writeVector(data, keyId);
675 Vector<uint8_t> sessionId, keyId, input, iv, output;
677 readVector(data, keyId);
    [all...]
  /frameworks/base/media/java/android/media/
MediaDrm.java 567 byte[] keyId, byte[] input, byte[] iv);
570 byte[] keyId, byte[] input, byte[] iv);
573 byte[] keyId, byte[] message);
576 byte[] keyId, byte[] message,
618 * @param keyid specifies which key to use
622 public byte[] encrypt(byte[] keyid, byte[] input, byte[] iv) {
623 return encryptNative(mDrm, mSessionId, keyid, input, iv);
629 * @param keyid specifies which key to use
633 public byte[] decrypt(byte[] keyid, byte[] input, byte[] iv) {
634 return decryptNative(mDrm, mSessionId, keyid, input, iv)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaDrmMockTest.java 538 byte[] keyId = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09};
545 byte[] output = cs.encrypt(keyId, input, iv);
547 assertTrue(Arrays.equals(keyId, md.getPropertyByteArray("mock-keyid")));
564 byte[] keyId = {0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49};
571 byte[] output = cs.decrypt(keyId, input, iv);
573 assertTrue(Arrays.equals(keyId, md.getPropertyByteArray("mock-keyid")));
590 byte[] keyId = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09};
596 byte[] signature = cs.sign(keyId, message)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/input/
KeyNames.java 150 public String getName(int keyId){
151 return KEY_NAMES[keyId];
  /frameworks/base/keystore/java/android/security/
KeyChain.java 305 final String keyId = keyChainService.requestPrivateKey(alias);
306 if (keyId == null) {
311 return engine.getPrivateKeyById(keyId);
  /external/chromium_org/chrome/browser/resources/chromeos/
keyboard_overlay.js 229 function keyId(identifier, i) {
421 var key = $(keyId(identifier, i));
500 key.id = keyId(identifier, i);
611 var keyId = layout[i][0];
612 if (keyId in newLayoutData) {
613 layout[i] = [keyId].concat(newLayoutData[keyId]);
614 delete newLayoutData[keyId];
616 if (keyId == powerKeyId)
619 for (var keyId in newLayoutData
    [all...]
  /external/chromium_org/media/base/android/java/src/org/chromium/media/
MediaCodecBridge.java 174 int index, int offset, byte[] iv, byte[] keyId, int[] numBytesOfClearData,
180 keyId, iv, MediaCodec.CRYPTO_MODE_AES_CTR);
  /frameworks/base/services/java/com/android/server/pm/
KeySetManager.java 367 for (Long keyId : deletableKeys) {
368 mPublicKeys.delete(keyId);
502 for (long keyId : keys) {
504 serializer.attribute(null, "identifier", Long.toString(keyId));
  /frameworks/base/media/jni/
android_media_MediaDrm.cpp     [all...]
  /external/chromium/chrome/browser/resources/keyboard/
main.js 188 * @param {string} keyId The key identifier for the key.
192 function SvgKey(aspect, className, keyId) {
197 this.keyId_ = keyId;
227 * @param {string} keyId The key identifier for the key.
231 function SpecialKey(aspect, content, keyId) {
236 this.keyId_ = keyId;
  /external/chromium/chrome/browser/resources/
keyboard_overlay.js 149 function keyId(identifier, i) {
299 var key = document.getElementById(keyId(identifier, i));
367 key.id = keyId(identifier, i);

Completed in 817 milliseconds

1 2