Home
last modified time | relevance | path

Searched refs:findViewById (Results 1 – 25 of 222) sorted by relevance

123456789

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLayoutInflaterTest.java67 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize()
75 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnScreenSize()
83 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnQualifiers()
90 WebView webView = view.findViewById(R.id.web_view); in testWebView()
108 assertThat(mediaView.<TextView>findViewById(R.id.title)).isInstanceOf(TextView.class); in testFindsChildrenById()
111 assertThat(mainView.<View>findViewById(R.id.title)).isInstanceOf(View.class); in testFindsChildrenById()
117 assertThat(view.<ImageView>findViewById(R.id.icon)).isInstanceOf(ImageView.class); in testInflatingConflictingSystemAndLocalViewsWorks()
120 assertThat(view.<ImageView>findViewById(android.R.id.icon)).isInstanceOf(ImageView.class); in testInflatingConflictingSystemAndLocalViewsWorks()
126 assertThat(mediaView.<TextView>findViewById(R.id.include_id)).isInstanceOf(TextView.class); in testInclude()
132 assertThat(mediaView.findViewById(R.id.include_id).getVisibility()).isEqualTo(View.GONE); in testIncludeShouldRetainAttributes()
[all …]
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
DMainActivity.java34 Button startSimplePieExButton = (Button) findViewById(R.id.startSimplePieExButton); in onCreate()
42 Button startDynamicXYExButton = (Button)findViewById(R.id.startDynamicXYExButton); in onCreate()
50 Button startSimpleXYExButton = (Button) findViewById(R.id.startSimpleXYExButton); in onCreate()
58 Button startBarPlotExButton = (Button) findViewById(R.id.startBarPlotExButton); in onCreate()
66 Button startOrSensorExButton = (Button) findViewById(R.id.startOrSensorExButton); in onCreate()
74 Button startTimeSeriesExButon = (Button)findViewById(R.id.startTimeSeriesExButton); in onCreate()
82 Button startStepChartExButton = (Button)findViewById(R.id.startStepChartExButton); in onCreate()
90 Button startScrollZoomExButton = (Button)findViewById(R.id.startScrollZoomButton); in onCreate()
98 Button startXyRegionExampleButton = (Button)findViewById(R.id.startXyRegionExampleButton); in onCreate()
107 Button listViewExButton = (Button)findViewById(R.id.startXyListViewExButton); in onCreate()
[all …]
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DStreamConfigurationView.java151 mHideableView = (LinearLayout) findViewById(R.id.hideableView); in initializeViews()
153 mOptionExpander = (TextView) findViewById(R.id.toggle_stream_config); in initializeViews()
156 mNativeApiSpinner = (Spinner) findViewById(R.id.spinnerNativeApi); in initializeViews()
160 mActualNativeApiView = (TextView) findViewById(R.id.actualNativeApi); in initializeViews()
162 mChannelConversionBox = (CheckBox) findViewById(R.id.checkChannelConversion); in initializeViews()
170 mFormatConversionBox = (CheckBox) findViewById(R.id.checkFormatConversion); in initializeViews()
178 mActualMMapView = (TextView) findViewById(R.id.actualMMap); in initializeViews()
179 mRequestedMMapView = (CheckBox) findViewById(R.id.requestedMMapEnable); in initializeViews()
190 mActualExclusiveView = (TextView) findViewById(R.id.actualExclusiveMode); in initializeViews()
191 mRequestedExclusiveView = (CheckBox) findViewById(R.id.requestedExclusiveMode); in initializeViews()
[all …]
DTestOutputActivity.java63 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox0); in onCreate()
64 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox1); in onCreate()
65 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox2); in onCreate()
66 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox3); in onCreate()
67 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox4); in onCreate()
68 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox5); in onCreate()
69 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox6); in onCreate()
70 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox7); in onCreate()
73 mNativeApiSpinner = (Spinner) findViewById(R.id.spinnerOutputSignal); in onCreate()
DTestInputActivity.java61 BufferSizeView bufferSizeView = findViewById(R.id.buffer_size_view); in inflateActivity()
69 mVolumeBars[0] = (VolumeBarView) findViewById(R.id.volumeBar0); in onCreate()
70 mVolumeBars[1] = (VolumeBarView) findViewById(R.id.volumeBar1); in onCreate()
71 mVolumeBars[2] = (VolumeBarView) findViewById(R.id.volumeBar2); in onCreate()
72 mVolumeBars[3] = (VolumeBarView) findViewById(R.id.volumeBar3); in onCreate()
74 mInputMarginView = (InputMarginView) findViewById(R.id.input_margin_view); in onCreate()
80 mWorkloadView = (WorkloadView) findViewById(R.id.workload_view); in onCreate()
DRecorderActivity.java48 mRecordButton = (Button) findViewById(R.id.button_start_recording); in onCreate()
49 mStopButton = (Button) findViewById(R.id.button_stop_record_play); in onCreate()
50 mPlayButton = (Button) findViewById(R.id.button_start_playback); in onCreate()
51 mShareButton = (Button) findViewById(R.id.button_share); in onCreate()
/external/oboe/samples/drumthumper/src/main/java/com/plausibleaudio/drumthumper/
DDrumThumperActivity.kt136 findViewById<LinearLayout>(R.id.kickMixControls).setVisibility(showFlag) in showMixControls()
137 findViewById<LinearLayout>(R.id.snareMixControls).setVisibility(showFlag) in showMixControls()
138 findViewById<LinearLayout>(R.id.hihatOpenMixControls).setVisibility(showFlag) in showMixControls()
139 findViewById<LinearLayout>(R.id.hihatClosedMixControls).setVisibility(showFlag) in showMixControls()
140 findViewById<LinearLayout>(R.id.midTomMixControls).setVisibility(showFlag) in showMixControls()
141 findViewById<LinearLayout>(R.id.lowTomMixControls).setVisibility(showFlag) in showMixControls()
142 findViewById<LinearLayout>(R.id.rideMixControls).setVisibility(showFlag) in showMixControls()
143 findViewById<LinearLayout>(R.id.crashMixControls).setVisibility(showFlag) in showMixControls()
145 findViewById<Button>(R.id.mixCtrlBtn).text = in showMixControls()
150 val panSeekbar = findViewById<SeekBar>(panSliderId) in connectMixSliders()
[all …]
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/
DMainActivity.java30 findViewById(id.basicFeatures).setOnClickListener(this); in onCreate()
31 findViewById(id.imageDisplay).setOnClickListener(this); in onCreate()
32 findViewById(id.eventHandling).setOnClickListener(this); in onCreate()
33 findViewById(id.advancedEventHandling).setOnClickListener(this); in onCreate()
34 findViewById(id.viewPagerGalleries).setOnClickListener(this); in onCreate()
35 findViewById(id.animation).setOnClickListener(this); in onCreate()
36 findViewById(id.extension).setOnClickListener(this); in onCreate()
37 findViewById(id.configuration).setOnClickListener(this); in onCreate()
38 findViewById(id.github).setOnClickListener(this); in onCreate()
DAbstractPagesActivity.java38 findViewById(R.id.next).setOnClickListener(new View.OnClickListener() { in onCreate()
41 findViewById(R.id.previous).setOnClickListener(new View.OnClickListener() { in onCreate()
85 ((TextView)findViewById(R.id.note)).setText(notes.get(page).getText()); in updateNotes()
86findViewById(R.id.next).setVisibility(page >= notes.size() - 1 ? View.INVISIBLE : View.VISIBLE); in updateNotes()
87 findViewById(R.id.previous).setVisibility(page <= 0 ? View.INVISIBLE : View.VISIBLE); in updateNotes()
/external/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DTesterActivity.java61 buttons.add((Button) findViewById(R.id.empty_unary_button)); in onCreate()
62 buttons.add((Button) findViewById(R.id.large_unary_button)); in onCreate()
63 buttons.add((Button) findViewById(R.id.client_streaming_button)); in onCreate()
64 buttons.add((Button) findViewById(R.id.server_streaming_button)); in onCreate()
65 buttons.add((Button) findViewById(R.id.ping_pong_button)); in onCreate()
67 hostEdit = (EditText) findViewById(R.id.host_edit_text); in onCreate()
68 portEdit = (EditText) findViewById(R.id.port_edit_text); in onCreate()
69 resultText = (TextView) findViewById(R.id.grpc_response_text); in onCreate()
70 getCheckBox = (CheckBox) findViewById(R.id.get_checkbox); in onCreate()
71 testCertCheckBox = (CheckBox) findViewById(R.id.test_cert_checkbox); in onCreate()
/external/oboe/samples/LiveEffect/src/main/java/com/google/oboe/samples/liveEffect/
DMainActivity.java64 statusText = findViewById(R.id.status_view_text); in onCreate()
65 toggleEffectButton = findViewById(R.id.button_toggle_effect); in onCreate()
74 recordingDeviceSpinner = findViewById(R.id.recording_devices_spinner); in onCreate()
90 playbackDeviceSpinner = findViewById(R.id.playback_devices_spinner); in onCreate()
106 ((RadioGroup)findViewById(R.id.apiSelectionGroup)).check(R.id.aaudioButton); in onCreate()
107 findViewById(R.id.aaudioButton).setOnClickListener(new RadioButton.OnClickListener(){ in onCreate()
115 findViewById(R.id.slesButton).setOnClickListener(new RadioButton.OnClickListener(){ in onCreate()
132 findViewById(R.id.slesButton).setEnabled(enable); in EnableAudioApiUI()
134 findViewById(R.id.aaudioButton).setEnabled(false); in EnableAudioApiUI()
136 findViewById(R.id.aaudioButton).setEnabled(enable); in EnableAudioApiUI()
[all …]
/external/grpc-grpc/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/cpp/
DHelloworldActivity.java53 sendButton = (Button) findViewById(R.id.send_button); in onCreate()
54 serverButton = (Button) findViewById(R.id.server_button); in onCreate()
55 hostEdit = (EditText) findViewById(R.id.host_edit_text); in onCreate()
56 portEdit = (EditText) findViewById(R.id.port_edit_text); in onCreate()
57 messageEdit = (EditText) findViewById(R.id.message_edit_text); in onCreate()
58 serverPortEdit = (EditText) findViewById(R.id.server_port_edit_text); in onCreate()
59 resultText = (TextView) findViewById(R.id.grpc_response_text); in onCreate()
146 TextView resultText = (TextView) activity.findViewById(R.id.grpc_response_text); in onPostExecute()
147 Button sendButton = (Button) activity.findViewById(R.id.send_button); in onPostExecute()
/external/replicaisland/src/com/replica/replicaisland/
DAnimationPlayerActivity.java81 ImageView canvasImage = (ImageView) findViewById(R.id.animation_canvas); in onCreate()
112 View background = findViewById(R.id.animation_background); in onCreate()
113 View foreground = findViewById(R.id.animation_foreground); in onCreate()
114 View gameOver = findViewById(R.id.game_over); in onCreate()
126 View background = findViewById(R.id.animation_background); in onCreate()
127 View sphere = findViewById(R.id.animation_sphere); in onCreate()
128 View cliffs = findViewById(R.id.animation_cliffs); in onCreate()
129 View rokudou = findViewById(R.id.animation_rokudou); in onCreate()
130 View gameOver = findViewById(R.id.game_over); in onCreate()
DDifficultyMenuActivity.java90 mBabyButton = findViewById(R.id.babyButton); in onCreate()
91 mKidsButton = findViewById(R.id.kidsButton); in onCreate()
92 mAdultsButton = findViewById(R.id.adultsButton); in onCreate()
93 mBabyText = findViewById(R.id.babyText); in onCreate()
94 mKidsText = findViewById(R.id.kidsText); in onCreate()
95 mAdultsText = findViewById(R.id.adultsText); in onCreate()
96 mBackground = findViewById(R.id.mainMenuBackground); in onCreate()
DKeyboardConfigDialogPreference.java101 mLeftText = (TextView)view.findViewById(R.id.key_left); in onBindDialogView()
104 mRightText = (TextView)view.findViewById(R.id.key_right); in onBindDialogView()
107 mJumpText = (TextView)view.findViewById(R.id.key_jump); in onBindDialogView()
110 mAttackText = (TextView)view.findViewById(R.id.key_attack); in onBindDialogView()
113 mLeftBorder = view.findViewById(R.id.left_border); in onBindDialogView()
114 mRightBorder = view.findViewById(R.id.right_border); in onBindDialogView()
115 mJumpBorder = view.findViewById(R.id.jump_border); in onBindDialogView()
116 mAttackBorder = view.findViewById(R.id.attack_border); in onBindDialogView()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DSettingsActivity.java73 mTextSettingsInfo = (TextView) findViewById(R.id.textSettingsInfo); in onCreate()
76 mSpinnerMicSource = (Spinner) findViewById(R.id.spinnerMicSource); in onCreate()
88 mSpinnerPerformanceMode = (Spinner) findViewById(R.id.spinnerPerformanceMode); in onCreate()
102 mSpinnerSamplingRate = (Spinner) findViewById(R.id.spinnerSamplingRate); in onCreate()
117 mSpinnerAudioThreadType = (Spinner) findViewById(R.id.spinnerAudioThreadType); in onCreate()
147 mSpinnerChannelIndex = (Spinner) findViewById(R.id.spinnerChannelIndex); in onCreate()
157 mBufferTestDurationUI = (SettingsPicker) findViewById(R.id.bufferTestDurationSetting); in onCreate()
172 mWavePlotDurationUI = (SettingsPicker) findViewById(R.id.wavePlotDurationSetting); in onCreate()
189 mPlayerBufferUI = (SettingsPicker) findViewById(R.id.playerBufferSetting); in onCreate()
211 mRecorderBufferUI = (SettingsPicker) findViewById(R.id.recorderBufferSetting); in onCreate()
[all …]
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/viewpager/
DViewPagerActivity.java37 ViewPager horizontalPager = findViewById(R.id.horizontal_pager); in onCreate()
39 ViewPager verticalPager = findViewById(R.id.vertical_pager); in onCreate()
45 … ViewPager viewPager = findViewById(getPage() == 0 ? R.id.horizontal_pager : R.id.vertical_pager); in onBackPressed()
56 findViewById(R.id.horizontal_pager).setVisibility(View.VISIBLE); in onPageChanged()
57 findViewById(R.id.vertical_pager).setVisibility(View.GONE); in onPageChanged()
59 findViewById(R.id.horizontal_pager).setVisibility(View.GONE); in onPageChanged()
60 findViewById(R.id.vertical_pager).setVisibility(View.VISIBLE); in onPageChanged()
/external/grpc-grpc-java/examples/android/clientcache/app/src/main/java/io/grpc/clientcacheexample/
DClientCacheExampleActivity.java65 sendButton = (Button) findViewById(R.id.send_button); in onCreate()
66 hostEdit = (EditText) findViewById(R.id.host_edit_text); in onCreate()
67 portEdit = (EditText) findViewById(R.id.port_edit_text); in onCreate()
68 messageEdit = (EditText) findViewById(R.id.message_edit_text); in onCreate()
69 getCheckBox = (CheckBox) findViewById(R.id.get_checkbox); in onCreate()
70 noCacheCheckBox = (CheckBox) findViewById(R.id.no_cache_checkbox); in onCreate()
71 onlyIfCachedCheckBox = (CheckBox) findViewById(R.id.only_if_cached_checkbox); in onCreate()
72 resultText = (TextView) findViewById(R.id.grpc_response_text); in onCreate()
163 TextView resultText = (TextView) activity.findViewById(R.id.grpc_response_text); in onPostExecute()
164 Button sendButton = (Button) activity.findViewById(R.id.send_button); in onPostExecute()
/external/oboe/apps/fxlab/app/src/main/java/com/mobileer/androidfxlab/
DEffectsAdapter.kt42 private val layoutContainer: LinearLayout = parentView.findViewById(R.id.effectContainer) in <lambda>()
53 val header: LinearLayout = layoutContainer.findViewById(R.id.effectHeader) in <lambda>()
54 val dragHandleView: View = header.findViewById(R.id.cat_card_list_item_drag_handle) in <lambda>()
55 val checkBoxView: SwitchMaterial = header.findViewById(R.id.effectEnabled) in <lambda>()
56 val label: TextView = header.findViewById(R.id.effectLabel) in <lambda>()
85 val paramWrapper: LinearLayout = view.findViewById(R.id.paramWrapper) in <lambda>()
86 val paramLabelView: TextView = paramWrapper.findViewById(R.id.paramLabel) in <lambda>()
87 val minLabelView: TextView = paramWrapper.findViewById(R.id.minLabel) in <lambda>()
88 val maxLabelView: TextView = paramWrapper.findViewById(R.id.maxLabel) in <lambda>()
89 val curLabelView: TextView = paramWrapper.findViewById(R.id.curLabel) in <lambda>()
[all …]
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallFragment.java56 contactView = controlView.findViewById(R.id.contact_name_call); in onCreateView()
57 ImageButton disconnectButton = controlView.findViewById(R.id.button_call_disconnect); in onCreateView()
58 cameraSwitchButton = controlView.findViewById(R.id.button_call_switch_camera); in onCreateView()
59 videoScalingButton = controlView.findViewById(R.id.button_call_scaling_mode); in onCreateView()
60 toggleMuteButton = controlView.findViewById(R.id.button_call_toggle_mic); in onCreateView()
61 captureFormatText = controlView.findViewById(R.id.capture_format_text_call); in onCreateView()
62 captureFormatSlider = controlView.findViewById(R.id.capture_format_slider_call); in onCreateView()
/external/webrtc/examples/androidvoip/java/org/webrtc/examples/androidvoip/
DMainActivity.java82 scrollView = (ScrollView) findViewById(R.id.scroll_view); in onCreate()
83 localIPAddressTextView = (TextView) findViewById(R.id.local_ip_address_text_view); in onCreate()
84 localPortNumberEditText = (EditText) findViewById(R.id.local_port_number_edit_text); in onCreate()
85 remoteIPAddressEditText = (EditText) findViewById(R.id.remote_ip_address_edit_text); in onCreate()
86 remotePortNumberEditText = (EditText) findViewById(R.id.remote_port_number_edit_text); in onCreate()
87 encoderSpinner = (Spinner) findViewById(R.id.encoder_spinner); in onCreate()
88 decoderSelectionButton = (Button) findViewById(R.id.decoder_selection_button); in onCreate()
89 decodersTextView = (TextView) findViewById(R.id.decoders_text_view); in onCreate()
90 sessionButton = (ToggleButton) findViewById(R.id.session_button); in onCreate()
91 switchLayout = (RelativeLayout) findViewById(R.id.switch_layout); in onCreate()
[all …]
/external/grpc-grpc-java/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/
DHelloworldActivity.java52 sendButton = (Button) findViewById(R.id.send_button); in onCreate()
53 hostEdit = (EditText) findViewById(R.id.host_edit_text); in onCreate()
54 portEdit = (EditText) findViewById(R.id.port_edit_text); in onCreate()
55 messageEdit = (EditText) findViewById(R.id.message_edit_text); in onCreate()
56 resultText = (TextView) findViewById(R.id.grpc_response_text); in onCreate()
112 TextView resultText = (TextView) activity.findViewById(R.id.grpc_response_text); in onPostExecute()
113 Button sendButton = (Button) activity.findViewById(R.id.send_button); in onPostExecute()
/external/grpc-grpc/src/android/test/interop/app/src/main/java/io/grpc/interop/cpp/
DInteropActivity.java48 sendButton = (Button) findViewById(R.id.ping_pong_button); in onCreate()
49 hostEdit = (EditText) findViewById(R.id.host_edit_text); in onCreate()
50 portEdit = (EditText) findViewById(R.id.port_edit_text); in onCreate()
51 resultText = (TextView) findViewById(R.id.grpc_result_text); in onCreate()
102 TextView resultText = (TextView) activity.findViewById(R.id.grpc_result_text); in onPostExecute()
103 Button sendButton = (Button) activity.findViewById(R.id.ping_pong_button); in onPostExecute()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DFragmentVisibilityTests.kt55 …IdlingRegistry.getInstance().register(LottieIdlingResource(view.findViewById(R.id.animation_view))) in <lambda>()
73 … val animationView = requireView().findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>()
90 …IdlingRegistry.getInstance().register(LottieIdlingResource(view.findViewById(R.id.animation_view))) in <lambda>()
97 … frag.requireView().findViewById<LottieAnimationView>(R.id.animation_view).isVisible = true in <lambda>()
111 animationView = view.findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>()
138 animationView = view.findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>()
206 …IdlingRegistry.getInstance().register(LottieIdlingResource(view.findViewById(R.id.animation_view))) in <lambda>()
221 …IdlingRegistry.getInstance().register(LottieIdlingResource(view.findViewById(R.id.animation_view))) in <lambda>()
245 val animationView = view.findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>()
262 val animationView = view.findViewById<LottieAnimationView>(R.id.animation_view) in <lambda>()
[all …]
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/imagedisplay/
DImageDisplayRotateFragment.java20 final SubsamplingScaleImageView imageView = rootView.findViewById(id.imageView); in onCreateView()
25 rootView.findViewById(id.previous).setOnClickListener(new View.OnClickListener() { in onCreateView()
28 rootView.findViewById(id.next).setOnClickListener(new View.OnClickListener() { in onCreateView()
32 rootView.findViewById(id.rotate).setOnClickListener(new View.OnClickListener() { in onCreateView()

123456789