Searched defs:plugged (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DBatteryMeterView.java78 boolean plugged; field in class:BatteryMeterView.BatteryTracker
97 plugged = plugType != 0;
122 dummy.putExtra("plugged", savePlugged);
126 dummy.putExtra("plugged", incr > 0 ? BatteryManager.BATTERY_PLUGGED_AC : 0);
301 final int color = tracker.plugged ? mChargeColor : getColorForLevel(level);
320 if (tracker.plugged) {
371 mDemoTracker.plugged = mTracker.plugged;
377 String plugged = args.getString("plugged");
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardUpdateMonitor.java272 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
276 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health));
377 public final int plugged; field in class:KeyguardUpdateMonitor.BatteryStatus
379 public BatteryStatus(int status, int level, int plugged, int health) { argument
382 this.plugged = plugged;
387 * Determine whether the device is plugged in (USB, power, or wireless).
388 * @return true if the device is plugged in.
391 return plugged == BatteryManager.BATTERY_PLUGGED_AC
392 || plugged
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java1418 // toasts and the plugged-in battery thing
3625 void setHdmiPlugged(boolean plugged) { argument
3626 if (mHdmiPlugged != plugged) {
3627 mHdmiPlugged = plugged;
3631 intent.putExtra(EXTRA_HDMI_PLUGGED_STATE, plugged);
3637 boolean plugged = false;
3649 plugged = 0 != Integer.parseInt(new String(buf, 0, n-1));
3666 mHdmiPlugged = !plugged;
4469 // Ignore sensor when plugged into HDMI when demo HDMI rotation lock enabled.
4474 // Ignore sensor when plugged int
[all...]

Completed in 640 milliseconds