Home
last modified time | relevance | path

Searched refs:mBuilder (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java121 private StringBuilder mBuilder; field in VCardBuilder
190 mBuilder = new StringBuilder(); in clear()
322 mBuilder.append(VCardConstants.PROPERTY_N); in appendNamePropertiesV40()
327 mBuilder.append(VCARD_PARAM_SEPARATOR); in appendNamePropertiesV40()
331 mBuilder.append("SORT-AS=").append( in appendNamePropertiesV40()
335 mBuilder.append(VCARD_DATA_SEPARATOR); in appendNamePropertiesV40()
336 mBuilder.append(escapedFamily); in appendNamePropertiesV40()
337 mBuilder.append(VCARD_ITEM_SEPARATOR); in appendNamePropertiesV40()
338 mBuilder.append(escapedGiven); in appendNamePropertiesV40()
339 mBuilder.append(VCARD_ITEM_SEPARATOR); in appendNamePropertiesV40()
[all …]
DVCardEntry.java1664 private StringBuilder mBuilder; field in VCardEntry.ToStringIterator
1670 mBuilder = new StringBuilder(); in onIterationStarted()
1671 mBuilder.append("[[hash: " + VCardEntry.this.hashCode() + "\n"); in onIterationStarted()
1676 mBuilder.append(label.toString() + ": "); in onElementGroupStarted()
1683 mBuilder.append(", "); in onElement()
1686 mBuilder.append("[").append(elem.toString()).append("]"); in onElement()
1692 mBuilder.append("\n"); in onElementGroupEnded()
1697 mBuilder.append("]]\n"); in onIterationEnded()
1702 return mBuilder.toString(); in toString()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java127 private Builder mBuilder; field in Layout
142 mBuilder = builder; in Layout()
160 if (mBuilder.hasNavBar()) { in Layout()
170 if (mBuilder.hasAppCompatActionBar()) { in Layout()
177 if (mBuilder.hasTitleBar()) { in Layout()
180 } else if (mBuilder.hasFrameworkActionBar()) { in Layout()
196 mBuilder = null; in Layout()
211 int rule = mBuilder.isNavBarVertical() ? RelativeLayout.START_OF : RelativeLayout.ABOVE; in createContentFrame()
212 if (mBuilder.hasSolidNavBar()) { in createContentFrame()
216 if (mBuilder.mAppCompatActionBarSize > 0) { in createContentFrame()
[all …]
/frameworks/base/core/java/android/util/
DLogWriter.java27 private StringBuilder mBuilder = new StringBuilder(128); field in LogWriter
73 mBuilder.append(c); in write()
79 if (mBuilder.length() > 0) { in flushBuilder()
80 Log.println_native(mBuffer, mPriority, mTag, mBuilder.toString()); in flushBuilder()
81 mBuilder.delete(0, mBuilder.length()); in flushBuilder()
DStringBuilderPrinter.java24 private final StringBuilder mBuilder; field in StringBuilderPrinter
32 mBuilder = builder; in StringBuilderPrinter()
36 mBuilder.append(x); in println()
39 mBuilder.append('\n'); in println()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java112 private DisplayRotationBuilder mBuilder; field in DisplayRotationTests
133 mBuilder = new DisplayRotationBuilder(); in setUp()
151 mBuilder.build(); in testLocksUserRotation_LockRotation_DefaultDisplay()
166 mBuilder.setIsDefaultDisplay(false).build(); in testPersistsUserRotation_LockRotation_NonDefaultDisplay()
179 mBuilder.build(); in testPersistUserRotation_UnlockRotation_DefaultDisplay()
191 mBuilder.setIsDefaultDisplay(false).build(); in testPersistsUserRotation_UnlockRotation_NonDefaultDisplay()
203 mBuilder.build(); in testPersistsFixedToUserRotation()
229 mBuilder.build(); in testReturnsUserRotation_UserRotationLocked_NoAppRequest()
241 mBuilder.build(); in testReturnsUserRotation_UserRotationLocked_CompatibleAppRequest()
253 mBuilder.build(); in testReturnsSideways_UserRotationLocked_IncompatibleAppRequest()
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DKMLFormatter.java70 private StringBuilder mBuilder; field in KMLFormatter.LineBuilder
73 mBuilder = new StringBuilder(); in LineBuilder()
77 mBuilder.append(line); in addLine()
78 mBuilder.append("\n"); in addLine()
83 return mBuilder.toString(); in toString()
/frameworks/base/tests/utils/testutils/java/com/android/test/filters/
DSelectTestTests.java90 private SelectTestBuilder mBuilder; field in SelectTestTests
94 mBuilder = new SelectTestBuilder(); in setUp()
193 final Filter filter = mBuilder.build(); in testFilterDisabled()
199 final Filter filter = mBuilder.withSelectTest(PACKAGE_A, PACKAGE_B).build(); in testSelectPackage()
205 final Filter filter = mBuilder.withSelectTest(CLASS_A1, CLASS_A2, CLASS_B3).build(); in testSelectClass()
211 final Filter filter = mBuilder in testSelectMethod()
218 final Filter filter = mBuilder.withSelectTest(CLASS_A1, PACKAGE_B, CLASS_C5).build(); in testSelectClassAndPackage()
224 final Filter filter = mBuilder.withSelectTest(METHOD_A1K, PACKAGE_B, METHOD_C5W).build(); in testSelectMethodAndPackage()
230 final Filter filter = mBuilder.withSelectTest(METHOD_A1K, CLASS_C5, METHOD_B3P).build(); in testSelectMethodAndClass()
236 final Filter filter = mBuilder.withSelectTest( in testSelectClassAndSamePackage()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java46 private AlertDialog.Builder mBuilder; field in ZenDurationDialogTest
57 mBuilder = new AlertDialog.Builder(mContext); in setup()
64 mController.setupDialog(mBuilder); in testAlwaysPrompt()
78 mController.setupDialog(mBuilder); in testForever()
91 mController.setupDialog(mBuilder); in testSpecificDuration()
106 mController.setupDialog(mBuilder); in testChooseAlwaysPromptSetting()
120 mController.setupDialog(mBuilder); in testChooseForeverSetting()
134 mController.setupDialog(mBuilder); in testChooseTimeSetting()
149 mController.setupDialog(mBuilder); in testGetTimeFromBucket()
/frameworks/rs/rsov/compiler/spirit/
Dmodule.cpp183 mCapabilities.push_back(mBuilder->MakeCapability(cap)); in addCapability()
188 mMemoryModel.reset(mBuilder->MakeMemoryModel(am, mm)); in setMemoryModel()
193 ExtInstImportInst *extInst = mBuilder->MakeExtInstImport(extName); in addExtInstImport()
203 mDebugInfo.reset(mBuilder->MakeDebugInfoSection()); in addSource()
211 mDebugInfo.reset(mBuilder->MakeDebugInfoSection()); in addSourceExtension()
219 mDebugInfo.reset(mBuilder->MakeDebugInfoSection()); in addString()
448 mEntryPointInst = mBuilder->MakeEntryPoint(execModel, mFunction, mName); in EntryPointDefinition()
485 auto mode = mBuilder->MakeExecutionMode(mFunction, ExecutionMode::LocalSize); in setLocalSize()
523 SourceInst *source = mBuilder->MakeSource(lang, version); in addSource()
529 SourceExtensionInst *inst = mBuilder->MakeSourceExtension(ext); in addSourceExtension()
[all …]
Dentity.h34 Entity(Builder *b) : mBuilder(b) {} in Entity()
43 void setBuilder(Builder *builder) { mBuilder = builder; } in setBuilder()
46 Builder *mBuilder;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java72 private Notification.Builder mBuilder; field in NotificationContentInflaterTest
77 mBuilder = new Notification.Builder(mContext).setSmallIcon( in setUp()
83 mBuilder.build()); in setUp()
102 Notification.Builder builder = spy(mBuilder); in testIncreasedHeadsUpBeingUsed()
114 Notification.Builder builder = spy(mBuilder); in testIncreasedHeightBeingUsed()
244 mBuilder.setStyle(new Notification.MediaStyle()); in doesntReapplyDisallowedRemoteView()
245 RemoteViews mediaView = mBuilder.createContentView(); in doesntReapplyDisallowedRemoteView()
246 mBuilder.setStyle(new Notification.DecoratedCustomViewStyle()); in doesntReapplyDisallowedRemoteView()
247 mBuilder.setCustomContentView(new RemoteViews(getContext().getPackageName(), in doesntReapplyDisallowedRemoteView()
249 RemoteViews decoratedMediaView = mBuilder.createContentView(); in doesntReapplyDisallowedRemoteView()
/frameworks/rs/rsov/compiler/
DGlobalAllocSPIRITPass.cpp129 : mBuilder(), mMetadata(nullptr), in GAAccessorTransformer()
137 mMetadata = AddGAMetadata(mBuilder, module); in runAndSerialize()
161 AccessChainInst *LoadPtr = mBuilder.MakeAccessChain( in transform()
165 inst = mBuilder.MakeLoad(UInt32Ty, LoadPtr); in transform()
174 Builder mBuilder; member in android::spirit::GAAccessorTransformer
DBuiltin.cpp308 auto newInst = mBuilder.MakeInBoundsAccessChain(inst->mResultType, in transform()
349 Instruction *inst = fpTranslate(name, call, this, &mBuilder, getModule()); in transform()
359 Builder mBuilder; member in android::spirit::BuiltinTransformer
/frameworks/base/core/java/android/app/
DNotification.java6327 protected Builder mBuilder;
6346 if (mBuilder != builder) {
6347 mBuilder = builder;
6348 if (mBuilder != null) {
6349 mBuilder.setStyle(this);
6355 if (mBuilder == null) {
6361 StandardTemplateParams p = mBuilder.mParams.reset().fillTextsFrom(mBuilder);
6383 RemoteViews contentView = mBuilder.applyStandardTemplateWithActions(layoutId, p,
6474 return mBuilder.build();
6670 oldLargeIcon = mBuilder.mN.mLargeIcon;
[all …]
/frameworks/base/core/java/android/preference/
DDialogPreference.java66 private AlertDialog.Builder mBuilder; field in DialogPreference
317 mBuilder = new AlertDialog.Builder(context) in showDialog()
326 mBuilder.setView(contentView); in showDialog()
328 mBuilder.setMessage(mDialogMessage); in showDialog()
331 onPrepareDialogBuilder(mBuilder); in showDialog()
336 final Dialog dialog = mDialog = mBuilder.create(); in showDialog()
413 LayoutInflater inflater = LayoutInflater.from(mBuilder.getContext()); in onCreateDialogView()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2017 private Builder mBuilder; field in EditStyledText.StyledTextDialog
2038 mBuilder = builder; in setBuilder()
2072 if (mBuilder == null) { in checkColorAlertParams()
2089 if (mBuilder == null) { in checkSizeAlertParams()
2108 if (mBuilder == null) { in checkAlignAlertParams()
2122 if (mBuilder == null) { in checkMarqueeAlertParams()
2134 mBuilder.setTitle(title); in buildDialogue()
2135 mBuilder.setIcon(0); in buildDialogue()
2136 mBuilder.setPositiveButton(null, null); in buildDialogue()
2137 mBuilder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { in buildDialogue()
[all …]
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1683 private final SpannableStringBuilder mBuilder = new SpannableStringBuilder(); field in Cea708CCWidget.CCWindowLayout
2062 mBuilder.clear(); in clearText()
2068 mBuilder.clear(); in updateText()
2071 int length = mBuilder.length(); in updateText()
2072 mBuilder.append(text); in updateText()
2074 mBuilder.setSpan(characterStyle, length, mBuilder.length(), in updateText()
2078 String[] lines = TextUtils.split(mBuilder.toString(), "\n"); in updateText()
2084 mBuilder.delete(0, mBuilder.length() - truncatedText.length()); in updateText()
2087 int start = 0, last = mBuilder.length() - 1; in updateText()
2089 while ((start <= end) && (mBuilder.charAt(start) <= ' ')) { in updateText()
[all …]
DWebVttRenderer.java1830 private final SpannableStringBuilder mBuilder = new SpannableStringBuilder(); field in WebVttRenderingWidget.SpanLayout
1842 final SpannableStringBuilder builder = mBuilder; in update()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java1878 mBuilder.append(c); in write()
1884 if (mBuilder.length() > 0) { in flushBuilder()
1885 Log.v("GLSurfaceView", mBuilder.toString()); in flushBuilder()
1886 mBuilder.delete(0, mBuilder.length()); in flushBuilder()
1890 private StringBuilder mBuilder = new StringBuilder(); field in GLSurfaceView.LogWriter
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphReader.java47 private FilterGraph.Builder mBuilder; field in GraphReader.CommandStack
53 mBuilder = new FilterGraph.Builder(mContext); in CommandStack()
76 return mBuilder; in getBuilder()
/frameworks/ml/nn/runtime/test/
DTestPartitioningRandom.cpp444 mBuilder(model) { } in ModelStats()
446 mBuilder(reinterpret_cast<const ModelBuilder*>(model->getHandle())) { } in ModelStats()
448 const uint32_t operandCount = stats.mBuilder->operandCount(); in operator <<()
449 const uint32_t inputCount = stats.mBuilder->inputCount(); in operator <<()
450 const uint32_t outputCount = stats.mBuilder->outputCount(); in operator <<()
451 out << "operationCount = " << stats.mBuilder->operationCount() in operator <<()
460 const ModelBuilder* mBuilder; member in android::__anon65ec02170111::RandomPartitioningTest::ModelStats
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java84 private AssistStructure.ViewNodeBuilder mBuilder; field in AssistStructureTest
/frameworks/base/core/java/android/widget/
DNumberPicker.java183 final StringBuilder mBuilder = new StringBuilder(); field in NumberPicker.TwoDigitFormatter
206 mBuilder.delete(0, mBuilder.length()); in format()
216 return new java.util.Formatter(mBuilder, locale); in createFormatter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DInboundSmsHandler.java1043 Notification.Builder mBuilder = new Notification.Builder(mContext) in showNewMessageNotification() local
1055 NOTIFICATION_TAG, NOTIFICATION_ID_NEW_MESSAGE, mBuilder.build()); in showNewMessageNotification()

12