Searched refs:priority (Results 1 - 25 of 37) sorted by relevance

12

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DPriorityThreadFactory.java24 * A thread factory that creates threads with a given thread priority.
33 * @param priority The thread priority of the threads created by this factory.
36 public PriorityThreadFactory(int priority) { argument
37 mPriority = priority;
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DParticipantInfo.java32 /** priority of the participant */
33 public int priority; field in class:ParticipantInfo
38 public ParticipantInfo(String name, String email, int priority, boolean readConversation) { argument
41 this.priority = priority;
55 return Objects.hashCode(name, email, priority, readConversation);
73 priority = in.readInt();
86 out.writeInt(priority);
95 ", priority = " + priority
[all...]
H A DConversation.java81 public int priority; field in class:Conversation
185 dest.writeInt(priority);
211 priority = in.readInt();
289 priority = cursor.getInt(UIProvider.CONVERSATION_PRIORITY_COLUMN);
328 priority = other.priority;
352 int sendingState, int priority, boolean read,
367 this.priority = priority;
445 public Builder setPriority(int priority) { argument
350 Conversation(long id, Uri uri, String subject, long dateMs, boolean hasAttachment, Uri messageListUri, int sendingState, int priority, boolean read, boolean seen, boolean starred, FolderList rawFolders, int convFlags, int personalLevel, boolean spam, boolean phishing, boolean muted, Uri accountUri, ConversationInfo conversationInfo, Uri conversationBase, boolean isRemote, String permalink, long orderKey) argument
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/
H A DPriorityThreadFactory.java25 * A thread factory that creates threads with a given thread priority.
33 public PriorityThreadFactory(String name, int priority) { argument
35 mPriority = priority;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPhotoPriorityResolver.java39 * Maintains a cache of photo priority per account type. During contact aggregation
40 * photo with a higher priority is chosen for the the entire contact, barring an
55 * The XML tag capturing the picture priority. The syntax is:
56 * <code>&lt;Picture android:priority="6"/&gt;</code>
61 * Name of the attribute of the Picture tag capturing the priority itself.
63 private static final String PRIORITY_ATTR = "priority";
73 * Returns the photo priority for the specified account type. Maintains cache
81 Integer priority = mPhotoPriorities.get(accountType);
82 if (priority == null) {
83 priority
[all...]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DPriorityThreadFactoryTest.java40 private void priorityTest(int priority) throws InterruptedException { argument
41 ThreadFactory factory = new PriorityThreadFactory(priority);
45 assertEquals(priority, r.getPriority());
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java165 public boolean setPriority(BluetoothDevice device, int priority) { argument
170 priority);
171 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority);
178 int priority = Settings.Global.getInt(getContentResolver(),
181 return priority;
264 public boolean setPriority(BluetoothDevice device, int priority) { argument
267 return service.setPriority(device, priority);
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailStatusHelperImpl.java77 * string and the corrective action. The states are also assigned a relative priority which is
115 private OverallState(int priority, Action action, int callLogMessageId) { argument
116 this(priority, action, callLogMessageId, -1);
119 private OverallState(int priority, Action action, int callLogMessageId, argument
121 mPriority = priority;
144 /** A wrapper on {@link StatusMessage} which additionally stores the priority of the message. */
149 public MessageStatusWithPriority(StatusMessage message, int priority) { argument
151 mPriority = priority;
166 // Finally reorder the messages by their priority.
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemViewModel.java197 List<Folder> rawFolders, boolean starred, boolean read, int priority,
202 return Objects.hashCode(convInfo, dateText, rawFolders, starred, read, priority,
219 conversation.read, conversation.priority, conversation.sendingState);
229 conversation.read, conversation.priority, conversation.sendingState);
196 getHashCode(CharSequence dateText, Object convInfo, List<Folder> rawFolders, boolean starred, boolean read, int priority, int sendingState) argument
H A DSendersView.java79 // Cache of priority to length maps. We can't just use a single instance as it may be
278 priorityToLength.put(info.priority, senderLength);
279 maxFoundPriority = Math.max(maxFoundPriority, info.priority);
325 final int priority = currentParticipant.priority;
328 if (priority <= maxPriorityToInclude) {
H A DSelectedConversationsActionMenu.java321 final int priority = important ? UIProvider.ConversationPriority.HIGH
323 mUpdater.updateConversation(target, ConversationColumns.PRIORITY, priority);
326 c.priority = priority;
/packages/apps/Settings/src/com/android/settings/notification/
H A DAppNotificationSettings.java52 private static final String KEY_PRIORITY = "priority";
160 mPriority.setChecked(mAppRow.priority);
176 final boolean priority = (Boolean) newValue;
177 return mBackend.setHighPriority(pkg, uid, priority);
H A DNotificationStation.java68 public int priority; field in class:NotificationStation.HistoricalNotificationInfo
210 info.priority = sbn.getNotification().priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java174 public boolean setPriority(BluetoothDevice device, int priority) { argument
177 return service.setPriority(device, priority);
377 public boolean setPriority(BluetoothDevice device, int priority) { argument
382 priority);
383 if (DBG) Log.d(TAG, "Saved priority " + device + " = " + priority);
390 int priority = Settings.Global.getInt(getContentResolver(),
393 return priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java193 public boolean setPriority(BluetoothDevice device, int priority) { argument
198 return service.setPriority(device, priority);
485 // TODO Should new setting for HeadsetClient priority be created?
486 public boolean setPriority(BluetoothDevice device, int priority) { argument
491 priority);
493 Log.d(TAG, "Saved priority " + device + " = " + priority);
501 int priority = Settings.Global.getInt(getContentResolver(),
504 return priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListingElement.java181 public void setPriority(String priority) { argument
182 this.mPriority = priority;
287 xmlMsgElement.attribute(null, "priority", mPriority);
H A DBluetoothMapService.java515 public boolean setPriority(BluetoothDevice device, int priority) { argument
518 priority);
519 if (DEBUG) Log.d(TAG, "Saved priority " + device + " = " + priority);
524 int priority = Settings.Global.getInt(getContentResolver(),
527 return priority;
1075 public boolean setPriority(BluetoothDevice device, int priority) { argument
1078 return service.setPriority(device, priority);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterRepresentation.java127 public void setFilterType(int priority) { argument
128 mPriority = priority;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DQsbApplication.java220 int priority = getConfig().getQueryThreadPriority();
223 .setThreadFactory(new PriorityThreadFactory(priority))
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaThumbRequest.java86 MediaThumbRequest(ContentResolver cr, String path, Uri uri, int priority, long magic) { argument
89 mPriority = priority;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DNestedFolderTeaserView.java619 int priority = Integer.MIN_VALUE;
621 // Find the highest priority participant
624 if (sender == null || priority < p.priority) {
627 priority = p.priority;
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java347 public boolean setPriority(BluetoothDevice device, int priority) { argument
350 return service.setPriority(device, priority);
444 public boolean setPriority(BluetoothDevice device, int priority) { argument
449 priority);
450 if (DBG) Log.d(TAG,"Saved priority " + device + " = " + priority);
457 int priority = Settings.Global.getInt(getContentResolver(),
460 return priority;
657 //check if it is inbound connection in Quiet mode, priority and Bond status
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/resolver/
H A DResolverActivity.java464 // priority or have asked to be default options.
471 r0.priority + "/" + r0.isDefault + " vs " +
473 ri.priority + "/" + ri.isDefault);
474 if (r0.priority != ri.priority ||
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
H A DAlertServiceTest.java181 public NotificationInstance(int alertId, int priority) { argument
183 mPriority = priority;
186 public NotificationInstance(int[] alertIdsInDigest, int priority) { argument
188 mPriority = priority;
277 public void expectTestNotification(int notificationId, int[] alertIds, int priority) { argument
278 mExpectedNotifications[notificationId] = new NotificationInstance(alertIds, priority);
309 expected.mPriority, actual.mNotification.priority);
351 s.append("priority:" + actual.mNotification.priority);
496 // to the low priority bucke
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertReceiver.java261 int notificationId, boolean doPopup, int priority) {
264 doPopup, priority, false);
270 long eventId, int notificationId, boolean doPopup, int priority,
321 // A higher priority will encourage notification manager to expand it.
322 notificationBuilder.setPriority(priority);
324 // Add action buttons. Show at most three, using the following priority ordering:
409 * the notification manager based on the priority.
413 int notificationId, boolean doPopup, int priority) {
417 priority, true);
493 // Set to min priority t
259 makeBasicNotification(Context context, String title, String summaryText, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority) argument
268 buildBasicNotification(Notification.Builder notificationBuilder, Context context, String title, String summaryText, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority, boolean addActionButtons) argument
411 makeExpandingNotification(Context context, String title, String summaryText, String description, long startMillis, long endMillis, long eventId, int notificationId, boolean doPopup, int priority) argument
[all...]

Completed in 6968 milliseconds

12