Home
last modified time | relevance | path

Searched refs:adapterView (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DAdapterViewBehavior.java20 private AdapterView adapterView; field in AdapterViewBehavior
25 adapterView = createAdapterView(); in setUp()
33 adapterView.setOnItemSelectedListener(new AdapterView.OnItemSelectedListener() { in shouldIgnoreSetSelectionCallsWithInvalidPosition()
46 adapterView.setSelection(AdapterView.INVALID_POSITION); in shouldIgnoreSetSelectionCallsWithInvalidPosition()
52 adapterView.setAdapter(new ShadowCountingAdapter(2)); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
54 assertThat(adapterView.getCount()).isEqualTo(2); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
55 assertThat(adapterView.getChildCount()).isEqualTo(0); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
57 shadowOf(adapterView).populateItems(); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
58 assertThat(adapterView.getChildCount()).isEqualTo(2); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
59 assertThat(((TextView) adapterView.getChildAt(0)).getText()).isEqualTo("Item 0"); in testSetAdapter_ShouldCauseViewsToBeRenderedAsynchronously()
[all …]
/external/oboe/samples/hello-oboe/src/main/java/com/google/oboe/samples/hellooboe/
DMainActivity.java125 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in setupChannelCountSpinner()
130 public void onNothingSelected(AdapterView<?> adapterView) { in setupChannelCountSpinner()
148 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in setupBufferSizeSpinner()
153 public void onNothingSelected(AdapterView<?> adapterView) { in setupBufferSizeSpinner()
166 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in setupPlaybackDeviceSpinner()
171 public void onNothingSelected(AdapterView<?> adapterView) { in setupPlaybackDeviceSpinner()
190 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in setupAudioApiSpinner()
195 public void onNothingSelected(AdapterView<?> adapterView) { in setupAudioApiSpinner()
/external/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/
DMainActivity.java79 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in onCreate()
84 public void onNothingSelected(AdapterView<?> adapterView) { in onCreate()
95 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in onCreate()
100 public void onNothingSelected(AdapterView<?> adapterView) { in onCreate()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DMainActivity.java83 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in onCreate()
90 public void onNothingSelected(AdapterView<?> adapterView) { in onCreate()
DStreamConfigurationView.java250 public void onItemSelected(AdapterView<?> adapterView, View view, int i, long l) { in initializeViews()
256 public void onNothingSelected(AdapterView<?> adapterView) { in initializeViews()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java643 public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {