/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | PriorityThreadFactory.java | 24 * 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 D | ParticipantInfo.java | 32 /** 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 D | Conversation.java | 81 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 D | PriorityThreadFactory.java | 25 * 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 D | PhotoPriorityResolver.java | 39 * 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><Picture android:priority="6"/></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 D | PriorityThreadFactoryTest.java | 40 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 D | A2dpService.java | 165 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 D | VoicemailStatusHelperImpl.java | 77 * 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 D | ConversationItemViewModel.java | 197 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 D | SendersView.java | 79 // 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 D | SelectedConversationsActionMenu.java | 321 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 D | AppNotificationSettings.java | 52 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 D | NotificationStation.java | 68 public int priority; field in class:NotificationStation.HistoricalNotificationInfo 210 info.priority = sbn.getNotification().priority;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetService.java | 174 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 D | HeadsetClientService.java | 193 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 D | BluetoothMapMessageListingElement.java | 181 public void setPriority(String priority) { argument 182 this.mPriority = priority; 287 xmlMsgElement.attribute(null, "priority", mPriority);
|
H A D | BluetoothMapService.java | 515 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 D | FilterRepresentation.java | 127 public void setFilterType(int priority) { argument 128 mPriority = priority;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | QsbApplication.java | 220 int priority = getConfig().getQueryThreadPriority(); 223 .setThreadFactory(new PriorityThreadFactory(priority))
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaThumbRequest.java | 86 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 D | NestedFolderTeaserView.java | 619 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 D | HidService.java | 347 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 D | ResolverActivity.java | 464 // 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 D | AlertServiceTest.java | 181 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 D | AlertReceiver.java | 261 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...] |