Home
last modified time | relevance | path

Searched refs:codes (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java703 if (label.length() > 1 && key.codes.length < 2) { in onBufferDraw()
775 && key.codes[0] > 32) { in getKeyIndices()
777 final int nCodes = key.codes.length; in getKeyIndices()
793 allKeys[j + c] = key.codes[c]; in getKeyIndices()
814 int code = key.codes[0]; in detectAndSendKey()
816 int[] codes = new int[MAX_NEARBY_KEYS]; in detectAndSendKey() local
817 Arrays.fill(codes, NOT_A_KEY); in detectAndSendKey()
818 getKeyIndices(x, y, codes); in detectAndSendKey()
826 code = key.codes[mTapCount]; in detectAndSendKey()
828 mKeyboardActionListener.onKey(code, codes); in detectAndSendKey()
[all …]
DKeyboard.java235 public int[] codes; field in Keyboard.Key
357 codes = new int[] { codesValue.data }; in Key()
359 codes = parseCSV(codesValue.string.toString()); in Key()
388 if (codes == null && !TextUtils.isEmpty(label)) { in Key()
389 codes = new int[] { label.charAt(0) }; in Key()
600 key.codes = new int[] { c }; in Keyboard()
810 if (key.codes[0] == KEYCODE_SHIFT) { in loadKeyboard()
820 } else if (key.codes[0] == KEYCODE_ALT) { in loadKeyboard()
/frameworks/base/tools/apilint/
Dapilint.py37 codes = []
38 if reset: codes.append("0")
40 if not fg is None: codes.append("3%d" % (fg))
42 if not bright: codes.append("4%d" % (bg))
43 else: codes.append("10%d" % (bg))
44 if bold: codes.append("1")
45 elif dim: codes.append("2")
46 else: codes.append("22")
47 return "\033[%sm" % (";".join(codes))
/frameworks/base/core/java/com/android/internal/widget/
DPasswordEntryKeyboard.java90 final int code = key.codes[0]; in createKeyFromXml()
96 switch (key.codes[0]) { in createKeyFromXml()
256 final int code = codes[0]; in isInside()
/frameworks/base/docs/html/google/play/billing/
Dbilling_reference.jd10 <li><a href="#billing-codes">Server Response Codes</a></li>
33 <h2 id="billing-codes">Server Response Codes</h2>
34codes that are sent from Google Play to your application. Google Play sends the response code sync…
36 <p class="table-caption" id="response-codes-table">
37 <strong>Table 1.</strong> Summary of response codes for In-app Billing Version 3 API calls.</p>
Dbilling_integrate.jd194 …ll the possible response codes from Google Play, see <a href="{@docRoot}google/play/billing/billin…
223 …ll the possible response codes from Google Play, see <a href="{@docRoot}google/play/billing/billin…
Dbilling_admin.jd258 <p>See table 1 for a list of the language codes you can use with the <em>locale</em> field.</p>
284 application is targeting. The country codes are two-letter uppercase
285 ISO country codes (such as "US") as defined by
296 <p class="table-caption" id="language-table"><strong>Table 1.</strong> Language codes you can use
/frameworks/base/docs/html/google/play/publishing/
Dmultiple-apks.jd32 <li><a href="#VersionCodes">Assigning version codes</a></li>
366 greater. In this case, the API level is the only supported filter used, so the version codes
371 the version codes <strong>must increase</strong> in correlation with the API levels.
374 support large screens), the version codes must still be in order. This ensures that a large screen
379 screens, then the version codes <strong>do not need to increase</strong> in correlation with the API
381 could potentially move between these two APKs, so there's no need for the version codes to
385 then the version codes <strong>must increase</strong> in correlation with the API levels.
459 <h3 id="VersionCodes">Assigning version codes</h3>
463 android:versionCode}</a> attribute. You must be careful about assigning version codes when
468 <h4>Ordering version codes</h4>
[all …]
/frameworks/base/docs/html/google/play/billing/v2/
Dbilling_reference.jd31 <li><a href="#billing-codes">Server Response Codes</a></li>
47 <h2 id="billing-codes">Server Response Codes</h2>
48 <p>The following table lists all of the server response codes that are sent from Google Play to
49 your application. Google Play sends these response codes asynchronously as
51 broadcast intent. Your application must handle all of these response codes.</p>
53 <p class="table-caption" id="response-codes-table"><strong>Table 6.</strong> Summary of response
54 codes returned by Google Play.</p>
314 For more information about the response codes that are sent with this response, see <a
315 href="#billing-codes">Google Play Response Codes for In-app Billing</a>. The sample application
Dapi.jd266 or purchase information). For more information about the response codes that are sent with this
268 … href="{@docRoot}google/play/billing/v2/billing_reference.html#billing-codes">Server Response Codes
/frameworks/base/docs/html/training/basics/supporting-devices/
Dplatforms.jd17 <li><a href="#version-codes">Check System Version at Runtime</a></li>
78 <h2 id="version-codes">Check System Version at Runtime</h2>
81 constants class. Use these codes within your app to build conditions that ensure the code that
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
DarmVCM4P2_SetPredDir_s.s50 ; * Standard OMXResult result. See enumeration for possible result codes.
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
DarmVCM4P2_SetPredDir_s.s50 ; * Standard OMXResult result. See enumeration for possible result codes.
/frameworks/base/docs/html/google/play/licensing/
Dlicensing-reference.jd14 <li><a href="#server-response-codes">Server Response Codes</a></li>
132 <h2 id="server-response-codes">Server Response Codes</h2>
134 <p>Table 2 lists all of the license response codes supported by the
136 codes. By default, the LicenseValidator class in the LVL provides all of the
137 necessary handling of these response codes for you. </p>
139 <p class="table-caption"><strong>Table 2.</strong> Summary of response codes
Dindex.jd58 codes.</dd>
Dsetting-up.jd478 valid server response codes to control the response or condition you want to
483 For a description of the codes, see <a
484 href="{@docRoot}google/play/licensing/licensing-reference.html#server-response-codes">Server
509 href="{@docRoot}google/play/licensing/licensing-reference.html#server-response-codes">Server
/frameworks/base/docs/html/training/game-controllers/
Dcontroller-input.jd31 <p>At the system level, Android reports input event codes from game controllers
32 as Android key codes and axis values. In your game, you can receive these codes
180 <p>Figure 1 shows how Android maps key codes and axis values to the physical
215 <p>Common key codes generated by gamepad button presses include
337 key codes as the same input events, as recommended in table 2.</p>
340 codes and hat axis values.</p>
/frameworks/base/docs/html/google/gcm/
Dserver-ref.jd22 <li><a href="#error-codes">Downstream message error response codes (HTTP and XMPP)</a></li>
36 <li><a href="#error-codes">Downstream message error response codes (HTTP and XMPP)</a></li>
606 <h2 id="error-codes">Downstream message error response codes (HTTP and XMPP)</h2>
608 <p>The following table lists the error response codes for downstream messages (HTTP and XMPP).</p>
611 <strong>Table 11.</strong> Downstream message error response codes.</p>
Dccs.jd283 NACK error codes. Unless otherwise
284 indicated, a NACKed message should not be retried. Unexpected NACK error codes
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd193 format codes, association type, and protection status.</li>
235 and trackballs, the platform now defines axis codes on {@link
236 android.view.MotionEvent}, similar to how it defines key codes on {@link
237 android.view.KeyEvent}. New axis codes for joysticks
255 axis codes that are used when the framework does not know how to map a
256 particular axis. Specific devices can use the generic axis codes to pass custom
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1083 int32_t* codes = env->GetIntArrayElements(keyCodes, NULL); in nativeHasKeys() local
1089 deviceId, uint32_t(sourceMask), numCodes, codes, flags)) { in nativeHasKeys()
1099 env->ReleaseIntArrayElements(keyCodes, codes, 0); in nativeHasKeys()
/frameworks/base/docs/html/training/tv/start/
Dhardware.jd429 example, a user might have both a basic D-pad controller and a game controller. The key codes
431 codes sent by a physical D-pad.
/frameworks/base/docs/html/guide/topics/resources/
Dlocalization.jd436 <li>Pick the locale you want to test and determine its language and region codes, for
449 </code>Replace bracketed sections with the appropriate codes from Step
/frameworks/base/docs/html/training/multiple-apks/
Dtexture.jd183 device supporting many APKs, but the solution is the same: Version codes.</p>
/frameworks/base/docs/html/guide/topics/connectivity/
Dsip.jd87 <td>Defines error codes returned during SIP actions.</td>

12