HomeSort by relevance Sort by last modified time
    Searched refs:binding (Results 1 - 25 of 736) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/data-binding/extensions/library/src/main/java/android/databinding/
OnRebindCallback.java 37 * @param binding The ViewDataBinding that is reevaluating its bound values.
41 public boolean onPreBind(T binding) {
51 * @param binding The ViewDataBinding that is reevaluating its bound values.
53 public void onCanceled(T binding) {
63 * @param binding The ViewDataBinding that is reevaluating its bound values.
65 public void onBound(T binding) {
  /external/guice/extensions/jmx/src/com/google/inject/tools/jmx/
ManagedBinding.java 19 import com.google.inject.Binding;
23 final Binding binding; field in class:ManagedBinding
25 ManagedBinding(Binding binding) {
26 this.binding = binding;
30 return binding.getSource().toString();
34 return binding.getKey().toString();
38 return binding.getProvider().toString()
    [all...]
  /external/guice/core/src/com/google/inject/spi/
BindingTargetVisitor.java 29 * Visit a instance binding. The same instance is returned for every injection. This target is
32 V visit(InstanceBinding<? extends T> binding);
35 * Visit a provider instance binding. The provider's {@code get} method is invoked to resolve
38 V visit(ProviderInstanceBinding<? extends T> binding);
41 * Visit a provider key binding. To resolve injections, the provider key is first resolved, then
45 V visit(ProviderKeyBinding<? extends T> binding);
48 * Visit a linked key binding. The other key's binding is used to resolve injections. This
51 V visit(LinkedKeyBinding<? extends T> binding);
54 * Visit a binding to a key exposed from an enclosed private environment. This target is onl
    [all...]
DefaultElementVisitor.java 19 import com.google.inject.Binding;
44 public <T> V visit(Binding<T> binding) {
45 return visitOther(binding);
82 public V visit(TypeListenerBinding binding) {
83 return visitOther(binding);
86 public V visit(ProvisionListenerBinding binding) {
87 return visitOther(binding);
106 public V visit(ModuleAnnotatedMethodScannerBinding binding) {
107 return visitOther(binding);
    [all...]
  /external/elfutils/libebl/
eblsymbolbindingname.c 1 /* Return symbol binding name.
39 ebl_symbol_binding_name (Ebl *ebl, int binding, char *buf, size_t len)
43 res = ebl != NULL ? ebl->symbol_type_name (binding, buf, len) : NULL;
51 /* Standard binding? */
52 if (binding < STB_NUM)
53 res = stb_names[binding];
58 if (binding >= STB_LOPROC && binding <= STB_HIPROC)
59 snprintf (buf, len, "LOPROC+%d", binding - STB_LOPROC);
60 else if (binding == STB_GNU_UNIQU
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
BindingTest.java 22 import com.android.messaging.datamodel.binding.BindableData;
23 import com.android.messaging.datamodel.binding.Binding;
24 import com.android.messaging.datamodel.binding.BindingBase;
25 import com.android.messaging.datamodel.binding.ImmutableBindingRef;
28 * Test binding
36 final Binding<TestBindableData> binding = BindingBase.createBinding(this); local
37 assertNull(binding.getBindingId());
46 final Binding<TestBindableData> binding = BindingBase.createBinding(this) local
58 final Binding<TestBindableData> binding = BindingBase.createBinding(this); local
75 final Binding<TestBindableData> binding = BindingBase.createBinding(this); local
92 final Binding<TestBindableData> binding = BindingBase.createBinding(this); local
111 final Binding<TestBindableData> binding = BindingBase.createBinding(this); local
    [all...]
  /external/guice/core/src/com/google/inject/internal/
ListenerBindingProcessor.java 33 @Override public Boolean visit(TypeListenerBinding binding) {
34 injector.state.addTypeListener(binding);
38 @Override public Boolean visit(ProvisionListenerBinding binding) {
39 injector.state.addProvisionListener(binding);
AbstractBindingBuilder.java 39 = "Setting the scope is not permitted when binding to a single instance.";
41 public static final String BINDING_TO_NULL = "Binding to null instances is not allowed. "
45 = "More than one annotation is specified for this binding.";
52 private BindingImpl<T> binding; field in class:AbstractBindingBuilder
58 this.binding = new UntargettedBindingImpl<T>(source, key, Scoping.UNSCOPED);
59 elements.add(position, this.binding);
63 return binding;
66 protected BindingImpl<T> setBinding(BindingImpl<T> binding) {
67 this.binding = binding;
    [all...]
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DuplicateContextTest.java 31 DuplicateContextBinding binding = initBinder(); local
32 binding.setContext("Hello World");
33 binding.executePendingBindings();
34 assertEquals("Hello World", binding.textView1.getText().toString());
AutoContextTest.java 31 AutoContextBinding binding = initBinder(); local
32 binding.executePendingBindings();
33 assertNotSame("", binding.textView1.getText().toString());
DefaultBindingTest.java 26 UseDefaultBinding binding = UseDefaultBinding.inflate(getActivity().getLayoutInflater()); local
27 assertEquals("Hello World", binding.textView1.getText().toString());
28 assertEquals("Hello World", binding.textView2.getText().toString());
29 assertEquals("TestApp", binding.textView3.getText().toString());
30 assertEquals("Hello ` \"World\"", binding.textView4.getText().toString());
31 assertEquals("Hello World", binding.textView5.getText().toString());
33 binding.textView6.getText().toString());
DataBindingUtilTest.java 36 BasicBindingBinding binding = BasicBindingBinding.inflate(getActivity().getLayoutInflater()); local
37 assertEquals(binding, DataBindingUtil.findBinding(binding.textView));
38 assertEquals(binding, DataBindingUtil.findBinding(binding.getRoot()));
39 ViewGroup root = (ViewGroup) binding.getRoot();
50 BasicBindingBinding binding = BasicBindingBinding.inflate(getActivity().getLayoutInflater()); local
51 assertNull(DataBindingUtil.getBinding(binding.textView));
52 assertEquals(binding, DataBindingUtil.getBinding(binding.getRoot()))
57 CenteredContentBinding binding = DataBindingUtil.setContentView(getActivity(), local
71 BasicBindingBinding binding = DataBindingUtil.bind(view); local
80 BasicBindingBinding binding = DataBindingUtil.inflate(getActivity().getLayoutInflater(), local
    [all...]
  /external/guice/extensions/grapher/src/com/google/inject/grapher/
DefaultEdgeCreator.java 21 import com.google.inject.Binding;
42 @Override public Iterable<Edge> getEdges(Iterable<Binding<?>> bindings) {
45 for (Binding<?> binding : bindings) {
46 edges.addAll(binding.acceptTargetVisitor(visitor));
52 * {@link BindingTargetVisitor} that adds edges to the graph based on the visited {@link Binding}.
58 * Returns a dependency edge for each {@link Dependency} in the binding. These will be from the
63 * @param binding {@link Binding} for the dependencies
65 private <T extends Binding<?> & HasDependencies> Collection<Edge> newDependencyEdges
    [all...]
DefaultNodeCreator.java 21 import com.google.inject.Binding;
40 @Override public Iterable<Node> getNodes(Iterable<Binding<?>> bindings) {
43 for (Binding<?> binding : bindings) {
44 nodes.addAll(binding.acceptTargetVisitor(visitor));
50 * {@link BindingTargetVisitor} that adds nodes to the graph based on the visited {@link Binding}.
55 /** Returns a new interface node for the given {@link Binding}. */
56 private InterfaceNode newInterfaceNode(Binding<?> binding) {
57 return new InterfaceNode(NodeId.newTypeId(binding.getKey()), binding.getSource())
    [all...]
ProviderAliasCreator.java 20 import com.google.inject.Binding;
25 * Alias creator that creates an alias for each {@link ProviderBinding}. These {@link Binding}s
27 * very interesting information, we don't render this binding on the graph, and just alias the two
33 @Override public Iterable<Alias> createAliases(Iterable<Binding<?>> bindings) {
35 for (Binding<?> binding : bindings) {
36 if (binding instanceof ProviderBinding) {
37 aliases.add(new Alias(NodeId.newTypeId(binding.getKey()),
38 NodeId.newTypeId(((ProviderBinding<?>) binding).getProvidedKey())));
TransitiveDependencyVisitor.java 21 import com.google.inject.Binding;
39 * {@link Collection} of the {@link Key}s of each {@link Binding}'s
41 * from a starting set of {@link Binding}s.
58 @Override public Collection<Key<?>> visit(ConstructorBinding<?> binding) {
59 return visitHasDependencies(binding);
62 @Override public Collection<Key<?>> visit(ConvertedConstantBinding<?> binding) {
63 return visitHasDependencies(binding);
66 @Override public Collection<Key<?>> visit(InstanceBinding<?> binding) {
67 return visitHasDependencies(binding);
70 @Override public Collection<Key<?>> visit(LinkedKeyBinding<?> binding) {
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
InjectBindingRegistry.java 65 final class BindingsCollection<B extends Binding> {
71 for (B binding = bindingsRequiringGeneration.poll();
72 binding != null;
73 binding = bindingsRequiringGeneration.poll()) {
74 checkState(!binding.hasNonDefaultTypeParameters());
75 generator.generate(binding);
76 materializedBindingKeys.add(binding.key());
83 /** Returns a previously cached binding. */
88 /** Caches the binding and generates it if it needs generation. */
89 void tryRegisterBinding(B binding, ClassName factoryName, boolean explicit)
203 ProvisionBinding binding = provisionBindings.getBinding(key); local
236 MembersInjectionBinding binding = membersInjectionBindings.getBinding(key); local
    [all...]
ContributionBindingFormatter.java 36 @Override public String format(ContributionBinding binding) {
37 switch (binding.bindingKind()) {
40 return methodSignatureFormatter.format(asExecutable(binding.bindingElement()));
47 asExecutable(binding.bindingElement()),
48 Optional.of(asDeclared(binding.contributedBy().get().asType())));
52 "Not yet supporting " + binding.bindingKind() + " binding types.");
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Indexer.java 20 import com.google.inject.Binding;
40 * Visits bindings to return a {@code IndexedBinding} that can be used to emulate the binding
65 IndexedBinding(Binding<?> binding, BindingType type, Object scope, Object extraEquality) {
69 this.typeLiteral = binding.getKey().getTypeLiteral();
70 Element annotation = (Element) binding.getKey().getAnnotation();
100 boolean isIndexable(Binding<?> binding) {
101 return binding.getKey().getAnnotation() instanceof Element;
104 private Object scope(Binding<?> binding)
    [all...]
  /external/guice/core/src/com/google/inject/
Scopes.java 45 * binding arrives it will need to obtain the instance over again.
49 * this to "no scope" in your binding.
83 * Returns true if {@code binding} is singleton-scoped. If the binding is a {@link
84 * com.google.inject.spi.LinkedKeyBinding linked key binding} and belongs to an injector (ie. it
86 * also true if the target binding is singleton-scoped.
90 public static boolean isSingleton(Binding<?> binding) {
92 boolean singleton = binding.acceptScopingVisitor(IS_SINGLETON_VISITOR);
97 if (binding instanceof LinkedBindingImpl)
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
ServletModuleTargetVisitor.java 36 * Visits a filter binding created by {@link ServletModule#filter}, where
41 V visit(LinkedFilterBinding binding);
44 * Visits a filter binding created by {@link ServletModule#filter} where
49 V visit(InstanceFilterBinding binding);
52 * Visits a servlet binding created by {@link ServletModule#serve} where
57 V visit(LinkedServletBinding binding);
60 * Visits a servlet binding created by {@link ServletModule#serve} where
65 V visit(InstanceServletBinding binding);
  /frameworks/data-binding/integration-tests/IndependentLibrary/app/src/main/java/android/databinding/test/independentlibrary/
LibraryActivity.java 29 IndependentLibraryBinding binding = IndependentLibraryBinding.inflate(getLayoutInflater()); local
30 setContentView(binding.getRoot());
33 binding.setFoo(object);
34 binding.executePendingBindings();
  /external/guice/core/test/com/google/inject/spi/
InjectorSpiTest.java 4 import com.google.inject.Binding;
29 // Sanity check -- ensure we return the proper binding for all existing bindings.
30 for(Map.Entry<Key<?>, Binding<?>> entry : injector.getAllBindings().entrySet()) {
35 Binding<?> binding; local
38 binding = injector.getExistingBinding(Key.get(Foo.class));
39 assertNotNull(binding);
40 assertEquals(Foo.class, binding.getKey().getTypeLiteral().getRawType());
45 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Foo>>() {}));
46 assertNotNull(binding);
    [all...]
SpiBindingsTest.java 26 import com.google.inject.Binding;
64 @Override public <T> Void visit(Binding<T> binding) {
65 assertTrue(binding instanceof InstanceBinding);
66 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey());
82 @Override public <T> Void visit(Binding<T> binding) {
83 assertTrue(binding instanceof InstanceBinding);
84 checkBindingSource(binding);
85 assertEquals(Key.get(String.class), binding.getKey())
251 Binding<Integer> binding = injector.getBinding(Key.get(Integer.class, Names.named("one"))); local
273 Binding<Provider<String>> binding = injector.getBinding(providerOfStringKey); local
397 Binding<String> binding = injector.getBinding(String.class); local
438 Binding<?> binding = bindings.get(i); local
    [all...]
  /external/v8/test/cctest/
test-experimental-extra.js 5 (function (global, binding) {
7 binding.testExperimentalExtraShouldReturnTen = function () {
11 binding.testExperimentalExtraShouldCallToRuntime = function() {
12 return binding.runtime(3);

Completed in 2449 milliseconds

1 2 3 4 5 6 7 8 91011>>