/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/ |
ProgressBarMixinTest.java | 63 ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout); local 64 mixin.setShown(true); 74 ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout); local 75 mixin.setShown(true); 76 mixin.setShown(false); 85 ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout); local 87 mixin.setShown(true); 88 assertTrue(mixin.isShown()); 90 mixin.setShown(false); 91 assertFalse(mixin.isShown()) 96 ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout); local 107 ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout); local 125 ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout); local 143 ProgressBarMixin mixin = new ProgressBarMixin(mTemplateLayout); local [all...] |
ListMixinTest.java | 81 ListMixin mixin = new ListMixin(mTemplateLayout, null, 0); local 82 assertSame(mListView, mixin.getListView()); 89 ListMixin mixin = new ListMixin(mTemplateLayout, null, 0); local 90 assertSame(mAdapter, mixin.getAdapter()); 97 ListMixin mixin = new ListMixin(mTemplateLayout, null, 0); local 98 mixin.setAdapter(mAdapter); 105 ListMixin mixin = new ListMixin(mTemplateLayout, null, 0); local 106 mixin.setDividerInset(123); 108 assertEquals(123, mixin.getDividerInset()); 123 ListMixin mixin = new ListMixin(mTemplateLayout, null, 0) local 142 ListMixin mixin = new ListMixin(mTemplateLayout, null, 0); local [all...] |
NavigationBarMixinTest.java | 63 NavigationBarMixin mixin = new NavigationBarMixin(mTemplateLayout); local 64 assertSame(mNavigationBar, mixin.getNavigationBar()); 69 NavigationBarMixin mixin = new NavigationBarMixin(mTemplateLayout); local 70 mixin.setNextButtonText(R.string.suw_more_button_label); 73 mixin.setNextButtonText("Foobar"); 82 NavigationBarMixin mixin = new NavigationBarMixin(mTemplateLayout); local 83 assertSame("lorem ipsum", mixin.getNextButtonText()); 89 NavigationBarMixin mixin = new NavigationBarMixin(mTemplateLayout); local 90 mixin.setNavigationBarListener(listener);
|
ButtonFooterMixinTest.java | 71 ButtonFooterMixin mixin = new ButtonFooterMixin(mTemplateLayout); local 72 final Button button = mixin.addButton("foobar", R.style.SuwGlifButton_Primary); 88 ButtonFooterMixin mixin = new ButtonFooterMixin(mTemplateLayout); local 89 final Button button = mixin.addButton(R.string.suw_next_button_label, 105 ButtonFooterMixin mixin = new ButtonFooterMixin(mTemplateLayout); local 106 mixin.addButton("foo", R.style.SuwGlifButton_Secondary); 107 final View space = mixin.addSpace(); 108 mixin.addButton("bar", R.style.SuwGlifButton_Primary); 118 ButtonFooterMixin mixin = new ButtonFooterMixin(mTemplateLayout); local 119 final Button fooButton = mixin.addButton("foo", R.style.SuwGlifButton_Secondary) 135 ButtonFooterMixin mixin = new ButtonFooterMixin(mTemplateLayout); local 152 ButtonFooterMixin mixin = new ButtonFooterMixin(mTemplateLayout); local [all...] |
HeaderMixinTest.java | 65 HeaderMixin mixin = new HeaderMixin(mTemplateLayout, null, 0); local 66 assertSame(mHeaderTextView, mixin.getTextView()); 71 HeaderMixin mixin = new HeaderMixin(mTemplateLayout, null, 0); local 72 mixin.setText(R.string.suw_next_button_label); 79 HeaderMixin mixin = new HeaderMixin(mTemplateLayout, null, 0); local 80 mixin.setText("Foobar"); 90 HeaderMixin mixin = new HeaderMixin(mTemplateLayout, null, 0); local 91 assertEquals("Lorem ipsum", mixin.getText());
|
TemplateLayoutMixinTest.java | 48 final TestMixin mixin = mLayout.getMixin(TestMixin.class); local 49 assertNotNull("TestMixin should not be null", mixin); 51 + "Found " + mixin.getClass() + " instead.", 52 mixin instanceof TestMixinSubclass); 54 // Mixin must be retrieved using the interface it's registered with, not the concrete class, 67 private static class TestMixin implements Mixin {}
|
IconMixinTest.java | 66 IconMixin mixin = new IconMixin(mTemplateLayout, null, 0); local 67 assertSame(mIconView, mixin.getView()); 73 IconMixin mixin = new IconMixin(mTemplateLayout, null, 0); local 74 mixin.setIcon(drawable); 84 IconMixin mixin = new IconMixin(mTemplateLayout, null, 0); local 85 assertSame(drawable, mixin.getIcon());
|
ColoredHeaderMixinTest.java | 65 ColoredHeaderMixin mixin = new ColoredHeaderMixin(mTemplateLayout, null, 0); local 66 mixin.setColor(ColorStateList.valueOf(Color.MAGENTA)); 73 ColoredHeaderMixin mixin = new ColoredHeaderMixin(mTemplateLayout, null, 0); local 76 assertEquals(ColorStateList.valueOf(Color.GREEN), mixin.getColor());
|
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/template/ |
RecyclerMixinTest.java | 76 RecyclerMixin mixin = new RecyclerMixin(mTemplateLayout, mRecyclerView); local 77 assertSame(mRecyclerView, mixin.getRecyclerView()); 84 RecyclerMixin mixin = new RecyclerMixin(mTemplateLayout, mRecyclerView); local 85 assertSame(mAdapter, mixin.getAdapter()); 92 RecyclerMixin mixin = new RecyclerMixin(mTemplateLayout, mRecyclerView); local 93 mixin.setAdapter(mAdapter); 100 RecyclerMixin mixin = new RecyclerMixin(mTemplateLayout, mRecyclerView); local 101 mixin.setDividerInset(123); 103 assertEquals(123, mixin.getDividerInset()); 105 final Drawable divider = mixin.getDivider() 118 RecyclerMixin mixin = new RecyclerMixin(mTemplateLayout, mRecyclerView); local [all...] |
/prebuilts/misc/common/swig/include/2.0.11/d/ |
doperators.swg | 131 mixin template SwigOperatorDefinitions() { 232 mixin(swigOpBinary!("+", "Add")); 233 mixin(swigOpBinary!("-", "Sub")); 234 mixin(swigOpBinary!("*", "Mul")); 235 mixin(swigOpBinary!("/", "Div")); 236 mixin(swigOpBinary!("%", "Mod")); 237 mixin(swigOpBinary!("&", "And")); 238 mixin(swigOpBinary!("|", "Or")); 239 mixin(swigOpBinary!("^", "Xor")); 240 mixin(swigOpBinary!("<<", "Shl")) [all...] |
dclassgen.swg | 79 mixin $imdmodule.SwigOperatorDefinitions; 95 mixin $imdmodule.SwigOperatorDefinitions; 118 mixin $imdmodule.SwigOperatorDefinitions; 141 mixin $imdmodule.SwigOperatorDefinitions;
|
wrapperloader.swg | 49 mixin("alias const(char)* CCPTR;"); 67 mixin("return std.conv.to!string(cstr);"); 285 mixin(bindCode("swigRegisterExceptionCallbacks$module", "SWIGRegisterExceptionCallbacks_$module")); 288 mixin(bindCode("swigRegisterStringCallback$module", "SWIGRegisterStringCallback_$module")); 308 mixin(bindCode("$function", "$symbol"));%}
|
std_vector.i | 243 mixin("element "~op~"= value;"); 293 mixin("element "~op~"= value;");
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/survey/ |
SurveyMixinTest.java | 68 SurveyMixin mixin = new SurveyMixin(mFragment, FAKE_KEY); local 69 mixin.onResume(); 87 SurveyMixin mixin = new SurveyMixin(mFragment, FAKE_KEY); local 88 mixin.onResume(); 102 SurveyMixin mixin = new SurveyMixin(mFragment, FAKE_KEY); local 103 mixin.onResume(); 120 SurveyMixin mixin = new SurveyMixin(mFragment, FAKE_KEY); local 121 mixin.onResume(); 123 mixin.onPause(); 139 SurveyMixin mixin = new SurveyMixin(mFragment, FAKE_KEY) local [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
std_vectora.i | 31 %mixin std::vector "Enumerable";
|
std_vector.i | 37 %mixin std::vector "Enumerable";
|
std_set.i | 216 %mixin std::set "Enumerable";
|
std_multimap.i | 215 %mixin std::multimap "Enumerable";
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/ |
TemplateLayoutTest.java | 102 final HeaderMixin mixin = layout.getMixin(HeaderMixin.class); local 103 assertNull("getMixin for a mixin that doesn't exist should return null", mixin);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/ |
GlifLayout.java | 196 final ColoredHeaderMixin mixin = (ColoredHeaderMixin) getMixin(HeaderMixin.class); local 197 mixin.setColor(color); 201 final ColoredHeaderMixin mixin = (ColoredHeaderMixin) getMixin(HeaderMixin.class); local 202 return mixin.getColor();
|
TemplateLayout.java | 33 import com.android.setupwizardlib.template.Mixin; 53 private Map<Class<? extends Mixin>, Mixin> mMixins = new HashMap<>(); 88 * Registers a mixin with a given class. This method should be called in the constructor. 90 * @param cls The class to register the mixin. In most cases, {@code cls} is the same as 91 * {@code mixin.getClass()}, but {@code cls} can also be a super class of that. In 92 * the latter case the the mixin must be retrieved using {@code cls} in 94 * @param mixin The mixin to be registered. 95 * @param <M> The class of the mixin to register. This is the same as {@code cls [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
SortedMapTestBase.java | 133 Map<Integer, Integer> mixin = new HashMap<Integer, Integer>(TRIES); local 135 mixin.put(rnd.nextInt(N), rnd.nextInt(N)); 137 ref.putAll(mixin); 138 map.putAll(mixin);
|
/external/v8/tools/mb/ |
mb.py | 356 # Figure out the whole list of mixins, and check that every mixin 357 # listed by a config or another mixin actually exists. 360 for mixin in mixins: 361 if not mixin in self.mixins: 362 errs.append('Unknown mixin "%s" referenced by config "%s".' % 363 (mixin, config)) 364 referenced_mixins.add(mixin) 366 for mixin in self.mixins: 367 for sub_mixin in self.mixins[mixin].get('mixins', []): 369 errs.append('Unknown mixin "%s" referenced by mixin "%s".' [all...] |
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Api.cs | 47 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Mixin), global::Google.Protobuf.WellKnownTypes.Mixin.Parser, new[]{ "Name", "Root" }, null, null, null) 176 private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Mixin> _repeated_mixins_codec 177 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.WellKnownTypes.Mixin.Parser); 178 private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> mixins_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin>(); 180 /// Included APIs. See [Mixin][]. 182 public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Mixin> Mixins { 644 /// Example of a simple mixin: 664 /// Example of a mixin configuration [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
token.rb | 297 TokenSource is a simple mixin module that demands an 340 that need to create token objects This module serves as a mixin that provides
|