Searched defs:on (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java11 * distributed under the License is distributed on an "AS IS" BASIS,
24 * Utility class that you can call on with a timeout, and get called back
33 * This is called with the monitor on this method held, so be careful.
37 public abstract void on(boolean alreadyOn); method in class:ResettableTimeout
41 * This is called with the monitor on this method held, so be careful.
47 * <p>1. Call on()</p>
60 // thread to stop it can't start, we don't turn the vibrator on
76 on(alreadyOn);
/frameworks/base/services/java/com/android/server/wm/
H A DStrictModeFlash.java11 * distributed under the License is distributed on an "AS IS" BASIS,
94 public void setVisibility(boolean on) { argument
99 if (on) {
H A DFocusedStackFrame.java11 * distributed under the License is distributed on an "AS IS" BASIS,
110 public void setVisibility(boolean on) { argument
111 if (false && DEBUG_STACK) Slog.i(TAG, "setVisibility: on=" + on +
117 if (on) {
/frameworks/base/core/java/android/os/
H A DTokenWatcher.java11 * distributed under the License is distributed on an "AS IS" BASIS,
37 * on. If you don't care, just call it like this, although your thread
60 * the current count is 0, the acquired method is called on the given
164 private void sendNotificationLocked(boolean on) argument
166 int value = on ? 1 : 0;
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java11 * distributed under the License is distributed on an "AS IS" BASIS,
79 public void setSatellite(boolean on) { argument
86 public void setTraffic(boolean on) { argument
93 public void setStreetView(boolean on) { argument
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java11 * distributed under the License is distributed on an "AS IS" BASIS,
60 public void dispatchScreenState(boolean on) { argument
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp12 ** distributed under the License is distributed on an "AS IS" BASIS,
56 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
58 return check_AudioSystem_Command(AudioSystem::muteMicrophone(on));
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbStorageActivity.java11 * distributed under the License is distributed on an "AS IS" BASIS,
55 * on-demand (that is, when the USB cable is connected). It uses the alert
93 final boolean on = newState.equals(Environment.MEDIA_SHARED);
94 switchDisplay(on);
247 private void switchUsbMassStorage(final boolean on) { argument
248 // things to do on the UI thread
264 if (on) {
295 // List of applications on sdcard.
/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerState.java11 * distributed under the License is distributed on an "AS IS" BASIS,
40 * the display is done on a separate thread to avoid blocking the looper.
83 // At boot time, we know that the screen is on and the electron beam
86 // Although we set the brightness to full on here, the display power controller
125 * Sets whether the screen is on or off.
127 public void setScreenOn(boolean on) { argument
128 if (mScreenOn != on) {
130 Slog.d(TAG, "setScreenOn: on=" + on);
133 mScreenOn = on;
342 setState(boolean on, int backlight) argument
[all...]
H A DDisplayPowerController.java11 * distributed under the License is distributed on an "AS IS" BASIS,
56 * Everything this class does internally is serialized on its handler although
74 // If true, uses the electron beam on animation.
76 // actually turns on and starts showing new content after the call to set the
215 // Amount of time to delay auto-brightness after screen on while waiting for
256 // Must only be accessed on the handler thread.
280 // When the screen turns on again, we report user activity to the power manager.
283 // True if the screen on is being blocked.
286 // The elapsed real time when the screen on was blocked.
465 * negative proximity before turning the screen back on, assumin
768 setScreenOn(boolean on) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindow.java11 * distributed under the License is distributed on an "AS IS" BASIS,
61 public void dispatchScreenState(boolean on) throws RemoteException { argument
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp115 const unsigned int on = 0xff0000ff; local
119 on, off, on, off, on, off, on, off,
120 off, on, off, on, off, on, off, on,
121 on, of
[all...]
/frameworks/native/opengl/tests/tritex/
H A Dtritex.cpp2 // ITERATIONS. Should draw a checkerboard on the screen after
207 const unsigned int on = 0xff0000ff; local
211 on, off, on, off, on, off, on, off,
212 off, on, off, on, off, on, off, on,
[all...]
/frameworks/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java11 * distributed under the License is distributed on an "AS IS" BASIS,
39 * {@link #getMetaState(long)} operate on a meta key state bit mask.</li>
41 * {@link #getMetaState(CharSequence, int)} operate on meta key state flags stored
75 * Flag that indicates that the SHIFT key is on.
80 * Flag that indicates that the ALT key is on.
85 * Flag that indicates that the SYM key is on.
250 int on, int lock) {
261 return on;
446 // Version of API that operates on a state bit mask
249 getActive(CharSequence text, Object meta, int on, int lock) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java11 * distributed under the License is distributed on an "AS IS" BASIS,
53 * adapter, when running on JELLY_BEAN_MR1 and below, call the
54 * static {@link #getDefaultAdapter} method; when running on JELLY_BEAN_MR2 and
98 * <p>For example, Bluetooth has been turned on or off.
134 * Indicates the local Bluetooth adapter is turning on. However local
140 * Indicates the local Bluetooth adapter is on, and ready for use.
151 * This activity will also request the user to turn on Bluetooth if it
186 * Activity Action: Show a system activity that allows the user to turn on
189 * on, or the user has decided not to turn Bluetooth on
1333 changeApplicationBluetoothState(boolean on, BluetoothStateChangeCallback callback) argument
1352 onBluetoothStateChange(boolean on) argument
1367 onBluetoothStateChange(boolean on) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
115 * Total width of the keyboard, including left side gaps and keys, but not any gaps on the
258 /** If this is a sticky key, is it on? */
259 public boolean on; field in class:Keyboard.Key
412 on = !on;
474 * Returns the drawable state for the key, based on the current state and type of the key.
481 if (on) {
567 * @param characters the list of characters to display on the keyboard. One key will be created
699 shiftKey.on
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java11 * distributed under the License is distributed on an "AS IS" BASIS,
77 * may show depending on whether the keyguard is showing, and whether the device
200 void onToggle(boolean on) {
210 changeAirplaneModeSystemSetting(on);
510 // note: the scheme below made more sense when we were planning on having
607 * A toggle action knows whether it is on or off, and displays an icon
639 * @param enabledIconResId The icon for when this action is on.
642 * @param enabledStatusMessageResId The on status message, e.g 'sound disabled'
682 boolean on = ((mState == State.On) || (mState == State.TurningOn));
685 (on
728 onToggle(boolean on) argument
744 onToggle(boolean on) argument
918 changeAirplaneModeSystemSetting(boolean on) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DBluetoothManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
87 // Bluetooth persisted setting is on
90 // Bluetooth persisted setting is on
223 * Returns true if airplane mode is currently on
231 * Returns true if the Bluetooth saved state is "on"
247 * Save the Bluetooth on/off state
486 Log.e(TAG, "Unable to call onBluetoothStateChange() on callback #" + i , e);
504 Log.e(TAG, "Unable to call onBluetoothServiceUp() on callback #" + i, e);
522 Log.e(TAG, "Unable to call onBluetoothServiceDown() on callback #" + i, e);
1159 * if on i
1163 waitForOnOff(boolean on, boolean off) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java11 * distributed under the License is distributed on an "AS IS" BASIS,
47 /* @hide The audio stream for phone calls when connected on bluetooth */
65 * Sets the microphone mute on or off.
67 * @param on set <var>true</var> to mute the microphone;
71 public static native int muteMicrophone(boolean on); argument
74 * Checks whether the microphone mute is on or off.
109 * return true if any track playing on this stream is active.
114 * Checks whether the specified stream type is active on a remotely connected device. The notion
117 * return true if any track playing on this stream is active on
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java11 * distributed under the License is distributed on an "AS IS" BASIS,
531 public void onBluetoothStateChange(boolean on) { argument
532 mBluetoothState.enabled = on;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallManager.java11 * distributed under the License is distributed on an "AS IS" BASIS,
379 // but only on audio mode transitions
386 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_RING");
414 if (VDBG) Rlog.d(LOG_TAG, "requestAudioFocus on STREAM_VOICE_CALL");
507 * Active call, if any, go on hold.
594 * Places active call on hold, and makes held call active.
974 * Play a DTMF tone on the active call.
1002 * Start to paly a DTMF tone on the active call.
1058 * @param on the DTMF ON length in milliseconds, or 0 for default
1063 public boolean sendBurstDtmf(String dtmfString, int on, in argument
[all...]
H A DPhoneProxy.java12 * distributed under the License is distributed on an "AS IS" BASIS,
106 logd("Unexpected exception on EVENT_RIL_CONNECTED");
1036 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete){ argument
1037 mActivePhone.sendBurstDtmf(dtmfString, on, off, onComplete);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java12 * distributed under the License is distributed on an "AS IS" BASIS,
454 // to get ICCID form SIMRecords because it is on MF.
601 * Only notify complete if it's on the pending list. Otherwise, it's
766 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
777 mCi.sendBurstDtmf(dtmfString, on, off, onComplete);
1280 * @param response Callback message is empty on completion
1291 * @param response Callback message is empty on completion
1302 * @param response Callback message is empty on completion
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java12 * distributed under the License is distributed on an "AS IS" BASIS,
212 public void sendBurstDtmf(String dtmfString, int on, int off, argument
265 public void setRadioPower(boolean on, Message result) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java12 * distributed under the License is distributed on an "AS IS" BASIS,
347 public void sendBurstDtmf(String dtmfString, int on, int off, Message result) { argument
385 public void setRadioPower(boolean on, Message response) { argument

Completed in 2368 milliseconds

12