Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 36) sorted by relevance

12

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoPriorityResolver.java81 Integer priority = mPhotoPriorities.get(accountType); in getPhotoPriority() local
82 if (priority == null) { in getPhotoPriority()
83 priority = resolvePhotoPriority(accountType); in getPhotoPriority()
84 mPhotoPriorities.put(accountType, priority); in getPhotoPriority()
86 return priority; in getPhotoPriority()
128 int priority = DEFAULT_PRIORITY; in loadPhotoPriorityFromXml() local
149 priority = XmlUtils.convertValueToInt(parser.getAttributeValue(i), in loadPhotoPriorityFromXml()
163 return priority; in loadPhotoPriorityFromXml()
/packages/apps/Email/src/com/android/email/service/
DAttachmentDownloadService.java176 final int priority; field in AttachmentDownloadService.DownloadRequest
198 priority = getPriority(attachment); in DownloadRequest()
203 priority = orig.priority; in DownloadRequest()
242 if (req1.priority != req2.priority) { in compare()
243 res = (req1.priority < req2.priority) ? -1 : 1; in compare()
284 long priority = getPriority(att); in onChange() local
285 if (priority == PRIORITY_NONE) { in onChange()
310 req.priority + ", priority time " + req.time); in onChange()
541 req.priority != PRIORITY_FOREGROUND); in startDownload()
1036 pw.println(" Priority: " + req.priority + ", Time: " + req.time + in dump()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapMessageListingElement.java52 private String priority = null; field in BluetoothMapMessageListingElement
175 return priority; in getPriority()
178 public void setPriority(String priority) { in setPriority() argument
179 this.priority = priority; in setPriority()
249 if(priority != null) in encode()
250 xmlMsgElement.attribute("", "priority", priority); in encode()
DBluetoothMapService.java610 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
613 priority); in setPriority() local
614 if (DEBUG) Log.d(TAG, "Saved priority " + device + " = " + priority); in setPriority()
619 int priority = Settings.Global.getInt(getContentResolver(), in getPriority() local
622 return priority; in getPriority()
818 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
821 return service.setPriority(device, priority); in setPriority()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DConversation.java120 public int priority; field in Conversation
224 dest.writeInt(priority); in writeToParcel()
257 priority = in.readInt(); in Conversation()
335 priority = cursor.getInt(UIProvider.CONVERSATION_PRIORITY_COLUMN); in Conversation()
386 priority = other.priority; in Conversation()
421 int numMessages, int numDrafts, int sendingState, int priority, boolean read, in create() argument
440 conversation.priority = priority; in create()
590 return priority == UIProvider.ConversationPriority.IMPORTANT; in isImportant()
DMessageInfo.java31 public int priority; field in MessageInfo
45 priority = in.readInt(); in MessageInfo()
59 dest.writeInt(priority); in writeToParcel()
67 priority = p; in set()
108 builder.append(priority); in toString()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpService.java160 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
165 priority); in setPriority() local
166 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority); in setPriority()
173 int priority = Settings.Global.getInt(getContentResolver(), in getPriority() local
176 return priority; in getPriority()
259 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
262 return service.setPriority(device, priority); in setPriority()
DA2dpStateMachine.java638 int priority = mService.getPriority(device); in okToConnect() local
649 else if((BluetoothProfile.PRIORITY_OFF < priority) || in okToConnect()
650 ((BluetoothProfile.PRIORITY_UNDEFINED == priority) && in okToConnect()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailStatusHelperImpl.java115 private OverallState(int priority, Action action, int callLogMessageId) { in OverallState() argument
116 this(priority, action, callLogMessageId, -1); in OverallState()
119 private OverallState(int priority, Action action, int callLogMessageId, in OverallState() argument
121 mPriority = priority; in OverallState()
149 public MessageStatusWithPriority(StatusMessage message, int priority) { in MessageStatusWithPriority() argument
151 mPriority = priority; in MessageStatusWithPriority()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java173 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
176 return service.setPriority(device, priority); in setPriority()
363 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
368 priority); in setPriority() local
369 if (DBG) Log.d(TAG, "Saved priority " + device + " = " + priority); in setPriority()
376 int priority = Settings.Global.getInt(getContentResolver(), in getPriority() local
379 return priority; in getPriority()
/packages/inputmethods/OpenWnn/
DREADME.txt34 Index 0: English dictionary for normal prediction (high priority)
35 Index 1: English dictionary for normal prediction (middle priority)
36 Index 2: English dictionary for normal prediction (low priority)
41 Index 0: Japanese dictionary for normal prediction (high priority)
42 Index 1: Japanese dictionary for normal prediction (low priority)
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidService.java330 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
333 return service.setPriority(device, priority); in setPriority()
427 public boolean setPriority(BluetoothDevice device, int priority) { in setPriority() argument
432 priority); in setPriority() local
433 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority); in setPriority()
440 int priority = Settings.Global.getInt(getContentResolver(), in getPriority() local
443 return priority; in getPriority()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java181 public NotificationInstance(int alertId, int priority) { in NotificationInstance() argument
183 mPriority = priority; in NotificationInstance()
186 public NotificationInstance(int[] alertIdsInDigest, int priority) { in NotificationInstance() argument
188 mPriority = priority; in NotificationInstance()
277 public void expectTestNotification(int notificationId, int[] alertIds, int priority) { in expectTestNotification() argument
278 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority); in expectTestNotification()
309 expected.mPriority, actual.mNotification.priority); in validateNotificationsAndReset()
351 s.append("priority:" + actual.mNotification.priority); in printActualNotifications()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSendersView.java262 priorityToLength.put(info.priority, senderLength); in handlePriority()
263 maxFoundPriority = Math.max(maxFoundPriority, info.priority); in handlePriority()
305 final int priority = currentMessage.priority; in handlePriority() local
308 if (priority <= maxPriorityToInclude) { in handlePriority()
DConversationItemViewModel.java219 List<Folder> rawFolders, boolean starred, boolean read, int priority, in getHashCode() argument
224 return Objects.hashCode(convInfo, dateText, rawFolders, starred, read, priority, in getHashCode()
246 conversation.read, conversation.priority, conversation.sendingState); in validate()
256 conversation.read, conversation.priority, conversation.sendingState); in isDataValid()
DSelectedConversationsActionMenu.java315 final int priority = important ? UIProvider.ConversationPriority.HIGH in markConversationsImportant() local
317 mUpdater.updateConversation(target, ConversationColumns.PRIORITY, priority); in markConversationsImportant()
320 c.priority = priority; in markConversationsImportant()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DNestedFolderTeaserView.java614 int priority = Integer.MIN_VALUE;
619 if (sender == null || priority < messageInfo.priority) {
622 priority = messageInfo.priority;
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DPriorityThreadFactoryTest.java40 private void priorityTest(int priority) throws InterruptedException { in priorityTest() argument
41 ThreadFactory factory = new PriorityThreadFactory(priority); in priorityTest()
45 assertEquals(priority, r.getPriority()); in priorityTest()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertReceiver.java261 int notificationId, boolean doPopup, int priority) { in makeBasicNotification() argument
264 doPopup, priority, false); in makeBasicNotification()
270 long eventId, int notificationId, boolean doPopup, int priority, in buildBasicNotification() argument
322 notificationBuilder.setPriority(priority); in buildBasicNotification()
413 int notificationId, boolean doPopup, int priority) { in makeExpandingNotification() argument
417 priority, true); in makeExpandingNotification()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java1837 private boolean hasHigherPhotoPriority(PhotoEntry photoEntry, int priority, in hasHigherPhotoPriority() argument
1840 return photoComparison < 0 || photoComparison == 0 && priority > bestPriority; in hasHigherPhotoPriority()
1945 int priority = mPhotoPriorityResolver.getPhotoPriority(accountType); in computeAggregateData() local
1947 photoEntry, priority, bestPhotoEntry, photoPriority)) { in computeAggregateData()
1949 photoPriority = priority; in computeAggregateData()
2101 int priority = mPhotoPriorityResolver.getPhotoPriority(accountType); in updatePhotoId() local
2103 photoEntry, priority, bestPhotoEntry, photoPriority)) { in updatePhotoId()
2105 photoPriority = priority; in updatePhotoId()
/packages/apps/Settings/src/com/android/settings/
DNotificationStation.java190 public int priority; field in NotificationStation.HistoricalNotificationInfo
228 info.priority = sbn.getNotification().priority; in loadNotifications()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java371 int priority = Integer.parseInt(priorityString); in getSenderSnippet() local
372 priorityToLength.put(priority, nameString.length()); in getSenderSnippet()
373 maxFoundPriority = Math.max(maxFoundPriority, priority); in getSenderSnippet()
472 final int priority = Integer.parseInt(priorityString); in getSenderSnippet() local
473 if (priority <= maxPriorityToInclude) { in getSenderSnippet()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DPriorityThreadFactory.java36 public PriorityThreadFactory(int priority) { in PriorityThreadFactory() argument
37 mPriority = priority; in PriorityThreadFactory()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
DPriorityThreadFactory.java33 public PriorityThreadFactory(String name, int priority) { in PriorityThreadFactory() argument
35 mPriority = priority; in PriorityThreadFactory()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterRepresentation.java127 public void setFilterType(int priority) { in setFilterType() argument
128 mPriority = priority; in setFilterType()

12