/packages/apps/Exchange/src/com/android/exchange/adapter/ |
D | ContactsSyncParser.java | 700 public void addValues(RowBuilder builder); 722 public void addValues(RowBuilder builder) { 723 builder.withValue(Email.DATA, email); 724 builder.withValue(Email.DISPLAY_NAME, displayName); 741 public void addValues(RowBuilder builder) { 742 builder.withValue(Im.DATA, im); 761 public void addValues(RowBuilder builder) { 762 builder.withValue(Im.DATA, phone); 763 builder.withValue(Phone.TYPE, type); 780 Builder builder; [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraZslImpl.java | 686 private void addRegionsToCaptureRequestBuilder(CaptureRequest.Builder builder) { in addRegionsToCaptureRequestBuilder() argument 687 builder.set(CaptureRequest.CONTROL_AE_REGIONS, mAERegions); in addRegionsToCaptureRequestBuilder() 688 builder.set(CaptureRequest.CONTROL_AF_REGIONS, mAFRegions); in addRegionsToCaptureRequestBuilder() 689 builder.set(CaptureRequest.SCALER_CROP_REGION, mCropRegion); in addRegionsToCaptureRequestBuilder() 692 private void addFlashToCaptureRequestBuilder(CaptureRequest.Builder builder, Flash flashMode) { in addFlashToCaptureRequestBuilder() argument 695 builder.set(CaptureRequest.CONTROL_AE_MODE, in addFlashToCaptureRequestBuilder() 697 builder.set(CaptureRequest.FLASH_MODE, CaptureRequest.FLASH_MODE_SINGLE); in addFlashToCaptureRequestBuilder() 700 builder.set(CaptureRequest.CONTROL_AE_MODE, in addFlashToCaptureRequestBuilder() 702 builder.set(CaptureRequest.FLASH_MODE, CaptureRequest.FLASH_MODE_OFF); in addFlashToCaptureRequestBuilder() 705 builder.set(CaptureRequest.CONTROL_AE_MODE, in addFlashToCaptureRequestBuilder() [all …]
|
D | OneCameraImpl.java | 307 CaptureRequest.Builder builder = mDevice in takePictureNow() local 309 builder.setTag(RequestTag.CAPTURE); in takePictureNow() 310 addBaselineCaptureKeysToRequest(builder); in takePictureNow() 313 builder.set(CaptureRequest.JPEG_QUALITY, JPEG_QUALITY); in takePictureNow() 314 builder.set(CaptureRequest.JPEG_ORIENTATION, in takePictureNow() 318 builder.addTarget(mPreviewSurface); in takePictureNow() 319 builder.addTarget(mCaptureImageReader.getSurface()); in takePictureNow() 320 CaptureRequest request = builder.build(); in takePictureNow() 518 private void addBaselineCaptureKeysToRequest(CaptureRequest.Builder builder) { in addBaselineCaptureKeysToRequest() argument 519 builder.set(CaptureRequest.CONTROL_AF_REGIONS, mAFRegions); in addBaselineCaptureKeysToRequest() [all …]
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
D | EntityDelta.java | 318 final StringBuilder builder = new StringBuilder(); in toString() local 319 builder.append("\n("); in toString() 320 builder.append(mValues.toString()); in toString() 321 builder.append(") = {"); in toString() 324 builder.append("\n\t"); in toString() 325 child.toString(builder); in toString() 328 builder.append("\n}\n"); in toString() 329 return builder.toString(); in toString() 337 ContentProviderOperation.Builder builder) { in possibleAdd() argument 338 if (builder != null) { in possibleAdd() [all …]
|
D | EntityDiff.java | 50 Builder builder; in buildDiff() local 55 builder = ContentProviderOperation.newInsert(targetUri); in buildDiff() 56 builder.withValues(after.getEntityValues()); in buildDiff() 57 diff.add(builder.build()); in buildDiff() 61 builder = ContentProviderOperation.newInsert(child.uri); in buildDiff() 62 builder.withValues(child.values); in buildDiff() 64 builder.withValueBackReference(childForeignKey, 0); in buildDiff() 66 diff.add(builder.build()); in buildDiff() 72 builder = ContentProviderOperation.newDelete(child.uri); in buildDiff() 73 builder.withSelection(getSelectIdClause(child.values), null); in buildDiff() [all …]
|
D | EntitySet.java | 144 final Builder builder = beginKeepTogether(); in buildDiff() local 145 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId); in buildDiff() 146 builder.withValueBackReference(AggregationExceptions.RAW_CONTACT_ID2, firstBatch); in buildDiff() 147 diff.add(builder.build()); in buildDiff() 155 final Builder builder = beginKeepTogether(); in buildDiff() local 156 … builder.withValueBackReference(AggregationExceptions.RAW_CONTACT_ID1, firstInsertRow); in buildDiff() 157 builder.withValueBackReference(AggregationExceptions.RAW_CONTACT_ID2, firstBatch); in buildDiff() 158 diff.add(builder.build()); in buildDiff() 179 final Builder builder = ContentProviderOperation in beginKeepTogether() local 181 builder.withValue(AggregationExceptions.TYPE, AggregationExceptions.TYPE_KEEP_TOGETHER); in beginKeepTogether() [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | StatusBarNotifier.java | 278 final Notification.Builder builder = getNotificationBuilder(); in buildAndSendNotification() local 282 builder.setContentIntent(inCallPendingIntent); in buildAndSendNotification() 287 configureFullScreenIntent(builder, inCallPendingIntent, call); in buildAndSendNotification() 291 builder.setContentText(mContext.getString(contentResId)); in buildAndSendNotification() 292 builder.setSmallIcon(iconResId); in buildAndSendNotification() 293 builder.setContentTitle(contentTitle); in buildAndSendNotification() 294 builder.setLargeIcon(largeIcon); in buildAndSendNotification() 295 builder.setColor(mContext.getResources().getColor(R.color.dialer_theme_color)); in buildAndSendNotification() 298 builder.setUsesChronometer(false); in buildAndSendNotification() 299 addDismissUpgradeRequestAction(builder); in buildAndSendNotification() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CombinedFormatUtils.java | 39 final StringBuilder builder = new StringBuilder(); in formatAttributeMap() local 40 builder.append(DICTIONARY_TAG + "="); in formatAttributeMap() 42 builder.append(attributeMap.get(DictionaryHeader.DICTIONARY_ID_KEY)); in formatAttributeMap() 49 builder.append("," + key + "=" + value); in formatAttributeMap() 51 builder.append("\n"); in formatAttributeMap() 52 return builder.toString(); in formatAttributeMap() 56 final StringBuilder builder = new StringBuilder(); in formatWordProperty() local 57 builder.append(" " + WORD_TAG + "=" + wordProperty.mWord); in formatWordProperty() 58 builder.append(","); in formatWordProperty() 59 builder.append(formatProbabilityInfo(wordProperty.mProbabilityInfo)); in formatWordProperty() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/ |
D | CallServiceNotifier.java | 102 telecomManager.registerPhoneAccount(PhoneAccount.builder( in registerPhoneAccount() 115 telecomManager.registerPhoneAccount(PhoneAccount.builder( in registerPhoneAccount() 128 telecomManager.registerPhoneAccount(PhoneAccount.builder( in registerPhoneAccount() 163 final Notification.Builder builder = new Notification.Builder(context); in getPhoneAccountNotification() local 167 builder.setOngoing(false); in getPhoneAccountNotification() 168 builder.setPriority(Notification.PRIORITY_HIGH); in getPhoneAccountNotification() 171 builder.setContentIntent(intent); in getPhoneAccountNotification() 173 builder.setSmallIcon(android.R.drawable.stat_sys_phone_call); in getPhoneAccountNotification() 175 builder.setContentText("Test phone accounts via telecom APIs."); in getPhoneAccountNotification() 176 builder.setContentTitle("Test Phone Accounts"); in getPhoneAccountNotification() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AsyncQueryServiceHelper.java | 104 StringBuilder builder = new StringBuilder(); in toString() local 105 builder.append("OperationInfo [\n\t token= "); in toString() 106 builder.append(token); in toString() 107 builder.append(",\n\t op= "); in toString() 108 builder.append(Operation.opToChar(op)); in toString() 109 builder.append(",\n\t uri= "); in toString() 110 builder.append(uri); in toString() 111 builder.append(",\n\t authority= "); in toString() 112 builder.append(authority); in toString() 113 builder.append(",\n\t delayMillis= "); in toString() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
D | RawContactDelta.java | 370 final StringBuilder builder = new StringBuilder(); in toString() local 371 builder.append("\n("); in toString() 372 builder.append("Uri="); in toString() 373 builder.append(mContactsQueryUri); in toString() 374 builder.append(", Values="); in toString() 375 builder.append(mValues != null ? mValues.toString() : "null"); in toString() 376 builder.append(", Entries={"); in toString() 379 builder.append("\n\t"); in toString() 380 child.toString(builder); in toString() 383 builder.append("\n})\n"); in toString() [all …]
|
D | RawContactDeltaList.java | 158 final Builder builder = beginKeepTogether(); in buildDiff() local 159 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, joinedRawContactId); in buildDiff() 161 builder.withValue(AggregationExceptions.RAW_CONTACT_ID2, rawContactId); in buildDiff() 163 builder.withValueBackReference( in buildDiff() 166 diff.add(builder.build()); in buildDiff() 178 final Builder builder = beginKeepTogether(); in buildDiff() local 179 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId); in buildDiff() 180 builder.withValueBackReference(AggregationExceptions.RAW_CONTACT_ID2, firstBatch); in buildDiff() 181 diff.add(builder.build()); in buildDiff() 189 final Builder builder = beginKeepTogether(); in buildDiff() local [all …]
|
D | ValuesDelta.java | 359 final StringBuilder builder = new StringBuilder(); in toString() local 360 toString(builder); in toString() 361 return builder.toString(); in toString() 368 public void toString(StringBuilder builder) { in toString() argument 369 builder.append("{ "); in toString() 370 builder.append("IdColumn="); in toString() 371 builder.append(mIdColumn); in toString() 372 builder.append(", FromTemplate="); in toString() 373 builder.append(mFromTemplate); in toString() 374 builder.append(", "); in toString() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PostalSplitter.java | 112 final StringBuilder builder = new StringBuilder(); in joinJaJp() local 120 builder.append(postal.country); in joinJaJp() 123 if (hasCountry) builder.append(SPACE); in joinJaJp() 124 builder.append(postal.postcode); in joinJaJp() 130 builder.append(NEWLINE); in joinJaJp() 133 builder.append(postal.region); in joinJaJp() 136 if (hasRegion) builder.append(SPACE); in joinJaJp() 137 builder.append(postal.city); in joinJaJp() 140 if (hasRegion || hasCity) builder.append(SPACE); in joinJaJp() 141 builder.append(postal.neighborhood); in joinJaJp() [all …]
|
D | SearchIndexManager.java | 393 private void insertIndexRow(SQLiteDatabase db, long contactId, IndexBuilder builder) { in insertIndexRow() argument 395 mValues.put(SearchIndexColumns.CONTENT, builder.getContent()); in insertIndexRow() 396 mValues.put(SearchIndexColumns.NAME, builder.getName()); in insertIndexRow() 397 mValues.put(SearchIndexColumns.TOKENS, builder.getTokens()); in insertIndexRow() 448 public abstract void addToken(StringBuilder builder, String token); in addToken() argument 470 public void addToken(StringBuilder builder, String token) { in getDigitsQueryBuilder() 471 if (builder.length() != 0) builder.append(' '); in getDigitsQueryBuilder() 473 builder.append("content:"); in getDigitsQueryBuilder() 474 builder.append(token); in getDigitsQueryBuilder() 475 builder.append("* "); in getDigitsQueryBuilder() [all …]
|
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
D | GalaxyRS.java | 174 ProgramVertex.Builder builder = new ProgramVertex.Builder(mRS); in createProgramVertex() local 175 builder.setShader(mRes, R.raw.spacecloud_vs); in createProgramVertex() 176 builder.addConstant(mPvConsts.getType()); in createProgramVertex() 177 builder.addInput(mSpaceCloudsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex() 178 ProgramVertex pvs = builder.create(); in createProgramVertex() 185 builder = new ProgramVertex.Builder(mRS); in createProgramVertex() 186 builder.setShader(mRes, R.raw.bgstar_vs); in createProgramVertex() 187 builder.addConstant(mPvConsts.getType()); in createProgramVertex() 188 builder.addInput(mBgStarsMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex() 189 pvs = builder.create(); in createProgramVertex() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 151 ContentProviderOperation.Builder builder = in actuallyImportOneSimContact() local 155 builder.withValue(RawContacts.ACCOUNT_NAME, account.name); in actuallyImportOneSimContact() 156 builder.withValue(RawContacts.ACCOUNT_TYPE, account.type); in actuallyImportOneSimContact() 158 builder.withValues(sEmptyContentValues); in actuallyImportOneSimContact() 160 operationList.add(builder.build()); in actuallyImportOneSimContact() 162 builder = ContentProviderOperation.newInsert(Data.CONTENT_URI); in actuallyImportOneSimContact() 163 builder.withValueBackReference(StructuredName.RAW_CONTACT_ID, 0); in actuallyImportOneSimContact() 164 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact() 165 builder.withValue(StructuredName.DISPLAY_NAME, name); in actuallyImportOneSimContact() 166 operationList.add(builder.build()); in actuallyImportOneSimContact() [all …]
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
D | Visualization5RS.java | 203 Sampler.Builder builder = new Sampler.Builder(mRS); in createScript() local 204 builder.setMinification(Value.LINEAR); in createScript() 205 builder.setMagnification(Value.LINEAR); in createScript() 206 builder.setWrapS(Value.WRAP); in createScript() 207 builder.setWrapT(Value.WRAP); in createScript() 208 mSamplerNoMip = builder.create(); in createScript() 212 Sampler.Builder builder = new Sampler.Builder(mRS); in createScript() local 213 builder.setMinification(Value.LINEAR_MIP_LINEAR); in createScript() 214 builder.setMagnification(Value.LINEAR); in createScript() 215 builder.setWrapS(Value.WRAP); in createScript() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 141 final Notification.Builder builder = new Notification.Builder(mContext); in updateWithLocked() local 142 builder.setColor(res.getColor( in updateWithLocked() 153 builder.setWhen(firstShown); in updateWithLocked() 157 builder.setSmallIcon(android.R.drawable.stat_sys_download); in updateWithLocked() 159 builder.setSmallIcon(android.R.drawable.stat_sys_warning); in updateWithLocked() 161 builder.setSmallIcon(android.R.drawable.stat_sys_download_done); in updateWithLocked() 172 builder.setContentIntent(PendingIntent.getBroadcast(mContext, in updateWithLocked() 174 builder.setOngoing(true); in updateWithLocked() 180 builder.setAutoCancel(true); in updateWithLocked() 196 builder.setContentIntent(PendingIntent.getBroadcast(mContext, in updateWithLocked() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.java | 98 StringBuilder builder = new StringBuilder(); in toString() local 99 builder.append("EventInfo [visibTitle="); in toString() 100 builder.append(visibTitle); in toString() 101 builder.append(", title="); in toString() 102 builder.append(title); in toString() 103 builder.append(", visibWhen="); in toString() 104 builder.append(visibWhen); in toString() 105 builder.append(", id="); in toString() 106 builder.append(id); in toString() 107 builder.append(", when="); in toString() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
D | PcQwerty.java | 70 final ExpectedKeyboardBuilder builder = new ExpectedKeyboardBuilder(ALPHABET_COMMON); in getCommonAlphabetLayout() local 71 customizer.setAccentedLetters(builder); in getCommonAlphabetLayout() 72 builder.replaceKeyOfLabel(ROW1_1, key("`", moreKey("~"))) in getCommonAlphabetLayout() 89 builder.replaceKeyOfLabel(ROW1_13, key("=", in getCommonAlphabetLayout() 95 builder.replaceKeyOfLabel(ROW1_13, key("=", in getCommonAlphabetLayout() 98 return builder.build(); in getCommonAlphabetLayout() 103 final ExpectedKeyboardBuilder builder; in getCommonAlphabetShiftLayout() local 106 builder = new ExpectedKeyboardBuilder(getCommonAlphabetLayout(isPhone)); in getCommonAlphabetShiftLayout() 108 builder = new ExpectedKeyboardBuilder(ALPHABET_COMMON); in getCommonAlphabetShiftLayout() 110 customizer.setAccentedLetters(builder); in getCommonAlphabetShiftLayout() [all …]
|
D | LayoutBase.java | 60 public ExpectedKeyboardBuilder setAccentedLetters(final ExpectedKeyboardBuilder builder) { in setAccentedLetters() argument 61 return builder; in setAccentedLetters() 339 ExpectedKeyboardBuilder convertCommonLayoutToKeyboard(final ExpectedKeyboardBuilder builder, in convertCommonLayoutToKeyboard() argument 343 builder.setKeysOfRow(numberOfRows, (Object[])customizer.getSpaceKeys(isPhone)); in convertCommonLayoutToKeyboard() 344 builder.addKeysOnTheLeftOfRow( in convertCommonLayoutToKeyboard() 346 builder.addKeysOnTheRightOfRow( in convertCommonLayoutToKeyboard() 349 builder.addKeysOnTheRightOfRow(numberOfRows - 1, DELETE_KEY) in convertCommonLayoutToKeyboard() 353 builder.addKeysOnTheRightOfRow(1, DELETE_KEY) in convertCommonLayoutToKeyboard() 358 builder.addKeysOnTheLeftOfRow( in convertCommonLayoutToKeyboard() 360 builder.addKeysOnTheRightOfRow( in convertCommonLayoutToKeyboard() [all …]
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
D | MagicSmokeRS.java | 333 ProgramVertex.Builder builder = new ProgramVertex.Builder(mRS); in createScript() local 334 builder.setShader(mResources, R.raw.pv5tex); in createScript() 335 builder.addConstant(mVSConst.getAllocation().getType()); in createScript() 336 builder.addInput(ScriptField_VertexInputs_s.createElement(mRS)); in createScript() 338 mPV5tex = builder.create(); in createScript() 341 builder.setShader(mResources, R.raw.pv4tex); in createScript() 342 mPV4tex = builder.create(); in createScript() 370 ProgramFragment.Builder builder = new ProgramFragment.Builder(mRS); in createScript() local 371 builder.setShader(mResources, R.raw.pf5tex); in createScript() 373 builder.addTexture(Program.TextureType.TEXTURE_2D); in createScript() [all …]
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 134 final AlertDialog.Builder builder = new AlertDialog.Builder( in onCreateDialog() local 136 builder.setTitle(R.string.dialog_title_queued_body); in onCreateDialog() 137 builder.setMessage(R.string.dialog_queued_body); in onCreateDialog() 139 builder.setPositiveButton(R.string.keep_queued_download, null); in onCreateDialog() 141 builder.setNegativeButton( in onCreateDialog() 149 return builder.create(); in onCreateDialog() 180 final AlertDialog.Builder builder = new AlertDialog.Builder( in onCreateDialog() local 182 builder.setTitle(R.string.dialog_title_not_available); in onCreateDialog() 187 builder.setMessage(R.string.dialog_file_already_exists); in onCreateDialog() 190 builder.setMessage(R.string.dialog_insufficient_space_on_external); in onCreateDialog() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialNameMatcher.java | 71 private void constructEmptyMask(StringBuilder builder, int length) { in constructEmptyMask() argument 73 builder.append("0"); in constructEmptyMask() 82 private void replaceBitInMask(StringBuilder builder, SmartDialMatchPosition matchPos) { in replaceBitInMask() argument 84 builder.replace(i, i + 1, "1"); in replaceBitInMask() 127 StringBuilder builder = new StringBuilder(); in matchesNumber() local 128 constructEmptyMask(builder, phoneNumber.length()); in matchesNumber() 129 mPhoneNumberMatchMask = builder.toString(); in matchesNumber() 150 replaceBitInMask(builder, matchPos); in matchesNumber() 151 mPhoneNumberMatchMask = builder.toString(); in matchesNumber() 259 StringBuilder builder = new StringBuilder(); in matchesCombination() local [all …]
|