Home
last modified time | relevance | path

Searched refs:isNew (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
DZenRuleNameDialog.java74 boolean isNew = ruleName == null; in onCreateDialog()
80 if (!isNew) { in onCreateDialog()
88 .setTitle(getTitleResource(conditionId, isNew)) in onCreateDialog()
90 .setPositiveButton(isNew ? R.string.zen_mode_add : R.string.okay, in onCreateDialog()
98 if (!isNew && originalRuleName != null in onCreateDialog()
113 private int getTitleResource(Uri conditionId, boolean isNew) {
117 if (isNew) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenRuleNameDialog.java74 boolean isNew = ruleName == null; in onCreateDialog()
80 if (!isNew) { in onCreateDialog()
88 .setTitle(getTitleResource(conditionId, isNew)) in onCreateDialog()
90 .setPositiveButton(isNew ? R.string.zen_mode_add : R.string.okay, in onCreateDialog()
98 if (!isNew && originalRuleName != null in onCreateDialog()
113 private int getTitleResource(Uri conditionId, boolean isNew) {
117 if (isNew) {
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/
DSystemCallLogDataSource.java308 int isNew = cursor.getInt(newColumn); in handleInsertsAndUpdates() local
343 contentValues.put(AnnotatedCallLog.NEW, isNew); in handleInsertsAndUpdates()
/packages/services/Telecomm/src/com/android/server/telecom/
DCall.java3463 public boolean isNew() { in isNew() method in Call
DCallsManager.java2700 if (!c.isDisconnected() && !c.isNew() && simAccounts.contains(