/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | FocusIndicator.java | 21 public void showSuccess(boolean timeout); argument 22 public void showFail(boolean timeout); argument
|
H A D | FaceView.java | 145 public void showSuccess(boolean timeout) { argument 152 public void showFail(boolean timeout) { argument
|
H A D | PieRenderer.java | 698 public void showSuccess(boolean timeout) { argument 701 timeout, mStartAnimationAngle); 708 public void showFail(boolean timeout) { argument 711 timeout, mStartAnimationAngle); 735 private void startAnimation(long duration, boolean timeout, argument 737 startAnimation(duration, timeout, mDialAngle, 741 private void startAnimation(long duration, boolean timeout, argument 747 mAnimation.setAnimationListener(timeout ? mEndAction : null);
|
/packages/apps/Stk/src/com/android/stk/ |
H A D | StkApp.java | 35 // UI timeout, 30 seconds - used for display dialog and activities. 38 // Tone default timeout - 2 seconds 48 int timeout = 0; 52 timeout = 1000 * 60; 55 timeout = 1000 / 10; 59 timeout = 1000; 62 timeout *= duration.timeInterval; 64 return timeout;
|
H A D | ToneDialog.java | 60 // Message id to signal tone duration timeout. 91 int timeout = StkApp.calculateDurationInMilis(settings.duration); 92 if (timeout == 0) { 93 timeout = StkApp.TONE_DFEAULT_TIMEOUT; 95 mToneStopper.sendEmptyMessageDelayed(MSG_ID_STOP_TONE, timeout); 97 mVibrator.vibrate(timeout);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | BluetoothDiscoverableEnabler.java | 53 // Use the same preference key for discoverable timeout as the old ListPreference. 135 int timeout = getDiscoverableTimeout(); 136 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; 139 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout); 142 Log.d(TAG, "setEnabled(): enabled = " + enable + "timeout = " + timeout); 144 if (timeout > 0) { 153 private void updateTimerDisplay(int timeout) { argument 157 String textTimeout = formatTimeRemaining(timeout); 163 private static String formatTimeRemaining(int timeout) { argument [all...] |
H A D | LocalBluetoothAdapter.java | 125 void setDiscoverableTimeout(int timeout) { argument 126 mAdapter.setDiscoverableTimeout(timeout);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | ProcessorBase.java | 72 public final Object get(long timeout, TimeUnit unit) { argument
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | TestUtils.java | 118 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; 119 while (System.currentTimeMillis() < timeout) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
H A D | DictionaryPool.java | 81 public DictAndProximity poll(final long timeout, final TimeUnit unit) argument 89 final DictAndProximity result = super.poll(timeout, unit);
|
/packages/apps/Gallery2/jni/ |
H A D | jni_egl_fence.cpp | 31 EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
|
/packages/apps/Nfc/nxp/jni/ |
H A D | com_android_nfc_NativeNfcManager.cpp | 1471 static void setFelicaTimeout(jint timeout) { argument 1472 // The Felica timeout is configurable in the PN544 upto a maximum of 255 ms. 1473 // It can be set to 0 to disable the timeout altogether, in which case we 1475 if (timeout <= 255) { 1476 phLibNfc_SetFelicaTimeout(timeout); 1478 // Disable hw timeout, use sw watchdog for timeout 1480 phLibNfc_SetHciTimeout(timeout); 1493 // The Iso/Mifare Xchg timeout in PN544 is a non-linear function over X 1494 // spanning 0 - 4.9s: timeout i 1507 setIsoDepTimeout(jint timeout) argument 1529 setNfcATimeout(jint timeout) argument 1541 com_android_nfc_NfcManager_doSetTimeout( JNIEnv *e, jobject o, jint tech, jint timeout) argument 1577 int timeout = -1; local [all...] |
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
H A D | BluetoothRequestPermissionTest.java | 39 // Discoverable button alternates between 20 second timeout and no timeout. 109 // Discoverability duration toggles between 20 seconds and no timeout. 110 int timeout = (mDiscoveryWithTimeout ? 20 : 0); 111 i.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, timeout);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | SSLUtils.java | 50 * @param timeout the timeout value in milliseconds or {@code 0} for an infinite timeout. 53 boolean insecure, int timeout) { 57 SSLCertificateSocketFactory.getInsecure(timeout, null); 63 SSLCertificateSocketFactory.getDefault(timeout, null); 74 SSLCertificateSocketFactory underlying = getSSLSocketFactory(insecure, 0 /* no timeout */); 52 getSSLSocketFactory( boolean insecure, int timeout) argument
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
H A D | NativeNfcManager.java | 225 private native boolean doSetTimeout(int tech, int timeout); argument 227 public boolean setTimeout(int tech, int timeout) { argument 228 return doSetTimeout(tech, timeout);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | SkbContainer.java | 172 * Used to timeout a press if user holds the key for a long time. 559 * When user presses a key for a long time, the timeout interval to 566 * {@link #LONG_PRESS_KEYNUM1} key events, this timeout interval will be 573 * {@link #LONG_PRESS_KEYNUM2} key events, this timeout interval will be 580 * {@link #LONG_PRESS_KEYNUM1} key events, timeout interval 587 * {@link #LONG_PRESS_KEYNUM2} key events, timeout interval 624 long timeout; 626 timeout = LONG_PRESS_TIMEOUT1; 628 timeout = LONG_PRESS_TIMEOUT2; 630 timeout [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | SecuritySettings.java | 333 // This setting is a slave to display timeout when a device policy is enforced. 348 long timeout = Long.valueOf(values[i].toString()); 349 if (currentTimeout >= timeout) { 362 long timeout = Long.valueOf(values[i].toString()); 363 if (timeout <= maxTimeout) { 510 int timeout = Integer.parseInt((String) value); 513 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, timeout); 515 Log.e("SecuritySettings", "could not persist lockAfter timeout setting", e);
|
H A D | DisplaySettings.java | 162 long timeout = Long.parseLong(values[i].toString()); 163 if (currentTimeout >= timeout) { 187 long timeout = Long.parseLong(values[i].toString()); 188 if (timeout <= maxTimeout) { 351 Log.e(TAG, "could not persist screen timeout setting", e);
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
H A D | NativeNfcManager.java | 275 private native boolean doSetTimeout(int tech, int timeout); argument 277 public boolean setTimeout(int tech, int timeout) { argument 278 return doSetTimeout(tech, timeout);
|
/packages/apps/Nfc/src/com/android/nfc/ |
H A D | DeviceHost.java | 215 public boolean setTimeout(int technology, int timeout); argument
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AlarmReceiver.java | 213 private void updateNotification(Context context, Alarm alarm, int timeout) { argument 236 context.getString(R.string.alarm_alert_alert_silenced, timeout),
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | EasSyncService.java | 109 // Command timeout is the the time allowed for reading data from an open connection before an 113 // Connection timeout is the time given to connect to the server before reporting an IOException 215 * socket timeout without having thrown an Exception 923 * TODO: shorter timeout for interactive lookup 1236 private HttpClient getHttpClient(int timeout) { argument 1239 HttpConnectionParams.setSoTimeout(params, timeout); 1261 protected EasResponse executePostWithTimeout(HttpClient client, HttpPost method, int timeout) argument 1263 return executePostWithTimeout(client, method, timeout, false); 1267 * Handle executing an HTTP POST command with proper timeout, watchdog, and ping behavior 1270 * @param timeout th 1275 executePostWithTimeout(HttpClient client, HttpPost method, int timeout, boolean isPingCommand) argument 1300 sendHttpClientPost(String cmd, HttpEntity entity, int timeout) argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | AdapterProperties.java | 268 boolean setDiscoverableTimeout(int timeout) { argument 272 Utils.intToByteArray(timeout)); 511 else /* if timeout == never (0) at startup */
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | GalleryUtils.java | 196 // For debugging, it will block the caller for timeout millis. 197 public static void fakeBusy(JobContext jc, int timeout) { argument 205 cv.block(timeout);
|
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/ |
H A D | LocalDataTest.java | 174 public boolean isOnContentDirtyBeCalled(long timeout) argument 176 return mLatch.await(timeout, TimeUnit.MILLISECONDS);
|