/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
NotificationPresets.java | 37 * Collection of notification builder presets. 70 private static NotificationCompat.Builder applyBasicOptions(Context context, 71 NotificationCompat.Builder builder, NotificationCompat.WearableExtender wearableOptions, 73 builder.setContentTitle(options.titlePreset) 78 options.actionsPreset.apply(context, builder, wearableOptions); 79 options.priorityPreset.apply(builder, wearableOptions); 81 builder.setLargeIcon(BitmapFactory.decodeResource( 85 builder.setLocalOnly(true); 88 builder.setContentIntent(NotificationUtil.getExamplePendingIntent(context 105 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 158 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 190 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 215 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 238 NotificationCompat.Builder builder = new NotificationCompat.Builder(context) local 256 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 282 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 322 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local 378 NotificationCompat.Builder builder = new NotificationCompat.Builder(context); local [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
ScriptGraph.java | 43 * {@link Builder#configureInput}, then configure one or more scripts with 44 * {@link Builder#configureScript} or {@link Builder#chainScript}. Finally, freeze the graph 45 * with {@link Builder#buildGraph}.</p> 79 * Create a new {@link Builder} that will be used to configure the graph's inputs 84 * @return a {@link Builder} that will be used to configure the graph settings 86 public static Builder create() { 87 return new Builder(); 97 * {@link Builder#configureInputWithSurface configureInputWithSurface} 121 * {@link Builder#configureInputWithSurface configureInputWithSurface [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMapTest.java | 21 import com.google.common.collect.ImmutableMap.Builder; 140 = new Builder<String, Integer>().build(); 145 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 152 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 164 ImmutableMap<String, Integer> map = new Builder<String, Integer>() 171 Builder<String, Integer> builder = new Builder<String, Integer>(); local 173 builder.put(Maps.immutableEntry("one", (Integer) null)); 178 builder.put(Maps.immutableEntry((String) null, 1)) 189 ImmutableMap.Builder<String, Integer> builder = local 232 Builder<String, Integer> builder = new Builder<String, Integer>(); local 247 Builder<String, Integer> builder = new Builder<String, Integer>(); local 257 Builder<String, Integer> builder = new Builder<String, Integer>(); local 288 Builder<String, Integer> builder = new Builder<String, Integer>(); local 298 Builder<String, Integer> builder = new Builder<String, Integer>(); local 307 Builder<String, Integer> builder = new Builder<String, Integer>(); local 316 Builder<String, Integer> builder = new Builder<String, Integer>(); local 325 Builder<String, Integer> builder = new Builder<String, Integer>(); local 334 Builder<String, Integer> builder = new Builder<String, Integer>() local [all...] |
ImmutableTableTest.java | 31 ImmutableTable.Builder<String, Integer, Character> builder = local 32 ImmutableTable.builder(); 34 builder.put((String) data[i], (Integer) data[i + 1], 37 return builder.build(); 41 ImmutableTable.Builder<Character, Integer, String> builder = local 42 new ImmutableTable.Builder<Character, Integer, String>(); 43 assertEquals(ImmutableTable.of(), builder.build()); 44 assertEquals(ImmutableTable.of('a', 1, "foo"), builder 60 ImmutableTable.Builder<Character, Integer, String> builder = local 68 ImmutableTable.Builder<Character, Integer, String> builder = local 95 ImmutableTable.Builder<Character, Integer, String> builder = local 124 ImmutableTable.Builder<Character, Integer, String> builder = local 137 ImmutableTable.Builder<Character, Integer, String> builder = local 224 ImmutableTable.Builder<Character, Integer, String> builder local 237 ImmutableTable.Builder<Character, Integer, String> builder local 260 ImmutableTable.Builder<Character, Integer, String> builder local 282 ImmutableTable.Builder<Character, Integer, String> builder local 300 ImmutableTable.Builder<Character, Integer, String> builder local 317 ImmutableTable.Builder<Character, Integer, String> builder local 335 ImmutableTable.Builder<Character, Integer, String> builder local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
Host.java | 51 private Host(Builder builder) { 52 this.properties = Maps.newTreeMap(builder.properties); 54 initHash(builder.hashFunction); 101 public static final class Builder { 105 public Builder addProperty(String key, String value) { 110 public Builder addAllProperies(Map<String, String> properties) { 119 @VisibleForTesting public Builder hashFunctionForTesting(HashFunction hashFunction) {
|
Measurement.java | 59 private Measurement(Builder builder) { 60 this.value = builder.value; 61 this.description = builder.description; 62 this.weight = builder.weight; 102 public static final class Builder { 107 public Builder value(Value value) { 112 public Builder weight(double weight) { 118 public Builder description(String description) {
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedMultiset.java | 239 return new Builder<E>(comparator).addAll(elements).build(); 295 ImmutableList.Builder<E> elementsBuilder = new ImmutableList.Builder<E>(entries.size()); 382 * Returns a builder that creates immutable sorted multisets with an explicit comparator. If the 384 * SortedMultiset<Integer>} with a {@code Comparator<Number>}, use the {@link Builder} 389 public static <E> Builder<E> orderedBy(Comparator<E> comparator) { 390 return new Builder<E>(comparator); 394 * Returns a builder that creates immutable sorted multisets whose elements are ordered by the 401 public static <E extends Comparable<E>> Builder<E> reverseOrder() { 402 return new Builder<E>(Ordering.natural().reverse()) 563 Builder<E> builder = new Builder<E>(comparator); local [all...] |
ImmutableRangeMap.java | 71 ImmutableList.Builder<Range<K>> rangesBuilder = new ImmutableList.Builder<Range<K>>(map.size()); 72 ImmutableList.Builder<V> valuesBuilder = new ImmutableList.Builder<V>(map.size()); 81 * Returns a new builder for an immutable range map. 83 public static <K extends Comparable<?>, V> Builder<K, V> builder() { method in class:ImmutableRangeMap 84 return new Builder<K, V>(); 88 * A builder for immutable range maps. Overlapping ranges are prohibited. 90 public static final class Builder<K extends Comparable<?>, V> [all...] |
/external/nanopb-c/tests/site_scons/ |
site_init.py | 13 '''Add the necessary builder commands for nanopb tests.''' 42 run_test_builder = Builder(action = run_test, 53 decode_builder = Builder(generator = decode_actions, 64 encode_builder = Builder(generator = encode_actions, 79 compare_builder = Builder(action = compare_files, 95 match_builder = Builder(action = match_files, suffix = '.matched')
|
/external/opencv3/modules/java/generator/src/java/ |
android+BaseLoaderCallback.java | 32 AlertDialog MarketErrorMessage = new AlertDialog.Builder(mAppContext).create(); 53 AlertDialog IncomatibilityMessage = new AlertDialog.Builder(mAppContext).create(); 68 AlertDialog InitFailedDialog = new AlertDialog.Builder(mAppContext).create(); 90 AlertDialog InstallMessage = new AlertDialog.Builder(mAppContext).create(); 114 AlertDialog WaitMessage = new AlertDialog.Builder(mAppContext).create();
|
/external/sfntly/cpp/src/test/ |
cmap_editing_test.cc | 42 Ptr<CMapTable::Builder> cmap_table_builder = 43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); 44 ASSERT_NE(cmap_table_builder, reinterpret_cast<CMapTable::Builder*>(NULL)); 79 Ptr<CMapTable::Builder> cmap_table_builder = 80 (CMapTable::Builder*)font_builder->NewTableBuilder(Tag::cmap);
|
/frameworks/base/telecomm/java/android/telecom/ |
CallScreeningService.java | 143 public static class Builder { 152 public Builder setDisallowCall(boolean shouldDisallowCall) { 161 public Builder setRejectCall(boolean shouldRejectCall) { 170 public Builder setSkipCallLog(boolean shouldSkipCallLog) { 179 public Builder setSkipNotification(boolean shouldSkipNotification) {
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
ProgramTest.java | 40 Program program = new Program.Builder().build(); 45 Program program = new Program.Builder() 56 Program program = new Program.Builder() 67 Program program = new Program.Builder() 78 Program program = new Program.Builder()
|
/external/clang/lib/ASTMatchers/ |
ASTMatchFinder.cpp | 89 BoundNodesTreeBuilder *Builder, 95 Builder(Builder), 134 *Builder = ResultBindings; 250 BoundNodesTreeBuilder RecursiveBuilder(*Builder); 258 BoundNodesTreeBuilder RecursiveBuilder(*Builder); 282 BoundNodesTreeBuilder *const Builder; 378 BoundNodesTreeBuilder *Builder, int MaxDepth, 381 if (!Node.getMemoizationData() || !Builder->isComparable()) 382 return matchesRecursively(Node, Matcher, Builder, MaxDepth, Traversal [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
CacheControl.java | 20 public static final CacheControl FORCE_NETWORK = new Builder().noCache().build(); 28 public static final CacheControl FORCE_CACHE = new Builder() 64 private CacheControl(Builder builder) { 65 this.noCache = builder.noCache; 66 this.noStore = builder.noStore; 67 this.maxAgeSeconds = builder.maxAgeSeconds; 72 this.maxStaleSeconds = builder.maxStaleSeconds; 73 this.minFreshSeconds = builder.minFreshSeconds; 74 this.onlyIfCached = builder.onlyIfCached [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
AudioMixingRule.java | 34 * AudioAttributes mediaAttr = new AudioAttributes.Builder() 37 * AudioMixingRule mediaRule = new AudioMixingRule.Builder() 52 * This mixing rule can be added with {@link Builder#addRule(AudioAttributes, int)} or 53 * {@link Builder#addMixRule(int, Object)} where the Object parameter is an instance of 60 * This mixing rule can be added with {@link Builder#addRule(AudioAttributes, int)} or 61 * {@link Builder#addMixRule(int, Object)} where the Object parameter is an instance of 68 * This mixing rule can be added with {@link Builder#addMixRule(int, Object)} where the Object 204 * Builder class for {@link AudioMixingRule} objects 207 public static class Builder { 212 * Constructs a new Builder with no rules [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
GeneratedMessage.java | 53 * implements most of the Message and Builder interfaces using Java reflection. 73 protected GeneratedMessage(Builder<?> builder) { 202 UnknownFieldSet.Builder unknownFields, 216 protected abstract Message.Builder newBuilderForType(BuilderParent parent); 219 * Interface for the parent of a Builder that allows the builder to 226 * A builder becomes dirty whenever a field is modified -- including fields 228 * when a builder becomes dirty, all its parents become dirty as well, and 232 * To this end, a builder calls markAsDirty() on its parent whenever i [all...] |
/external/guava/guava/src/com/google/common/escape/ |
Escapers.java | 63 * Returns a builder for creating simple, fast escapers. A builder instance 65 * current builder state. Builders are not thread safe. 67 * <p>The initial state of the builder is such that: 74 * <p>For performance reasons escapers created by this builder are not 77 public static Builder builder() { method in class:Escapers 78 return new Builder(); 82 * A builder for simple, fast escapers. 87 * provide the desired behavior. However this builder is suitable for creatin [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableBiMap.java | 64 public static <K, V> Builder<K, V> builder() { method in class:ImmutableBiMap 65 return new Builder<K, V>(); 68 public static final class Builder<K, V> extends ImmutableMap.Builder<K, V> { 70 public Builder() {} 72 @Override public Builder<K, V> put(K key, V value) { 77 @Override public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
|
/frameworks/base/media/java/android/media/tv/ |
TvInputHardwareInfo.java | 140 public static final class Builder { 147 public Builder() { 150 public Builder deviceId(int deviceId) { 155 public Builder type(int type) { 160 public Builder audioType(int audioType) { 165 public Builder audioAddress(String audioAddress) { 170 public Builder hdmiPortId(int hdmiPortId) {
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
TouchAnimatorTests.java | 38 TouchAnimator animator = new TouchAnimator.Builder() 53 TouchAnimator animator = new TouchAnimator.Builder() 68 TouchAnimator animator = new TouchAnimator.Builder() 87 TouchAnimator animator = new TouchAnimator.Builder() 106 TouchAnimator animator = new TouchAnimator.Builder() 130 TouchAnimator animator = new TouchAnimator.Builder() 154 TouchAnimator animator = new TouchAnimator.Builder()
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/model/ |
WifiInfoTest.java | 44 WifiInfo wifiInfo = WifiInfo.Builder.builder() 69 WifiInfo wifiInfo = WifiInfo.Builder.builder() 87 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() 97 WifiInfo wifiInfo2 = WifiInfo.Builder.builder() 115 WifiInfo wifiInfo1 = WifiInfo.Builder.builder() [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
NotificationCompat.java | 53 * {@link Builder#setSound} 60 * @see Builder#setDefaults 66 * {@link Builder#setVibrate}. Using phone vibration requires the 74 * @see Builder#setDefaults 80 * {@link #FLAG_SHOW_LIGHTS} bit, and values set with {@link Builder#setLights}. 82 * @see Builder#setDefaults 142 * @deprecated Use {@link NotificationCompat.Builder#setPriority(int)} with a positive value. 157 * {@link Builder#setGroup}. 162 * Default notification priority for {@link NotificationCompat.Builder#setPriority(int)}. 169 * Lower notification priority for {@link NotificationCompat.Builder#setPriority(int)} 632 NotificationCompatIceCreamSandwich.Builder builder = local 648 NotificationCompatJellybean.Builder builder = new NotificationCompatJellybean.Builder( local 716 NotificationCompatKitKat.Builder builder = new NotificationCompatKitKat.Builder( local 768 NotificationCompatApi20.Builder builder = new NotificationCompatApi20.Builder( local 826 NotificationCompatApi21.Builder builder = new NotificationCompatApi21.Builder( local 866 NotificationCompatApi24.Builder builder = new NotificationCompatApi24.Builder( local [all...] |
/frameworks/support/tests/java/android/support/v4/app/ |
NotificationCompatWearableExtenderTest.java | 57 Notification notif = new NotificationCompat.Builder(getContext()) 69 Notification notif = new Notification.Builder(getContext()) 79 RemoteInput.Builder remoteInput = new RemoteInput.Builder("result_key1") 83 NotificationCompat.Action.Builder action2 = new NotificationCompat.Action.Builder( 94 Notification page2 = new Notification.Builder(getContext()) 118 Notification notif = new NotificationCompat.Builder(getContext()) 126 android.app.RemoteInput.Builder remoteInput = new android.app.RemoteInput.Builder( [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ProgramInfo.java | 105 Builder builder = new Builder(); local 108 builder.setTitle(c.getString(index)); 112 builder.setDescription(c.getString(index)); 116 builder.setEpisode(c.getString(index)); 118 return builder.build(); 140 return new Builder().build(); 242 public static class Builder { 254 public Builder setTitle(String title) [all...] |