/packages/apps/Contacts/src/com/android/contacts/preference/ |
SortOrderPreference.java | 19 import android.app.AlertDialog.Builder; 88 protected void onPrepareDialogBuilder(Builder builder) { 89 super.onPrepareDialogBuilder(builder); 90 builder.setNegativeButton(null, null);
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
ConfirmConnectActivity.java | 34 AlertDialog.Builder builder = new AlertDialog.Builder(this, AlertDialog.THEME_HOLO_DARK); local 41 builder.setMessage(confirmString) 61 AlertDialog alert = builder.create();
|
/packages/apps/Settings/src/com/android/settings/ |
SmsListPreference.java | 20 import android.app.AlertDialog.Builder; 79 protected void onPrepareDialogBuilder(Builder builder) { 83 builder.setAdapter(adapter, this); 84 super.onPrepareDialogBuilder(builder);
|
/packages/services/Telephony/src/com/android/phone/ |
EditPinPreference.java | 84 protected void onPrepareDialogBuilder(AlertDialog.Builder builder) { 85 super.onPrepareDialogBuilder(builder); 89 builder.setPositiveButton(null, this); 90 builder.setNegativeButton(null, this);
|
TimeConsumingPreferenceActivity.java | 81 AlertDialog.Builder builder = new AlertDialog.Builder(this); local 89 builder.setPositiveButton(R.string.close_dialog, mDismiss); 94 builder.setPositiveButton(R.string.close_dialog, mDismissAndFinish); 98 builder.setPositiveButton(R.string.close_dialog, mDismiss); 104 builder.setPositiveButton(R.string.close_dialog, mDismissAndFinish); 108 builder.setTitle(getText(titleId)); 109 builder.setMessage(getText(msgId)); 110 builder.setCancelable(false) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
AndroidNature.java | 53 * The Android nature adds the pre-builder and the APK builder if necessary. 76 * The Android nature removes the custom pre builder and APK builder. 130 // Add the natures. We need to add the Java nature first, so it adds its builder to the 132 // the android builders in relation to the java builder. 133 // Adding the java nature after the android one, would place the java builder before the 177 * itself as the first builder. 183 // get the builder list 187 // look for the builder in case it's already there [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderTest.java | 68 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); local 70 builder.initialCapacity(-1); 76 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().initialCapacity(16); local 79 builder.initialCapacity(16); 115 // that the builder didn't blow up is enough; 120 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); local 122 builder.concurrencyLevel(0); 128 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().concurrencyLevel(16); local 131 builder.concurrencyLevel(16); 151 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>() local 159 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); local 169 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumSize(16); local 178 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); local 187 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>().maximumWeight(16); local 201 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>() local 211 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>() local 222 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>() local 228 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>() local 268 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); local 283 CacheBuilder<Object, Object> builder = local 294 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); local 311 CacheBuilder<Object, Object> builder = local 331 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); local 340 CacheBuilder<Object, Object> builder = local 352 CacheBuilder<Object, Object> builder = local 364 CacheBuilder<Object, Object> builder = local 607 CacheBuilder<Object, Object> builder = new CacheBuilder<Object, Object>(); local [all...] |
/development/tools/idegen/src/com/android/idegen/ |
DirectorySearch.java | 104 ImmutableList.Builder<File> builder = ImmutableList.builder(); local 109 builder.add(child); 112 builder.addAll(dirs); 117 return builder.build(); 128 ImmutableList.Builder<File> builder = ImmutableList.builder(); local 142 builder.add(child) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
PODInterval.h | 140 StringBuilder builder; local 141 builder.append("[PODInterval ("); 142 builder.append(ValueToString<T>::string(low())); 143 builder.append(", "); 144 builder.append(ValueToString<T>::string(high())); 145 builder.append("), data="); 146 builder.append(ValueToString<UserData>::string(data())); 147 builder.append(", maxHigh="); 148 builder.append(ValueToString<T>::string(maxHigh())); 149 builder.append("]") [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
builders.js | 74 function isChromiumWebkitTipOfTreeTestRunner(builder) 76 return builder.indexOf('ASAN') == -1 && 77 !isChromiumWebkitDepsTestRunner(builder); 80 function isChromiumWebkitDepsTestRunner(builder) 82 return builder.indexOf('(deps)') != -1; 170 logPath: function(builder, buildNumber) 172 return this.basePath + '/builders/' + builder + '/builds/' + buildNumber; 184 // path used in the builder's URL) 196 for (var builder in this.builders) 197 return builder; [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
eblc_table.h | 127 class Builder : public SubTableContainerTable::Builder, 128 public RefCounted<Builder> { 132 Builder(Header* header, WritableFontData* data); 133 Builder(Header* header, ReadableFontData* data); 134 virtual ~Builder(); 150 // @return the list of loca maps with one for each size table builder 153 // Create a new builder using the header information and data provided. 156 static CALLER_ATTACH Builder* CreateBuilder(Header* header, 158 static CALLER_ATTACH Builder* CreateBuilder(Header* header [all...] |
/external/llvm/examples/HowToUseJIT/ |
HowToUseJIT.cpp | 73 // Create a basic block builder with default parameters. The builder will 75 IRBuilder<> builder(BB); 78 Value *One = builder.getInt32(1); 86 Value *Add = builder.CreateAdd(One, ArgX); 89 builder.CreateRet(Add); 103 // Tell the basic block builder to attach itself to the new basic block 104 builder.SetInsertPoint(BB); 107 Value *Ten = builder.getInt32(10); 110 CallInst *Add1CallRes = builder.CreateCall(Add1F, Ten) [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
eblc_table.h | 127 class Builder : public SubTableContainerTable::Builder, 128 public RefCounted<Builder> { 132 Builder(Header* header, WritableFontData* data); 133 Builder(Header* header, ReadableFontData* data); 134 virtual ~Builder(); 150 // @return the list of loca maps with one for each size table builder 153 // Create a new builder using the header information and data provided. 156 static CALLER_ATTACH Builder* CreateBuilder(Header* header, 158 static CALLER_ATTACH Builder* CreateBuilder(Header* header [all...] |
/external/smack/src/org/jivesoftware/smackx/pubsub/ |
PayloadItem.java | 112 StringBuilder builder = new StringBuilder("<item");
local 116 builder.append(" id='");
117 builder.append(getId());
118 builder.append("'");
122 builder.append(" node='");
123 builder.append(getNode());
124 builder.append("'");
126 builder.append(">");
127 builder.append(payload.toXML());
128 builder.append("</item>"); [all...] |
/frameworks/base/core/java/android/net/ |
NetworkPolicy.java | 170 final StringBuilder builder = new StringBuilder("NetworkPolicy"); local 171 builder.append("[").append(template).append("]:"); 172 builder.append(" cycleDay=").append(cycleDay); 173 builder.append(", cycleTimezone=").append(cycleTimezone); 174 builder.append(", warningBytes=").append(warningBytes); 175 builder.append(", limitBytes=").append(limitBytes); 176 builder.append(", lastWarningSnooze=").append(lastWarningSnooze); 177 builder.append(", lastLimitSnooze=").append(lastLimitSnooze); 178 builder.append(", metered=").append(metered); 179 builder.append(", inferred=").append(inferred) [all...] |
/frameworks/base/core/java/android/webkit/ |
JsDialogHelper.java | 108 AlertDialog.Builder builder = new AlertDialog.Builder(context); local 109 builder.setTitle(title); 110 builder.setOnCancelListener(new CancelListener()); 112 builder.setMessage(displayMessage); 113 builder.setPositiveButton(positiveTextId, new PositiveListener(null)); 119 builder.setPositiveButton(positiveTextId, new PositiveListener(edit)); 121 builder.setView(view); 124 builder.setNegativeButton(negativeTextId, new CancelListener()) [all...] |
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphRS.java | 25 import android.renderscript.Element.Builder; 94 ProgramStore.Builder b = new ProgramStore.Builder(mRS); 105 Sampler.Builder bs = new Sampler.Builder(mRS); 112 ProgramFragmentFixedFunction.Builder b = new ProgramFragmentFixedFunction.Builder(mRS); 113 b.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, 114 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0); 122 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS) [all...] |
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/ |
FragmentShader.java | 26 import android.renderscript.ProgramFragment.Builder; 36 public static class Builder { 39 ProgramFragment.Builder mBuilder; 41 public Builder(RenderScriptGL rs) { 43 mBuilder = new ProgramFragment.Builder(rs); 46 public Builder setShader(Resources resources, int resourceID) { 51 public Builder setShader(String code) { 56 public Builder setObjectConst(Type type) { 61 public Builder setShaderConst(Type type) { 66 public Builder addShaderTexture(Program.TextureType texType, String name) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
UserData.java | 152 StringBuilder builder = new StringBuilder(); local 153 builder.append("UserData "); 154 builder.append("{ msgEncoding=" + (msgEncodingSet ? msgEncoding : "unset")); 155 builder.append(", msgType=" + msgType); 156 builder.append(", paddingBits=" + paddingBits); 157 builder.append(", numFields=" + numFields); 158 builder.append(", userDataHeader=" + userDataHeader); 159 builder.append(", payload='" + HexDump.toHexString(payload) + "'"); 160 builder.append(", payloadStr='" + payloadStr + "'"); 161 builder.append(" }") [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaSessionStatus.java | 42 * This object is immutable once created using a {@link Builder} instance. 173 * Builder for {@link MediaSessionStatus media session status objects}. 175 public static final class Builder { 179 * Creates a media session status builder using the current time as the 184 public Builder(int sessionState) { 191 * Creates a media session status builder whose initial contents are 194 public Builder(MediaSessionStatus status) { 206 public Builder setTimestamp(long elapsedRealtimeTimestamp) { 214 public Builder setSessionState(int sessionState) { 222 public Builder setQueuePaused(boolean queuePaused) [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Exec.java | 42 * Returns a builder configured with the appropriate VM ("dalvikvm" or 48 ProcessBuilder builder = new ProcessBuilder(); local 51 builder.command().add(againstDalvik ? "dalvikvm" : "java"); 56 builder.command().addAll(Arrays.asList(testVMArgs.split("\\s+"))); 59 return builder; 83 public static String execAndGetOutput(ProcessBuilder builder) throws IOException { 84 Process process = builder.start(); 106 "Failed to execute " + builder.command() + "; output was:\n" + out); 118 * Starts the process described by 'builder', and asserts that it sees 122 public static void execAndCheckOutput(ProcessBuilder builder, [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
ExportOptionsDialog.java | 59 AlertDialog.Builder builder = new AlertDialog.Builder(context); local 62 builder.setIcon(android.R.drawable.ic_dialog_info); 63 builder.setTitle(context.getString(R.string.editor_export_movie)); 69 builder.setView(myView); 75 builder.setPositiveButton(context.getString(R.string.export_dialog_export), 92 builder.setNegativeButton(context.getString(android.R.string.cancel), negativeListener); 94 builder.setCancelable(true); 95 builder.setOnCancelListener(cancelListener) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DomUtilitiesTest.java | 38 DocumentBuilder builder = factory.newDocumentBuilder(); local 39 Document document1 = builder.newDocument(); 40 Document document2 = builder.newDocument(); 91 DocumentBuilder builder = factory.newDocumentBuilder(); local 92 Document document = builder.newDocument(); 120 DocumentBuilder builder = factory.newDocumentBuilder(); local 121 Document document = builder.newDocument(); 159 DocumentBuilder builder = factory.newDocumentBuilder(); local 160 Document document = builder.newDocument(); 193 DocumentBuilder builder = factory.newDocumentBuilder() local [all...] |
/external/chromium_org/chrome/test/base/ |
testing_profile_manager.cc | 60 TestingProfile::Builder builder; local 61 builder.SetPath(profile_path); 62 builder.SetPrefService(prefs.Pass()); 63 builder.SetManagedUserId(managed_user_id); 67 builder.AddTestingFactory(it->first, it->second); 70 TestingProfile* profile = builder.Build().release();
|
/external/chromium_org/chrome_frame/tools/ |
smoke_test.py | 62 def BuildProjectConfig(builder, config, project): 66 builder: a Visual Studio SolutionBuild object. 69 to the builder's solution directory. 73 builder.BuildProject(config, project, True) 74 errors = builder.LastBuildInfo 86 builder = solution.SolutionBuild 89 BuildProjectConfig(builder, 'Debug', project)
|