Home
last modified time | relevance | path

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

1234567

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLayoutInflaterTest.java66 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnDefaultScreenSize()
74 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnScreenSize()
82 TextView textView = view.findViewById(android.R.id.text1); in testChoosesLayoutBasedOnQualifiers()
89 WebView webView = view.findViewById(R.id.web_view); in testWebView()
107 assertThat(mediaView.<TextView>findViewById(R.id.title)).isInstanceOf(TextView.class); in testFindsChildrenById()
110 assertThat(mainView.<View>findViewById(R.id.title)).isInstanceOf(View.class); in testFindsChildrenById()
116 assertThat(view.<ImageView>findViewById(R.id.icon)).isInstanceOf(ImageView.class); in testInflatingConflictingSystemAndLocalViewsWorks()
119 assertThat(view.<ImageView>findViewById(android.R.id.icon)).isInstanceOf(ImageView.class); in testInflatingConflictingSystemAndLocalViewsWorks()
125 assertThat(mediaView.<TextView>findViewById(R.id.include_id)).isInstanceOf(TextView.class); in testInclude()
131 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 …]
DXYRegionExampleActivity.java82 plot = (XYPlot) findViewById(R.id.xyRegionExamplePlot); in onCreate()
83 timCB = (CheckBox) findViewById(R.id.s1CheckBox); in onCreate()
91 nickCB = (CheckBox) findViewById(R.id.s2CheckBox); in onCreate()
99 joeCB = (CheckBox) findViewById(R.id.s3CheckBox); in onCreate()
107 jamesCB = (CheckBox) findViewById(R.id.s4CheckBox); in onCreate()
117 r2CheckBox = (CheckBox) findViewById(R.id.r2CheckBox); in onCreate()
125 r3CheckBox = (CheckBox) findViewById(R.id.r3CheckBox); in onCreate()
133 r4CheckBox = (CheckBox) findViewById(R.id.r4CheckBox); in onCreate()
/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/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/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()
DConversationDialogActivity.java56 mOkArrow = (ImageView)findViewById(R.id.ok); in onCreate()
76 TypewriterTextView tv = (TypewriterTextView)findViewById(R.id.typewritertext); in onCreate()
153 TypewriterTextView tv = (TypewriterTextView)findViewById(R.id.typewritertext); in onTouchEvent()
176 TypewriterTextView tv = (TypewriterTextView)findViewById(R.id.typewritertext); in showPage()
184 ImageView image = (ImageView)findViewById(R.id.speaker); in showPage()
192 TextView title = (TextView)findViewById(R.id.speakername); in showPage()
204 TextView textView = (TextView)findViewById(R.id.typewritertext); in processText()
DGameOverActivity.java135 mPearlView = (IncrementingTextView)findViewById(R.id.pearl_percent); in onCreate()
136 mEnemiesDestroyedView = (IncrementingTextView)findViewById(R.id.enemy_percent); in onCreate()
137 mPlayTimeView = (IncrementingTextView)findViewById(R.id.total_play_time); in onCreate()
138 mEndingView = (TextView)findViewById(R.id.ending); in onCreate()
167 Button okButton = (Button)findViewById(R.id.ok); in onCreate()
DExtrasMenuActivity.java97 mLinearModeButton = findViewById(R.id.linearModeButton); in onCreate()
98 mLevelSelectButton = findViewById(R.id.levelSelectButton); in onCreate()
99 mControlsButton = findViewById(R.id.controlsButton); in onCreate()
100 mLinearModeLocked = findViewById(R.id.linearModeLocked); in onCreate()
101 mLevelSelectLocked = findViewById(R.id.levelSelectLocked); in onCreate()
103 mBackground = findViewById(R.id.mainMenuBackground); in onCreate()
/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/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/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallFragment.java58 (TextView) controlView.findViewById(R.id.contact_name_call); in onCreateView()
60 (ImageButton) controlView.findViewById(R.id.button_call_disconnect); in onCreateView()
62 (ImageButton) controlView.findViewById(R.id.button_call_switch_camera); in onCreateView()
64 (ImageButton) controlView.findViewById(R.id.button_call_scaling_mode); in onCreateView()
66 (TextView) controlView.findViewById(R.id.capture_format_text_call); in onCreateView()
68 (SeekBar) controlView.findViewById(R.id.capture_format_slider_call); in onCreateView()
DHudFragment.java49 encoderStatView = (TextView) controlView.findViewById(R.id.encoder_stat_call); in onCreateView()
50 hudViewBwe = (TextView) controlView.findViewById(R.id.hud_stat_bwe); in onCreateView()
51 hudViewConnection = (TextView) controlView.findViewById(R.id.hud_stat_connection); in onCreateView()
52 hudViewVideoSend = (TextView) controlView.findViewById(R.id.hud_stat_video_send); in onCreateView()
53 hudViewVideoRecv = (TextView) controlView.findViewById(R.id.hud_stat_video_recv); in onCreateView()
54 toggleDebugButton = (ImageButton) controlView.findViewById(R.id.button_toggle_debug); in onCreateView()
/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()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DDragLatencyFragment.java99 logTextView = (TextView) view.findViewById(R.id.txt_log_drag_latency); in onCreateView()
100 startButton = view.findViewById(R.id.button_start_drag); in onCreateView()
101 restartButton = view.findViewById(R.id.button_restart_drag); in onCreateView()
102 finishButton = view.findViewById(R.id.button_finish_drag); in onCreateView()
103 touchCatcher = (TouchCatcherView) view.findViewById(R.id.tap_catcher); in onCreateView()
104 crossCountsView = (TextView) view.findViewById(R.id.txt_cross_counts); in onCreateView()
105 dragCountsView = (TextView) view.findViewById(R.id.txt_drag_counts); in onCreateView()
106 latencyChart = (ScatterChart) view.findViewById(R.id.latency_chart); in onCreateView()
107 latencyChartLayout = view.findViewById(R.id.latency_chart_layout); in onCreateView()
109 view.findViewById(R.id.button_close_chart).setOnClickListener(this); in onCreateView()
DAudioFragment.java92 textView = (TextView) view.findViewById(R.id.txt_box_audio); in onCreateView()
94 startButton = view.findViewById(R.id.button_start_audio); in onCreateView()
95 stopButton = view.findViewById(R.id.button_stop_audio); in onCreateView()
96 chartLayout = view.findViewById(R.id.chart_layout); in onCreateView()
97 chart = (LineChart) view.findViewById(R.id.chart); in onCreateView()
98 latencyChart = (HistogramChart) view.findViewById(R.id.latency_chart); in onCreateView()
100 view.findViewById(R.id.button_close_chart).setOnClickListener(this); in onCreateView()
104 modeSpinner = (Spinner) view.findViewById(R.id.spinner_audio_mode); in onCreateView()
DTapLatencyFragment.java152 restartButton = (ImageButton) view.findViewById(R.id.button_restart_tap); in onCreateView()
153 finishButton = (ImageButton) view.findViewById(R.id.button_finish_tap); in onCreateView()
154 tapCatcherView = (TextView) view.findViewById(R.id.tap_catcher); in onCreateView()
155 logTextView = (TextView) view.findViewById(R.id.txt_log_tap_latency); in onCreateView()
156 tapCountsView = (TextView) view.findViewById(R.id.txt_tap_counts); in onCreateView()
157 moveCountsView = (TextView) view.findViewById(R.id.txt_move_count); in onCreateView()
158 latencyChart = (HistogramChart) view.findViewById(R.id.latency_chart); in onCreateView()
/external/grpc-grpc-java/examples/android/routeguide/app/src/main/java/io/grpc/routeguideexample/
DRouteGuideActivity.java63 hostEdit = (EditText) findViewById(R.id.host_edit_text); in onCreate()
64 portEdit = (EditText) findViewById(R.id.port_edit_text); in onCreate()
65 startRouteGuideButton = (Button) findViewById(R.id.start_route_guide_button); in onCreate()
66 exitRouteGuideButton = (Button) findViewById(R.id.exit_route_guide_button); in onCreate()
67 getFeatureButton = (Button) findViewById(R.id.get_feature_button); in onCreate()
68 listFeaturesButton = (Button) findViewById(R.id.list_features_button); in onCreate()
69 recordRouteButton = (Button) findViewById(R.id.record_route_button); in onCreate()
70 routeChatButton = (Button) findViewById(R.id.route_chat_button); in onCreate()
71 resultText = (TextView) findViewById(R.id.result_text); in onCreate()

1234567