Searched refs:foreground (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
H A DColorPreference.java125 final Drawable foreground = swatch.getDrawable();
126 if (foreground instanceof ColorDrawable) {
127 ((ColorDrawable) foreground).setColor(argb);
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/
H A DExtractionUtils.java112 /** @return Whether the foreground color is legible on the background color. */
113 private static boolean isLegible(int foreground, int background) { argument
115 return ColorUtils.calculateContrast(foreground, background) >= MIN_CONTRAST_RATIO;
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DCallAudioModeStateMachineTest.java502 "foreground",
522 "foreground",
/packages/apps/Settings/src/com/android/settings/nfc/
H A DPaymentBackend.java162 void setForegroundMode(boolean foreground) { argument
164 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0) ;
H A DPaymentSettings.java75 NfcForegroundPreference foreground = new NfcForegroundPreference(getPrefContext(),
77 screen.addPreference(foreground);
/packages/services/Telephony/src/com/android/phone/
H A DPhoneUtils.java306 * <li>Else if there's a foreground call, hang that up.
323 log("hangup(): hanging up foreground call");
361 static boolean hangupActiveCall(Call foreground) { argument
363 return hangup(foreground);
410 // handle foreground call hangup while there is background call
1870 * Get the mute state of foreground phone, which has the current
1871 * foreground call
1954 // Even when foreground phone device doesn't support hold/unhold, phone devices
1985 // when the foreground call is DIALING or ALERTING.)
2045 // - The foreground cal
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DRunningState.java949 if (si.foreground) {
968 // This process does not have any foreground services.

Completed in 168 milliseconds