Home
last modified time | relevance | path

Searched refs:viewId (Results 1 – 13 of 13) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowRemoteViews.java44 public void setTextViewText(int viewId, final CharSequence text) { in setTextViewText() argument
45 viewUpdaters.add(new ViewUpdater(viewId) { in setTextViewText()
54 public void setOnClickPendingIntent(int viewId, final PendingIntent pendingIntent) { in setOnClickPendingIntent() argument
55 viewUpdaters.add(new ViewUpdater(viewId) { in setOnClickPendingIntent()
72 public void setViewVisibility(int viewId, final int visibility) { in setViewVisibility() argument
73 viewUpdaters.add(new ViewUpdater(viewId) { in setViewVisibility()
82 public void setImageViewResource(int viewId, final int resourceId) { in setImageViewResource() argument
83 viewUpdaters.add(new ViewUpdater(viewId) { in setImageViewResource()
92 public void setImageViewBitmap(int viewId, final Bitmap bitmap) { in setImageViewBitmap() argument
93 viewUpdaters.add(new ViewUpdater(viewId) { in setImageViewBitmap()
[all …]
DShadowTabSpec.java21 private int viewId; field in ShadowTabSpec
104 public android.widget.TabHost.TabSpec setContent(int viewId) { in setContent() argument
105 this.viewId = viewId; in setContent()
110 return viewId; in getContentViewId()
DShadowDialog.java151 public View findViewById(int viewId) { in findViewById() argument
153 return inflatedView.findViewById(viewId); in findViewById()
157 return inflatedView.findViewById(viewId); in findViewById()
162 public void clickOn(int viewId) { in clickOn() argument
163 findViewById(viewId).performClick(); in clickOn()
DShadowTabHost.java95 int viewId = ts.getContentViewId(); in getCurrentView() local
97 v = ((Activity) getContext()).findViewById(viewId); in getCurrentView()
DShadowListView.java41 private View findView(List<View> views, int viewId) { in findView() argument
44 child = v.findViewById(viewId); in findView()
DShadowAlertDialog.java58 public View findViewById(int viewId) { in findViewById() argument
60 return super.findViewById(viewId); in findViewById()
63 return view.findViewById(viewId); in findViewById()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTabHost.java96 int viewId = ts.getContentViewId(); in getCurrentView() local
98 v = ((Activity) realView.getContext()).findViewById(viewId); in getCurrentView()
134 private int viewId; field in ShadowTabHost.ShadowTabSpec
216 public TabSpec setContent(int viewId) { in setContent() argument
217 this.viewId = viewId; in setContent()
222 return viewId; in getContentViewId()
DShadowDialog.java73 public void clickOn(int viewId) { in clickOn() argument
74 realDialog.findViewById(viewId).performClick(); in clickOn()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDialogTest.java50 final int viewId = 1234; in setContentViewWithViewAllowsFindById() local
54 view.setId(viewId); in setContentViewWithViewAllowsFindById()
57 assertSame(view, dialog.findViewById(viewId)); in setContentViewWithViewAllowsFindById()
DShadowTabSpecTest.java88 int viewId = shadowFoo.getContentViewId(); in shouldSetTheContentViewId() local
90 assertThat(viewId).isEqualTo(R.id.title); in shouldSetTheContentViewId()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTabSpecTest.java93 int viewId = shadowFoo.getContentViewId(); in shouldSetTheContentViewId() local
95 assertThat(viewId, equalTo(R.id.title)); in shouldSetTheContentViewId()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DResourceLoader.java390 public String getNameForId( int viewId ) { in getNameForId() argument
392 return resourceExtractor.getResourceName( viewId ); in getNameForId()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.h116 uint16_t viewId; member