Searched defs:on (Results 1 - 25 of 39) sorted by path

12

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java11 * distributed under the License is distributed on an "AS IS" BASIS,
92 * <p>For example, Bluetooth has been turned on or off.
128 * Indicates the local Bluetooth adapter is turning on. However local
134 * Indicates the local Bluetooth adapter is on, and ready for use.
145 * This activity will also request the user to turn on Bluetooth if it
180 * Activity Action: Show a system activity that allows the user to turn on
183 * on, or the user has decided not to turn Bluetooth on.
188 * turned on or {@link android.app.Activity#RESULT_CANCELED} if the user
191 * for global notification whenever Bluetooth is turned on o
1292 changeApplicationBluetoothState(boolean on, BluetoothStateChangeCallback callback) argument
1311 onBluetoothStateChange(boolean on) argument
1326 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/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/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.
191 int on, int lock) {
202 return on;
387 // Version of API that operates on a state bit mask
190 getActive(CharSequence text, Object meta, int on, int lock) argument
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java11 * distributed under the License is distributed on an "AS IS" BASIS,
699 // accelerated rendering on low-end devices. In that case,
704 // can be used by code on the system process to escape that and enable
714 // Don't enable hardware acceleration when we're not on the main thread
801 void handleScreenStateChange(boolean on) { argument
802 if (on != mAttachInfo.mScreenOn) {
803 mAttachInfo.mScreenOn = on;
805 mView.dispatchScreenStateChanged(on ? View.SCREEN_STATE_ON : View.SCREEN_STATE_OFF);
807 if (on) {
939 * This list will be cleared after the transitions on th
4560 dispatchScreenStateChange(boolean on) argument
4863 dispatchScreenState(boolean on) argument
[all...]
/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/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/core/jni/
H A Dandroid_media_AudioSystem.cpp12 ** distributed under the License is distributed on an "AS IS" BASIS,
57 android_media_AudioSystem_muteMicrophone(JNIEnv *env, jobject thiz, jboolean on) argument
59 return check_AudioSystem_Command(AudioSystem::muteMicrophone(on));
/frameworks/base/media/java/android/media/
H A DAudioManager.java11 * distributed under the License is distributed on an "AS IS" BASIS,
62 * on receipt of this intent so as not to surprise the user with audio
93 * @deprecated Applications should maintain their own vibrate policy based on
143 * @deprecated Applications should maintain their own vibrate policy based on
154 * @deprecated Applications should maintain their own vibrate policy based on
281 * By default this is on for the ring stream. If this flag is included,
345 * if the vibrate setting is on.
361 * @deprecated Applications should maintain their own vibrate policy based on
372 * @deprecated Applications should maintain their own vibrate policy based on
382 * @deprecated Applications should maintain their own vibrate policy based on
1075 setSpeakerphoneOn(boolean on) argument
1261 setBluetoothScoOn(boolean on) argument
1291 setBluetoothA2dpOn(boolean on) argument
1313 setRemoteSubmixOn(boolean on, int address) argument
1329 setWiredHeadsetOn(boolean on) argument
1361 setMicrophoneMute(boolean on) argument
[all...]
H A DAudioService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
91 * This implementation focuses on delivering a responsive UI. Most methods are
394 // - STREAM_NOTIFICATION on tablets during this period after a notification stopped
395 // - STREAM_MUSIC on phones during this period after music or talkback/voice search prompt
492 // state on streams affected by ringer mode.
561 Log.e(TAG, "Interrupted while waiting on volume handler.");
763 * on streamType: fixed to STREAM_MUSIC */
783 // Play sounds on STREAM_RING only and if lock screen is not on.
820 // convert one UI step (+/-1) into a number of internal units on th
1824 setSpeakerphoneOn(boolean on) argument
1840 setBluetoothScoOn(boolean on) argument
1858 setBluetoothA2dpOn(boolean on) argument
2250 setRemoteSubmixOn(boolean on, int address) argument
5793 setBluetoothA2dpOnInt(boolean on) argument
5859 setSafeMediaVolumeEnabled(boolean on) argument
[all...]
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.
173 // Calling a method on AudioFlinger here makes sure that we bind to IAudioFlinger
175 // media_server process death if no other method is called on AudioSystem that reaches
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBar.java11 * distributed under the License is distributed on an "AS IS" BASIS,
114 // additional instrumentation for testing purposes; intended to be left on during development
138 private float mCollapseMinDisplayFraction; // classic value: 0.08 (25px/min(320px,480px) on G1)
226 // on-screen navigation buttons
454 // there is a settings panel, but it's on the other side of the (large) screen
804 // this will allow the navbar to run in an overlay on devices that support this
873 // TODO(dsandler): Only if the screen is on
1621 // Close any "App info" popups that might have snuck on-screen
1631 * Enables or disables layers on the children of the notifications pile.
1694 return; // no clings on thi
1858 setLightsOn(boolean on) argument
[all...]
H A DQuickSettingsModel.java11 * distributed under the License is distributed on an "AS IS" BASIS,
459 public void onBluetoothStateChange(boolean on) { argument
460 mBluetoothState.enabled = on;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DTabletStatusBar.java11 * distributed under the License is distributed on an "AS IS" BASIS,
456 // bar on a tablet that has only the system bar
515 // ensure the menu button doesn't stick around on the status bar after it's been
523 // no multi-touch on the nav buttons
546 // on, we need them to come up faster so that they can catch this motion
814 if (DEBUG) Slog.d(TAG, "hiding shadows (lights on)");
1079 public void setLightsOn(boolean on) { argument
1083 on = true;
1086 Slog.v(TAG, "setLightsOn(" + on + ")");
1087 if (on) {
1259 hilite(final boolean on) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbStorageActivity.java11 * distributed under the License is distributed on an "AS IS" BASIS,
57 * on-demand (that is, when the USB cable is connected). It uses the alert
95 final boolean on = newState.equals(Environment.MEDIA_SHARED);
96 switchDisplay(on);
249 private void switchUsbMassStorage(final boolean on) { argument
250 // things to do on the UI thread
266 if (on) {
297 // List of applications on sdcard.
/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
196 void onToggle(boolean on) {
206 changeAirplaneModeSystemSetting(on);
493 // note: the scheme below made more sense when we were planning on having
590 * A toggle action knows whether it is on or off, and displays an icon
622 * @param enabledIconResId The icon for when this action is on.
625 * @param enabledStatusMessageResId The on status message, e.g 'sound disabled'
665 boolean on = ((mState == State.On) || (mState == State.TurningOn));
668 (on
711 onToggle(boolean on) argument
727 onToggle(boolean on) argument
901 changeAirplaneModeSystemSetting(boolean on) argument
[all...]
/frameworks/base/services/input/
H A DInputReader.h11 * distributed under the License is distributed on an "AS IS" BASIS,
51 * Describes how coordinates are mapped on a physical display.
169 // to noise from a finger resting on the touch pad (perhaps just pressing it down).
189 // Time after the first touch points go down to settle on an initial centroid.
224 // True to show the location of touches on the touch screen as spots.
300 * This method may be called on any thread (usually by the input manager). */
309 * This method should be called on the input reader thread.
315 * This method may be called on any thread (usually by the input manager).
374 * on the input reader thread but the InputReader can receive queries from other system
375 * components running on arbitrar
1040 bool on; // we think the led is currently on member in struct:android::KeyboardInputMapper::LedState
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
645 virtual void setLedState(int32_t deviceId, int32_t led, bool on) { argument
650 device->leds.replaceValueAt(led, on);
1841 mFakeEventHub->addLed(DEVICE_ID, LED_CAPSL, true /*initially on*/);
1857 // Toggle caps lock on.
1867 // Toggle num lock on.
1887 // Toggle scroll lock on.
3182 // These calculations are based on the input device calibration documentation.
4435 // These calculations are based on the input device calibration documentation.
4486 // These calculations are based on th
[all...]
/frameworks/base/services/java/com/android/server/
H A DBluetoothManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
188 * Returns true if airplane mode is currently on
196 * Returns true if the Bluetooth saved state is "on"
204 * Save the Bluetooth on/off state
413 Log.e(TAG, "Unable to call onBluetoothStateChange() on callback #" + i , e);
431 Log.e(TAG, "Unable to call onBluetoothServiceUp() on callback #" + i, e);
449 Log.e(TAG, "Unable to call onBluetoothServiceDown() on callback #" + i, e);
1008 * if on is true, wait for state become ON
1010 * if both on and off are false, wait for state not ON
1012 private boolean waitForOnOff(boolean on, boolea argument
[all...]
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayController.java11 * distributed under the License is distributed on an "AS IS" BASIS,
60 * on behalf of {@link WifiDisplayAdapter}.
67 * The controller must be instantiated on the handler thread.
132 // The remote display that is listening on the connection.
446 Slog.i(TAG, "Stopped listening for RTSP connection on " + mRemoteDisplayInterface
586 Slog.i(TAG, "Listening for RTSP connection on " + iface
629 private void setRemoteSubmixOn(boolean on) { argument
630 if (mRemoteSubmixOn != on) {
631 mRemoteSubmixOn = on;
632 mAudioManager.setRemoteSubmixOn(on, REMOTE_SUBMIX_ADDRES
[all...]
/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerController.java11 * distributed under the License is distributed on an "AS IS" BASIS,
58 * Everything this class does internally is serialized on its handler although
76 // If true, uses the electron beam on animation.
78 // actually turns on and starts showing new content after the call to set the
213 // Amount of time to delay auto-brightness after screen on while waiting for
254 // Must only be accessed on the handler thread.
278 // When the screen turns on again, we report user activity to the power manager.
281 // True if the screen on is being blocked.
284 // The elapsed real time when the screen on was blocked.
461 * negative proximity before turning the screen back on, assumin
765 setScreenOn(boolean on) argument
[all...]
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 DPowerManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
70 * functions on the device.
83 // Message: Sent when the screen on blocker is released.
108 // Dirty bit: screen on blocker state became held or unheld
152 // dim timeout to also be quite short so that most of the time is spent on.
153 // Otherwise the user won't get much screen on time before dimming occurs.
156 // Upper bound on the battery charge percentage in order to consider turning
157 // the screen on when the device starts charging wirelessly.
210 // go negative before turning the screen on.
238 // is actually on o
1947 setAttentionLight(boolean on, int color) argument
1958 setAttentionLightInternal(boolean on, int color) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DStrictModeFlash.java11 * distributed under the License is distributed on an "AS IS" BASIS,
90 public void setVisibility(boolean on) { argument
95 if (on) {
H A DWindowManagerService.java11 * distributed under the License is distributed on an "AS IS" BASIS,
345 * on screen for animations.
365 * on screen for animations.
394 * Used when processing mPendingRemove to avoid working on the original array.
526 /** This just indicates the window the input method is on top of, not
530 /** If true hold off on modifying the animation layer of mInputMethodTarget */
579 // Who is holding the screen on.
648 * locking on either mWindowMap or mAnimator and then on mLayoutToAnim */
651 /** The lowest wallpaper target with a detached wallpaper animation on i
5683 showStrictModeViolation(boolean on) argument
[all...]

Completed in 323 milliseconds

12