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

1 2 3 4 5 6 7 8 9

  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
ExpressionTest.java 35 mBinder.setVar1(0);
36 mBinder.setVar2(0);
37 mBinder.executePendingBindings();
38 assertEquals("hello", mBinder.textView0.getText().toString());
39 mBinder.setVar2(1);
40 mBinder.executePendingBindings();
41 assertEquals("hello", mBinder.textView0.getText().toString());
42 mBinder.setVar1(1);
43 mBinder.setVar2(0);
44 mBinder.executePendingBindings()
    [all...]
BracketTest.java 51 mBinder.setArray(mArray);
52 mBinder.setSparseArray(mSparseArray);
53 mBinder.setSparseIntArray(mSparseIntArray);
54 mBinder.setSparseBooleanArray(mSparseBooleanArray);
55 mBinder.setSparseLongArray(mSparseLongArray);
56 mBinder.setLongSparseArray(mLongSparseArray);
57 mBinder.setIndexObj((Integer) 0);
59 mBinder.executePendingBindings();
66 assertEquals("Hello World", mBinder.arrayText.getText().toString());
67 assertEquals("Hello", mBinder.sparseArrayText.getText().toString())
    [all...]
CustomNamespaceAdapterTest.java 14 mBinder.setStr1("a");
15 mBinder.setStr2("b");
16 mBinder.executePendingBindings();
17 assertEquals("a", mBinder.textView1.getText().toString());
23 mBinder.setStr1("a");
24 mBinder.setStr2("b");
25 mBinder.executePendingBindings();
26 assertEquals("b", mBinder.textView2.getText().toString());
ResourceTest.java 35 mBinder.setCount(0);
36 mBinder.setTitle("Mrs.");
37 mBinder.setLastName("Doubtfire");
38 mBinder.setBase(2);
39 mBinder.setPbase(3);
40 mBinder.executePendingBindings();
47 TextView view = mBinder.textView0;
50 mBinder.setTitle("Mr.");
51 mBinder.executePendingBindings();
57 TextView view = mBinder.textView1
    [all...]
MultiArgAdapterTest.java 41 mBinder.setObj1(obj1);
42 mBinder.setObj2(obj2);
43 mBinder.setObj3(obj3);
44 mBinder.setObj4(obj4);
45 mBinder.executePendingBindings();
47 assertEquals(mBinder.merged.getText().toString(), join(obj1, obj2));
48 assertEquals(mBinder.view2.getText().toString(), join(obj2));
49 assertEquals(mBinder.view3.getText().toString(), join(obj3));
50 assertEquals(mBinder.view4.getText().toString(), join(obj4));
51 String prev2 = mBinder.view2.getText().toString()
    [all...]
InnerCannotReadDependencyTest.java 35 mBinder.setObj(object);
36 mBinder.executePendingBindings();
37 assertEquals("a ", mBinder.textView.getText().toString());
39 mBinder.executePendingBindings();
40 assertEquals("null ", mBinder.textView.getText().toString());
42 mBinder.executePendingBindings();
43 assertEquals("null b", mBinder.textView.getText().toString());
45 mBinder.executePendingBindings();
46 assertEquals("c b", mBinder.textView.getText().toString());
ConstantWithConditionalTest.java 32 mBinder.executePendingBindings();
37 mBinder.setVm(obj);
38 mBinder.executePendingBindings();
39 assertTrue(mBinder.myTextView.hasFixedSize());
40 assertTrue(mBinder.progressBar.isIndeterminate());
43 mBinder.invalidateAll();
44 mBinder.executePendingBindings();
45 assertFalse(mBinder.progressBar.isIndeterminate());
50 mBinder.invalidateAll();
51 mBinder.executePendingBindings()
    [all...]
ConditionalBindingTest.java 25 mBinder.setObj4(obj4);
26 mBinder.executePendingBindings();
27 assertEquals("hello", mBinder.textView1.getText().toString());
29 mBinder.executePendingBindings();
30 assertEquals("Hello World", mBinder.textView1.getText().toString());
37 mBinder.setObj4(obj4);
38 mBinder.executePendingBindings();
39 mBinder.view1.callOnClick();
41 mBinder.setCond1(true);
42 mBinder.executePendingBindings()
    [all...]
MultiThreadTest.java 15 mBinder.setText("a");
16 assertEquals("a", mBinder.getText());
21 assertEquals("a", mBinder.myTextView.getText().toString());
24 mBinder.setText("b");
26 assertEquals("b", mBinder.getText());
30 assertEquals("b", mBinder.myTextView.getText().toString());
UnnecessaryCalculationTest.java 42 mBinder.setObja(obja);
43 mBinder.setObjb(objb);
44 mBinder.setObjc(objc);
45 mBinder.setA(true);
46 mBinder.setB(true);
47 mBinder.setC(false);
48 mBinder.executePendingBindings();
49 assertEquals("true", mBinder.textView.getText().toString());
50 assertEquals("true", mBinder.textView2.getText().toString());
55 mBinder.setObja(obja)
    [all...]
FindMethodTest.java 32 TextView textView = mBinder.textView6;
37 TextView textView = mBinder.textView0;
42 TextView textView = mBinder.textView1;
47 TextView textView = mBinder.textView2;
52 TextView textView = mBinder.textView3;
57 TextView textView = mBinder.textView4;
62 TextView textView = mBinder.textView5;
67 TextView textView = mBinder.textView7;
72 TextView textView = mBinder.textView8;
77 TextView textView = mBinder.textView9
    [all...]
ConstExpressionTest.java 36 mBinder.setVar1(1000);
37 mBinder.setVar2(2000);
38 mBinder.executePendingBindings();
39 assertEquals("1000", mBinder.textView.getText().toString());
MultiArgAdapterEvaluationTest.java 38 mBinder.setObj1(obj1);
39 mBinder.setObj2(obj2);
40 mBinder.executePendingBindings();
42 assertEquals(mBinder.merged.getText().toString(), join(obj1.getValue(), obj2.getValue()));
43 assertEquals(mBinder.view2.getText().toString(), join(obj2.getValue()));
44 assertEquals(mBinder.view2text.getText().toString(), obj2.getValue());
46 String prev2 = mBinder.view2.getText().toString();
47 String prevValue = mBinder.merged.getText().toString();
49 mBinder.executePendingBindings();
50 assertEquals(prevValue, mBinder.merged.getText().toString())
    [all...]
NewApiTest.java 39 mBinder.setElevation(3);
40 mBinder.setName("foo");
41 mBinder.setChildren(new ArrayList<View>());
42 mBinder.executePendingBindings();
43 assertEquals("foo", mBinder.textView.getText().toString());
44 assertEquals(3f, mBinder.textView.getElevation());
52 TextView textView = mBinder.textView;
54 mBinder.setElevation(3);
55 mBinder.setName("foo2");
56 mBinder.executePendingBindings()
    [all...]
FindFieldTest.java 32 mBinder.setObj(obj);
33 mBinder.executePendingBindings();
34 assertEquals(obj.mPublicField, mBinder.textView1.getText().toString());
40 mBinder.executePendingBindings();
41 assertEquals("Hello", mBinder.textView2.getText().toString());
ObservableWithNotBindableFieldObjectTest.java 34 mBinder.setObj(obj);
35 mBinder.executePendingBindings();
36 assertEquals("", mBinder.textView.getText().toString());
38 mBinder.executePendingBindings();
39 assertEquals("100", mBinder.textView.getText().toString());
InstanceAdapterTest.java 68 mBinder.executePendingBindings();
74 mBinder.setStr("World");
75 mBinder.executePendingBindings();
76 assertEquals("Hello World foo bar baz", mBinder.textView1.getText().toString());
82 mBinder.setStr("World");
83 mBinder.executePendingBindings();
84 assertEquals("Hello World baz foo bar", mBinder.textView2.getText().toString());
90 mBinder.setStr("World");
91 mBinder.executePendingBindings();
92 assertEquals("Hello null World foo bar", mBinder.textView3.getText().toString())
    [all...]
ImageViewBindingAdapterTest.java 39 mView = mBinder.view;
56 assertNull(mBinder.view2.getDrawable());
57 assertNull(mBinder.view3.getDrawable());
62 mBinder.setUriString(uriString);
63 mBinder.setUri(Uri.parse(uriString));
64 mBinder.executePendingBindings();
66 assertNotNull(mBinder.view2.getDrawable());
67 assertNotNull(mBinder.view3.getDrawable());
72 mBinder.setObj(null);
73 mBinder.executePendingBindings()
    [all...]
ViewStubTest.java 40 mBinder.setViewStubVisibility(View.GONE);
41 mBinder.setFirstName("Hello");
42 mBinder.setLastName("World");
43 mBinder.executePendingBindings();
50 ViewStubProxy viewStubProxy = mBinder.viewStub;
54 assertNull(mBinder.getRoot().findViewById(R.id.firstNameContents));
55 assertNull(mBinder.getRoot().findViewById(R.id.lastNameContents));
56 mBinder.setViewStubVisibility(View.VISIBLE);
57 mBinder.executePendingBindings();
71 ViewStubProxy viewStubProxy = mBinder.viewStub
    [all...]
TwoWayBindingAdapterTest.java 60 makeVisible(mBinder.listView);
65 assertEquals(0, mBinder.listView.getSelectedItemPosition());
66 mBinder.listView.setSelection(1);
77 assertEquals(1, mBinder.listView.getSelectedItemPosition());
142 makeVisible(mBinder.calendarView);
147 assertDatesMatch(mBindingObject.date.get(), mBinder.calendarView.getDate());
155 clickChild(mBinder.calendarView, offsetX);
160 date[0] = mBinder.calendarView.getDate();
188 makeVisible(mBinder.checkBox);
193 assertFalse(mBinder.checkBox.isChecked())
    [all...]
NoIdTest.java 33 mBinder.setName("hello");
34 mBinder.setOrientation(LinearLayout.VERTICAL);
35 mBinder.executePendingBindings();
42 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot();
44 mBinder.setOrientation(LinearLayout.HORIZONTAL);
45 mBinder.executePendingBindings();
51 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot();
55 mBinder.setName("world");
56 mBinder.executePendingBindings();
62 LinearLayout linearLayout = (LinearLayout) mBinder.getRoot()
    [all...]
ReadComplexTernaryTest.java 19 mBinder.setUser(user);
20 mBinder.executePendingBindings();
21 assertEquals("?", mBinder.textView.getText().toString());
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTest/java/android/databinding/testapp/
StaticAccessTest.java 33 mBinder.setVo(vo);
38 mBinder.executePendingBindings();
39 assertText(StaticTestsVo.ourStaticField, mBinder.staticFieldOverVo);
40 assertText(StaticTestsVo.ourStaticMethod(), mBinder.staticMethodOverVo);
41 assertText(StaticTestsVo.ourStaticObservable.get(), mBinder.obsStaticOverVo);
43 assertText(StaticTestsVo.ourStaticField, mBinder.staticFieldOverClass);
44 assertText(StaticTestsVo.ourStaticMethod(), mBinder.staticMethodOverClass);
45 assertText(StaticTestsVo.ourStaticObservable.get(), mBinder.obsStaticOverClass);
49 mBinder.executePendingBindings();
50 assertText(StaticTestsVo.ourStaticObservable.get(), mBinder.obsStaticOverVo)
    [all...]
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi14/java/android/databinding/testapp/
RootTag.java 29 mBinder.executePendingBindings();
30 assertEquals("foo", mBinder.textView1.getTag());
31 assertEquals("hello world", mBinder.textView1.getText().toString());
  /frameworks/base/core/java/android/app/
JobSchedulerImpl.java 35 IJobScheduler mBinder;
38 mBinder = binder;
44 return mBinder.schedule(job);
53 return mBinder.enqueue(job, work);
62 return mBinder.scheduleAsPackage(job, packageName, userId, tag);
71 mBinder.cancel(jobId);
79 mBinder.cancelAll();
87 return mBinder.getAllPendingJobs();
96 return mBinder.getPendingJob(jobId);

Completed in 2774 milliseconds

1 2 3 4 5 6 7 8 9