/frameworks/base/packages/FusedLocation/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
/frameworks/base/packages/InputDevices/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 11 * 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 1630 // Close any "App info" popups that might have snuck on-screen 1640 * Enables or disables layers on the children of the notifications pile. 1703 return; // no clings on thi 1867 setLightsOn(boolean on) argument [all...] |
H A D | QuickSettingsModel.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 474 public void onBluetoothStateChange(boolean on) { argument 475 mBluetoothState.enabled = on;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | CompatModePanel.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 130 final boolean on = (mode == ActivityManager.COMPAT_MODE_ENABLED); 131 mOnButton.setChecked(on); 132 mOffButton.setChecked(!on);
|
H A D | TabletStatusBar.java | 11 * 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 D | UsbStorageActivity.java | 11 * 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/packages/SystemUI/tests/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
/frameworks/base/packages/WAPPushManager/tests/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 11 * 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/policy/tests/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
/frameworks/base/services/input/ |
H A D | Android.mk | 10 # distributed under the License is distributed on an "AS IS" BASIS,
|
H A D | EventHub.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 108 // built-in so we need to rely on other information to uniquely identify 109 // the input device. Usually we try to avoid relying on the device name or 127 // Touch devices get dibs on touch-related axes. 512 void EventHub::setLedState(int32_t deviceId, int32_t led, bool on) { 521 ev.value = on ? 1 : 0; 591 ALOGW("Could not start force feedback effect on device %s due to error %d.", 613 ALOGW("Could not stop force feedback effect on device %s due to error %d.", 807 // Double-check. Time may have moved on. 836 // so we will try to read the device again on th [all...] |
H A D | EventHub.h | 11 * distributed under the License is distributed on an "AS IS" BASIS, 136 * devices on the system, including devices that may be emulated by the simulator 218 virtual void setLedState(int32_t deviceId, int32_t led, bool on) = 0; 230 /* Requests the EventHub to reopen all input devices on the next call to getEvents(). */ 233 /* Wakes up getEvents() if it is blocked on a read. */ 281 virtual void setLedState(int32_t deviceId, int32_t led, bool on);
|
H A D | InputReader.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 303 // on another thread similarly waiting to acquire the InputReader lock thereby 485 // Reset global meta state because it depends on the list of all configured devices. 2146 // Key down on external an keyboard should wake the device. 2207 ledState.on = false; 2223 if (reset || ledState.on != desiredState) { 2225 ledState.on = desiredState; 2751 // multitouch. The spot-based presentation relies on being able to accurately 2752 // locate two or more fingers on the touch pad. 3658 // Handle policy on initia [all...] |
H A D | InputReader.h | 11 * 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 D | InputReader_test.cpp | 11 * 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 D | BluetoothManagerService.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 82 // Bluetooth persisted setting is on 85 // Bluetooth persisted setting is on 215 * Returns true if airplane mode is currently on 223 * Returns true if the Bluetooth saved state is "on" 239 * Save the Bluetooth on/off state 473 Log.e(TAG, "Unable to call onBluetoothStateChange() on callback #" + i , e); 491 Log.e(TAG, "Unable to call onBluetoothServiceUp() on callback #" + i, e); 509 Log.e(TAG, "Unable to call onBluetoothServiceDown() on callback #" + i, e); 1070 * if on i 1074 waitForOnOff(boolean on, boolean off) argument [all...] |
H A D | LightsService.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 155 public void setFlashlightEnabled(boolean on) { 165 bytes[0] = (byte)(on ? '1' : '0');
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | WifiDisplayController.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 61 * on behalf of {@link WifiDisplayAdapter}. 68 * The controller must be instantiated on the handler thread. 139 // The remote display that is listening on the connection. 475 Slog.i(TAG, "Stopped listening for RTSP connection on " + mRemoteDisplayInterface 635 Slog.i(TAG, "Listening for RTSP connection on " + iface 678 private void setRemoteSubmixOn(boolean on) { argument 679 if (mRemoteSubmixOn != on) { 680 mRemoteSubmixOn = on; 681 mAudioManager.setRemoteSubmixOn(on, REMOTE_SUBMIX_ADDRES [all...] |
/frameworks/base/services/java/com/android/server/power/ |
H A D | DisplayPowerController.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 57 * Everything this class does internally is serialized on its handler although 75 // If true, uses the electron beam on animation. 77 // actually turns on and starts showing new content after the call to set the 212 // Amount of time to delay auto-brightness after screen on while waiting for 253 // Must only be accessed on the handler thread. 277 // When the screen turns on again, we report user activity to the power manager. 280 // True if the screen on is being blocked. 283 // The elapsed real time when the screen on was blocked. 461 * negative proximity before turning the screen back on, assumin 764 setScreenOn(boolean on) argument [all...] |
H A D | DisplayPowerState.java | 11 * 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 D | PowerManagerService.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 72 * functions on the device. 85 // Message: Sent when the screen on blocker is released. 110 // Dirty bit: screen on blocker state became held or unheld 154 // dim timeout to also be quite short so that most of the time is spent on. 155 // Otherwise the user won't get much screen on time before dimming occurs. 208 // go negative before turning the screen on. 236 // is actually on or actually off or whatever was requested. 245 // The screen on blocker used to keep the screen from turning on whil 1957 setAttentionLight(boolean on, int color) argument 1968 setAttentionLightInternal(boolean on, int color) argument [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | StrictModeFlash.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 90 public void setVisibility(boolean on) { argument 95 if (on) {
|
H A D | WindowManagerService.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 348 * on screen for animations. 368 * on screen for animations. 397 * Used when processing mPendingRemove to avoid working on the original array. 529 /** This just indicates the window the input method is on top of, not 533 /** If true hold off on modifying the animation layer of mInputMethodTarget */ 582 // Who is holding the screen on. 651 * locking on either mWindowMap or mAnimator and then on mLayoutToAnim */ 654 /** The lowest wallpaper target with a detached wallpaper animation on i 5720 showStrictModeViolation(boolean on) argument [all...] |