/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | ContactsSyncAdapter.java | 239 public void addValues(RowBuilder builder); in addValues() argument 367 public void addValues(RowBuilder builder) { in addValues() argument 368 builder.withValue(Email.DATA, email); in addValues() 369 builder.withValue(Email.DISPLAY_NAME, displayName); in addValues() 386 public void addValues(RowBuilder builder) { in addValues() argument 387 builder.withValue(Im.DATA, im); in addValues() 406 public void addValues(RowBuilder builder) { in addValues() argument 407 builder.withValue(Im.DATA, phone); in addValues() 408 builder.withValue(Phone.TYPE, type); in addValues() 984 Builder builder; field in ContactsSyncAdapter.RowBuilder [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/Contacts/src/com/android/contacts/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 …]
|
/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/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 | 387 private void insertIndexRow(SQLiteDatabase db, long contactId, IndexBuilder builder) { in insertIndexRow() argument 389 mValues.put(SearchIndexColumns.CONTENT, builder.getContent()); in insertIndexRow() 390 mValues.put(SearchIndexColumns.NAME, builder.getName()); in insertIndexRow() 391 mValues.put(SearchIndexColumns.TOKENS, builder.getTokens()); in insertIndexRow() 442 public abstract void addToken(StringBuilder builder, String token); in addToken() argument 464 public void addToken(StringBuilder builder, String token) { in getDigitsQueryBuilder() 465 if (builder.length() != 0) builder.append(' '); in getDigitsQueryBuilder() 467 builder.append("content:"); in getDigitsQueryBuilder() 468 builder.append(token); in getDigitsQueryBuilder() 469 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/apps/Phone/src/com/android/phone/ |
D | SimContacts.java | 154 ContentProviderOperation.Builder builder = in actuallyImportOneSimContact() local 158 builder.withValue(RawContacts.ACCOUNT_NAME, account.name); in actuallyImportOneSimContact() 159 builder.withValue(RawContacts.ACCOUNT_TYPE, account.type); in actuallyImportOneSimContact() 161 builder.withValues(sEmptyContentValues); in actuallyImportOneSimContact() 163 operationList.add(builder.build()); in actuallyImportOneSimContact() 165 builder = ContentProviderOperation.newInsert(Data.CONTENT_URI); in actuallyImportOneSimContact() 166 builder.withValueBackReference(StructuredName.RAW_CONTACT_ID, 0); in actuallyImportOneSimContact() 167 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in actuallyImportOneSimContact() 168 builder.withValue(StructuredName.DISPLAY_NAME, name); in actuallyImportOneSimContact() 169 operationList.add(builder.build()); in actuallyImportOneSimContact() [all …]
|
D | NotificationMgr.java | 533 Notification.Builder builder = new Notification.Builder(mContext); in notifyMissedCall() local 534 builder.setSmallIcon(android.R.drawable.stat_notify_missed_call) in notifyMissedCall() 553 builder.addAction(R.drawable.stat_sys_phone_call, in notifyMissedCall() 557 builder.addAction(R.drawable.ic_text_holo_dark, in notifyMissedCall() 562 builder.setLargeIcon(photoIcon); in notifyMissedCall() 564 builder.setLargeIcon(((BitmapDrawable) photo).getBitmap()); in notifyMissedCall() 572 Notification notification = builder.getNotification(); in notifyMissedCall() 884 final Notification.Builder builder = new Notification.Builder(mContext); in updateInCallNotification() local 885 builder.setSmallIcon(mInCallResId).setOngoing(true); in updateInCallNotification() 895 builder.setContentIntent(inCallPendingIntent); in updateInCallNotification() [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 151 builder.setWhen(firstShown); in updateWithLocked() 155 builder.setSmallIcon(android.R.drawable.stat_sys_download); in updateWithLocked() 157 builder.setSmallIcon(android.R.drawable.stat_sys_warning); in updateWithLocked() 159 builder.setSmallIcon(android.R.drawable.stat_sys_download_done); in updateWithLocked() 170 builder.setContentIntent(PendingIntent.getBroadcast(mContext, in updateWithLocked() 172 builder.setOngoing(true); in updateWithLocked() 178 builder.setAutoCancel(true); in updateWithLocked() 194 builder.setContentIntent(PendingIntent.getBroadcast(mContext, in updateWithLocked() 199 builder.setDeleteIntent(PendingIntent.getBroadcast(mContext, 0, hideIntent, 0)); in updateWithLocked() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | DataUsageSummary.java | 1685 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in onCreateDialog() local 1686 builder.setTitle(R.string.data_usage_limit_dialog_title); in onCreateDialog() 1687 builder.setMessage(message); in onCreateDialog() 1689 builder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog() 1699 return builder.create(); in onCreateDialog() 1727 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in onCreateDialog() local 1728 final LayoutInflater dialogInflater = LayoutInflater.from(builder.getContext()); in onCreateDialog() 1741 builder.setTitle(R.string.data_usage_cycle_editor_title); in onCreateDialog() 1742 builder.setView(view); in onCreateDialog() 1744 builder.setPositiveButton(R.string.data_usage_cycle_editor_positive, in onCreateDialog() [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/apps/ContactsCommon/src/com/android/contacts/common/model/ |
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/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/apps/Contacts/src/com/android/contacts/util/ |
D | HtmlUtils.java | 80 final SpannableStringBuilder builder; in postprocess() local 82 builder = (SpannableStringBuilder) original; in postprocess() 84 builder = new SpannableStringBuilder(original); in postprocess() 87 final QuoteSpan[] quoteSpans = builder.getSpans(0, length, QuoteSpan.class); in postprocess() 93 replaceSpan(builder, quoteSpans[i], new StreamItemQuoteSpan(color, width)); in postprocess() 97 final ImageSpan[] imageSpans = builder.getSpans(0, length, ImageSpan.class); in postprocess() 101 replaceSpan(builder, span, new ImageSpan(span.getDrawable(), in postprocess() 109 for (int i = builder.length() - 1; i >= 0; i--) { in postprocess() 110 if (builder.charAt(i) != '\n') { in postprocess() 118 return builder; in postprocess() [all …]
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
D | FallRS.java | 265 … ProgramFragmentFixedFunction.Builder builder = new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment() local 266 builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in createProgramFragment() 268 mPfBackground = builder.create(); in createProgramFragment() 273 builder = new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment() 274 builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.MODULATE, in createProgramFragment() 276 mPfSky = builder.create(); in createProgramFragment() 283 ProgramStore.Builder builder = new ProgramStore.Builder(mRS); in createProgramFragmentStore() local 284 builder.setDepthFunc(ALWAYS); in createProgramFragmentStore() 285 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ONE); in createProgramFragmentStore() 286 builder.setDitherEnabled(false); in createProgramFragmentStore() [all …]
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | AlertDialogs.java | 60 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in createAlert() local 61 builder.setTitle(title); in createAlert() 63 builder.setIcon(context.getResources().getDrawable(iconId)); in createAlert() 65 builder.setMessage(content); in createAlert() 66 builder.setPositiveButton(positive, positiveListener); in createAlert() 67 builder.setNegativeButton(negative, negativeListener); in createAlert() 68 builder.setOnCancelListener(cancelListener); in createAlert() 69 builder.setCancelable(cancelable); in createAlert() 71 final AlertDialog dialog = builder.create(); in createAlert() 98 final AlertDialog.Builder builder = new AlertDialog.Builder(context); in createEditDialog() local [all …]
|
/packages/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
D | GalaxyRS.java | 154 … ProgramFragmentFixedFunction.Builder builder = new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment() local 155 builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in createProgramFragment() 157 ProgramFragment pfb = builder.create(); in createProgramFragment() 161 builder = new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment() 162 builder.setPointSpriteTexCoordinateReplacement(true); in createProgramFragment() 163 builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.MODULATE, in createProgramFragment() 165 builder.setVaryingColor(true); in createProgramFragment() 166 ProgramFragment pfs = builder.create(); in createProgramFragment() 172 ProgramStore.Builder builder = new ProgramStore.Builder(mRS); in createProgramFragmentStore() local 173 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ZERO); in createProgramFragmentStore() [all …]
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | UriCodec.java | 96 private void appendEncoded(StringBuilder builder, String s, Charset charset, in appendEncoded() argument 111 appendHex(builder, s.substring(escapeStart, i), charset); in appendEncoded() 116 builder.append(s, i, i + 3); in appendEncoded() 119 builder.append('+'); in appendEncoded() 121 builder.append(c); in appendEncoded() 128 appendHex(builder, s.substring(escapeStart, s.length()), charset); in appendEncoded() 134 StringBuilder builder = new StringBuilder(s.length() + 16); in encode() local 135 appendEncoded(builder, s, charset, false); in encode() 136 return builder.toString(); in encode() 139 public final void appendEncoded(StringBuilder builder, String s) { in appendEncoded() argument [all …]
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
D | GrassRS.java | 256 final Type.Builder builder = new Type.Builder(mRS, A_8(mRS)); in generateTextureAlpha() local 257 builder.setX(4); in generateTextureAlpha() 258 builder.setY(1); in generateTextureAlpha() 259 builder.setMipmaps(true); in generateTextureAlpha() 261 final Allocation allocation = Allocation.createTyped(mRS, builder.create(), in generateTextureAlpha() 296 … ProgramFragmentFixedFunction.Builder builder = new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment() local 297 builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, in createProgramFragment() 299 builder.setVaryingColor(true); in createProgramFragment() 300 ProgramFragment pf = builder.create(); in createProgramFragment() 304 builder = new ProgramFragmentFixedFunction.Builder(mRS); in createProgramFragment() [all …]
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
D | NoiseFieldRS.java | 184 ProgramVertex.Builder builder = new ProgramVertex.Builder(mRS); in createProgramVertex() local 185 builder = new ProgramVertex.Builder(mRS); in createProgramVertex() 186 builder.setShader(mRes, R.raw.noisefield_vs); in createProgramVertex() 187 builder.addConstant(mPvConsts.getType()); in createProgramVertex() 188 builder.addInput(mDotMesh.getVertexAllocation(0).getType().getElement()); in createProgramVertex() 190 ProgramVertex pvs = builder.create(); in createProgramVertex() 202 ProgramFragment.Builder builder = new ProgramFragment.Builder(mRS); in createProgramFragment() local 203 builder.setShader(mRes, R.raw.noisefield_fs); in createProgramFragment() 204 builder.addTexture(Program.TextureType.TEXTURE_2D); in createProgramFragment() 205 ProgramFragment pf = builder.create(); in createProgramFragment() [all …]
|