/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | FatActivity.java | 96 mRoot = findViewById(R.id.root); in onCreate() 97 mCaptcha = findViewById(R.id.captcha); in onCreate() 98 mInput = findViewById(R.id.input); in onCreate() 99 mImage = findViewById(R.id.image); in onCreate() 100 mImportantImage = findViewById(R.id.important_image); in onCreate() 102 mNotImportantContainerExcludingDescendants = findViewById( in onCreate() 104 mNotImportantContainerExcludingDescendantsChild = findViewById( in onCreate() 106 mNotImportantContainerExcludingDescendantsGrandChild = findViewById( in onCreate() 109 mImportantContainerExcludingDescendants = findViewById( in onCreate() 111 mImportantContainerExcludingDescendantsChild = findViewById( in onCreate() [all …]
|
D | GridActivity.java | 62 mGrid = findViewById(R.id.grid); in onCreate() 63 mCells[0][0] = findViewById(R.id.l1c1); in onCreate() 64 mCells[0][1] = findViewById(R.id.l1c2); in onCreate() 65 mCells[1][0] = findViewById(R.id.l2c1); in onCreate() 66 mCells[1][1] = findViewById(R.id.l2c2); in onCreate() 67 mCells[2][0] = findViewById(R.id.l3c1); in onCreate() 68 mCells[2][1] = findViewById(R.id.l3c2); in onCreate() 69 mCells[3][0] = findViewById(R.id.l4c1); in onCreate() 70 mCells[3][1] = findViewById(R.id.l4c2); in onCreate() 71 mSaveButton = findViewById(R.id.save); in onCreate() [all …]
|
D | LoginActivity.java | 99 mUsernameContainer = findViewById(R.id.username_container); in onCreate() 100 mLoginButton = findViewById(R.id.login); in onCreate() 101 mSaveButton = findViewById(R.id.save); in onCreate() 102 mClearButton = findViewById(R.id.clear); in onCreate() 103 mCancelButton = findViewById(R.id.cancel); in onCreate() 104 mUsernameLabel = findViewById(R.id.username_label); in onCreate() 105 mUsernameEditText = findViewById(R.id.username); in onCreate() 106 mPasswordLabel = findViewById(R.id.password_label); in onCreate() 107 mPasswordEditText = findViewById(R.id.password); in onCreate() 108 mOutput = findViewById(R.id.output); in onCreate()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewIsHorizontallyScrollableTest.java | 53 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingDefaultIsFalse() 61 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingSameAsGiven() 70 final TextView textView = mViewGroup.findViewById( in testIsHorizontallyScrollingTrueToFalse() 81 final TextView textViewTrue = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML() 87 final TextView textViewFalse = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML() 94 final TextView textViewDefault = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue() 98 final TextView textViewTrue = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue() 102 final TextView textViewFalse = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnTrueWhenSingleLineIsTrue() 109 final TextView textViewDefault = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnGivenValueWhenSingleLineIsFalse() 113 final TextView textViewTrue = mViewGroup.findViewById( in testIsHorizontallyScrollingSetInXML_returnGivenValueWhenSingleLineIsFalse() [all …]
|
D | RemoteViewsActivityTest.java | 64 ViewGroup parent = (ViewGroup) mActivity.findViewById(R.id.remoteView_host); in testGood() 70 assertTrue("LinearLayout not inflated", result.findViewById(R.id.linear) != null); in testGood() 71 assertTrue("TextView not inflated", result.findViewById(R.id.text) != null); in testGood() 72 assertTrue("ImageView not inflated", result.findViewById(R.id.image) != null); in testGood() 73 assertTrue("FrameLayout not inflated", result.findViewById(R.id.frame) != null); in testGood() 74 assertTrue("RelateiveLayout not inflated", result.findViewById(R.id.relative) != null); in testGood() 75 assertTrue("AbsoluteLayout not inflated", result.findViewById(R.id.absolute) != null); in testGood() 76 assertTrue("ProgressBar not inflated", result.findViewById(R.id.progress) != null); in testGood() 77 assertTrue("ImageButton not inflated", result.findViewById(R.id.image_button) != null); in testGood() 78 assertTrue("Button not inflated", result.findViewById(R.id.button) != null); in testGood() [all …]
|
D | ViewAnimatorTest.java | 93 final View v1 = mActivity.findViewById(R.id.ok); in testShowNext() 94 final View v2 = mActivity.findViewById(R.id.cancel); in testShowNext() 95 final View v3 = mActivity.findViewById(R.id.label); in testShowNext() 96 final View v4 = mActivity.findViewById(R.id.entry); in testShowNext() 140 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChild() 141 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChild() 175 final View v1 = mActivity.findViewById(R.id.ok); in testAccessDisplayedChildBoundary() 176 final View v2 = mActivity.findViewById(R.id.cancel); in testAccessDisplayedChildBoundary() 204 final View v1 = mActivity.findViewById(R.id.ok); in testGetBaseline() 205 final View v2 = mActivity.findViewById(R.id.cancel); in testGetBaseline() [all …]
|
D | RemoteViewsTest.java | 128 ViewGroup root = (ViewGroup) mActivityRule.getActivity().findViewById in setup() 169 View view = mResult.findViewById(R.id.remoteView_frame); in testSetContentDescription() 181 View view = mResult.findViewById(R.id.remoteView_chronometer); in testSetViewVisibility() 199 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetTextViewText() 218 TextView textView = (TextView) mResult.findViewById(R.id.remoteView_text); in testSetTextViewTextSize() 232 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); in testSetIcon() 246 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); in testSetImageViewIcon() 261 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); in testSetImageViewResource() 285 ImageView image = (ImageView) mResult.findViewById(R.id.remoteView_image); in testSetImageViewUri() 311 Chronometer chronometer = (Chronometer) mResult.findViewById(R.id.remoteView_chronometer); in testSetChronometer() [all …]
|
D | ViewFlipperTest.java | 95 (ViewFlipper) mActivity.findViewById(R.id.viewflipper_test); in testViewFlipper() 97 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper() 98 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper() 114 (ViewFlipper) mActivity.findViewById(R.id.viewflipper_test); in testViewFlipper() 116 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper() 117 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper() 127 (ViewFlipper) mActivity.findViewById(R.id.viewflipper_test); in testViewFlipper() 129 TextView iv1 = (TextView) mActivity.findViewById(R.id.viewflipper_textview1); in testViewFlipper() 130 TextView iv2 = (TextView) mActivity.findViewById(R.id.viewflipper_textview2); in testViewFlipper()
|
D | LinearLayoutTest.java | 105 LinearLayout parent = (LinearLayout) mActivity.findViewById(R.id.linear_empty); in testAccessBaselineAligned() 113 parent = (LinearLayout) mActivity.findViewById(R.id.linear_weightsum); in testAccessBaselineAligned() 117 parent = (LinearLayout) mActivity.findViewById(R.id.linear_horizontal); in testAccessBaselineAligned() 122 parent = (LinearLayout) mActivity.findViewById(R.id.linear_vertical); in testAccessBaselineAligned() 129 LinearLayout parent = (LinearLayout) mActivity.findViewById(R.id.linear_empty); in testGetBaseline() 153 LinearLayout parent = (LinearLayout) mActivity.findViewById(R.id.linear_empty); in testAccessBaselineAlignedChildIndex() 179 parent = (LinearLayout) mActivity.findViewById(R.id.linear_baseline_aligned_child_index); in testAccessBaselineAlignedChildIndex() 188 LinearLayout parent = (LinearLayout) mActivity.findViewById(R.id.linear_weightsum); in testAccessWeightSum() 189 TextView weight02 = (TextView) parent.findViewById(R.id.weight_0_2); in testAccessWeightSum() 190 TextView weight05 = (TextView) parent.findViewById(R.id.weight_0_5); in testAccessWeightSum() [all …]
|
D | RelativeLayoutTest.java | 95 final RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testSetIgnoreGravity() 98 View view12 = mActivity.findViewById(R.id.relative_view12); in testSetIgnoreGravity() 99 View view13 = mActivity.findViewById(R.id.relative_view13); in testSetIgnoreGravity() 124 final RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testAccessGravity() 127 View view10 = mActivity.findViewById(R.id.relative_view10); in testAccessGravity() 128 View view11 = mActivity.findViewById(R.id.relative_view11); in testAccessGravity() 178 final RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testSetHorizontalGravity() 181 View view10 = mActivity.findViewById(R.id.relative_view10); in testSetHorizontalGravity() 182 View view11 = mActivity.findViewById(R.id.relative_view11); in testSetHorizontalGravity() 212 final RelativeLayout relativeLayout = (RelativeLayout) mActivity.findViewById( in testSetVerticalGravity() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleScannerPowerLevelActivity.java | 71 (TextView)findViewById(R.id.ble_ultra_low_mac)); in onCreate() 73 (TextView)findViewById(R.id.ble_low_mac)); in onCreate() 75 (TextView)findViewById(R.id.ble_medium_mac)); in onCreate() 77 (TextView)findViewById(R.id.ble_high_mac)); in onCreate() 80 (TextView)findViewById(R.id.ble_ultra_low_count)); in onCreate() 82 (TextView)findViewById(R.id.ble_low_count)); in onCreate() 84 (TextView)findViewById(R.id.ble_medium_count)); in onCreate() 86 (TextView)findViewById(R.id.ble_high_count)); in onCreate() 89 (TextView)findViewById(R.id.ble_ultra_low_rssi)); in onCreate() 91 (TextView)findViewById(R.id.ble_low_rssi)); in onCreate() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewPaddingTest.java | 55 View view1 = viewGroup.findViewById(R.id.view1); in testPadding() 56 View view2 = viewGroup.findViewById(R.id.view2); in testPadding() 57 View view3 = viewGroup.findViewById(R.id.view3); in testPadding() 58 View view4 = viewGroup.findViewById(R.id.view4); in testPadding() 59 View view5 = viewGroup.findViewById(R.id.view5); in testPadding() 60 View view6 = viewGroup.findViewById(R.id.view6); in testPadding() 61 View view7 = viewGroup.findViewById(R.id.view7); in testPadding() 62 View view8 = viewGroup.findViewById(R.id.view8); in testPadding() 63 View view9 = viewGroup.findViewById(R.id.view9); in testPadding() 64 View view10 = viewGroup.findViewById(R.id.view10); in testPadding() [all …]
|
D | View_DefaultFocusHighlightTest.java | 61 View view = activity.findViewById(R.id.view); in testSettersAndGetters() 62 ListView listView = (ListView) activity.findViewById(R.id.listview); in testSettersAndGetters() 63 EditText editText = (EditText) activity.findViewById(R.id.edittext); in testSettersAndGetters() 64 Button button = (Button) activity.findViewById(R.id.button); in testSettersAndGetters() 65 LinearLayout linearLayout = (LinearLayout) activity.findViewById(R.id.linearlayout); in testSettersAndGetters() 95 View view = activity.findViewById(R.id.view_to_inflate); in testInflating() 96 ListView listView = (ListView) activity.findViewById(R.id.listview_to_inflate); in testInflating() 97 EditText editText = (EditText) activity.findViewById(R.id.edittext_to_inflate); in testInflating() 98 Button button = (Button) activity.findViewById(R.id.button_to_inflate); in testInflating() 99 LinearLayout linearLayout = (LinearLayout) activity.findViewById( in testInflating() [all …]
|
D | View_IdsTest.java | 50 EditText editText = (EditText) activity.findViewById(R.id.entry); in testIds() 51 Button buttonOk = (Button) activity.findViewById(R.id.ok); in testIds() 52 Button buttonCancel = (Button) activity.findViewById(R.id.cancel); in testIds() 53 TextView symbol = (TextView) activity.findViewById(R.id.symbolball); in testIds() 54 TextView warning = (TextView) activity.findViewById(R.id.warning); in testIds() 67 assertSame(editText, (EditText) activity.findViewById(0x1111)); in testIds() 71 assertSame(buttonCancel, (Button) activity.findViewById(0x9999)); in testIds()
|
D | FocusFinderCtsActivity.java | 40 layout = (ViewGroup) findViewById(R.id.layout); in onCreate() 41 topLeftButton = (Button) findViewById(R.id.top_left_button); in onCreate() 42 topRightButton = (Button) findViewById(R.id.top_right_button); in onCreate() 43 bottomLeftButton = (Button) findViewById(R.id.bottom_left_button); in onCreate() 44 bottomRightButton = (Button) findViewById(R.id.bottom_right_button); in onCreate()
|
D | HoverTest.java | 86 mOuter = mActivity.findViewById(R.id.outer); in setup() 87 mMiddle1 = mActivity.findViewById(R.id.middle1); in setup() 88 mMiddle2 = mActivity.findViewById(R.id.middle2); in setup() 89 mInner11 = mActivity.findViewById(R.id.inner11); in setup() 90 mInner12 = mActivity.findViewById(R.id.inner12); in setup() 91 mInner21 = mActivity.findViewById(R.id.inner21); in setup() 92 mInner22 = mActivity.findViewById(R.id.inner22); in setup() 94 mOverlapping = mActivity.findViewById(R.id.overlapping); in setup() 95 mLayer1 = mActivity.findViewById(R.id.layer1); in setup() 96 mLayer2 = mActivity.findViewById(R.id.layer2); in setup() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvAppVerifierActivity.java | 51 mPostTarget = mItemList = (ViewGroup) view.findViewById(R.id.test_items); in onCreate() 61 View button = item.findViewById(R.id.user_action_button); in setButtonEnabled() 68 ImageView status = (ImageView) item.findViewById(R.id.status); in setPassState() 83 TextView instructions = (TextView) item.findViewById(R.id.instructions); in createUserItem() 85 Button button = (Button) item.findViewById(R.id.user_action_button); in createUserItem() 99 TextView instructions = (TextView) item.findViewById(R.id.instructions); in createUserItem() 101 Button button = (Button) item.findViewById(R.id.user_action_button); in createUserItem() 115 TextView instructions = (TextView) item.findViewById(R.id.instructions); in createAutoItem() 126 Button button = (Button) item.findViewById(R.id.user_action_button); in createButtonItem() 130 ImageView status = (ImageView) item.findViewById(R.id.status); in createButtonItem() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | Camera2MultiViewCtsActivity.java | 38 mTextureView[0] = (TextureView) findViewById(R.id.texture_view_1); in onCreate() 39 mTextureView[1] = (TextureView) findViewById(R.id.texture_view_2); in onCreate() 40 mTextureView[2] = (TextureView) findViewById(R.id.texture_view_3); in onCreate() 41 mTextureView[3] = (TextureView) findViewById(R.id.texture_view_4); in onCreate() 42 mTextureView[4] = (TextureView) findViewById(R.id.texture_view_5); in onCreate() 43 mSurfaceView[0] = (SurfaceView) findViewById(R.id.surface_view_1); in onCreate() 44 mSurfaceView[1] = (SurfaceView) findViewById(R.id.surface_view_2); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/voicemail/ |
D | VisualVoicemailServiceActivity.java | 89 mSetDefaultDialerImage = (ImageView) findViewById(R.id.set_default_dialer_image); in onCreate() 90 mRestoreDefaultDialerImage = (ImageView) findViewById(R.id.restore_default_dialer_image); in onCreate() 92 mRemoveSimBeforeTestImage = (ImageView) findViewById(R.id.remove_sim_before_test_image); in onCreate() 93 mRemoveSimBeforeTestText = (TextView) findViewById(R.id.remove_sim_before_test_text); in onCreate() 94 mRemoveSimBeforeTestOkButton = (Button) findViewById(R.id.remove_sim_ok); in onCreate() 95 mRemoveSimBeforeTestNAButton = (Button) findViewById(R.id.remove_sim_not_applicable); in onCreate() 97 mInsertSimImage = (ImageView) findViewById(R.id.insert_sim_image); in onCreate() 98 mInsertSimText = (TextView) findViewById(R.id.insert_sim_text); in onCreate() 100 mRemoveSimImage = (ImageView) findViewById(R.id.remove_sim_image); in onCreate() 101 mRemoveSimText = (TextView) findViewById(R.id.remove_sim_text); in onCreate()
|
D | VoicemailBroadcastActivity.java | 59 mLeaveVoicemailImage = (ImageView) findViewById(R.id.leave_voicemail_image); in onCreate() 60 mRestoreDefaultDialerImage = (ImageView) findViewById(R.id.restore_default_dialer_image); in onCreate() 61 mLeaveVoicemailText = (TextView) findViewById(R.id.leave_voicemail_text); in onCreate() 65 mNotApplicableButton = findViewById(R.id.call_settings_check_not_applicable); in onCreate() 91 findViewById(R.id.no_carrier_support).setVisibility(View.VISIBLE); in onCreate() 93 ((ImageView) findViewById(R.id.set_default_dialer_image)) in onCreate() 95 ((ImageView) findViewById(R.id.restore_default_dialer_image)) in onCreate()
|
D | CallSettingsCheckActivity.java | 53 mSetDefaultDialerButton = findViewById(R.id.set_default_dialer); in onCreate() 54 mNotApplicableButton = findViewById(R.id.call_settings_check_not_applicable); in onCreate() 55 mRestoreDefaultDialerImage = findViewById(R.id.restore_default_dialer_image); in onCreate() 69 findViewById(R.id.open_call_settings).setOnClickListener( in onCreate() 78 findViewById(R.id.settings_hidden).setOnClickListener( in onCreate() 88 findViewById(R.id.settings_not_hidden).setOnClickListener( in onCreate()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ActivityTransitionTest.java | 136 View sharedElement = mActivity.findViewById(R.id.blueSquare); in viewsNotStripped() 161 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped() 162 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped() 163 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped() 165 assertEquals(1, targetActivity.findViewById(R.id.redSquare).getAlpha(), 0.01f); in viewsNotStripped() 166 assertEquals(1, targetActivity.findViewById(R.id.greenSquare).getAlpha(), 0.01f); in viewsNotStripped() 167 assertEquals(1, targetActivity.findViewById(R.id.holder).getAlpha(), 0.01f); in viewsNotStripped() 195 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.redSquare).getVisibility()); in viewsNotStripped() 196 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped() 197 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.holder).getVisibility()); in viewsNotStripped() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/dialer/ |
D | DialerImplementsTelecomIntentsActivity.java | 59 mLaunchCallSettingsCheckBox = findViewById(R.id.dialer_telecom_intents_call_settings_check_box); in onCreate() 60 mLaunchShortSmsAnswerCheckBox = findViewById(R.id.dialer_telecom_intents_short_sms_check_box); in onCreate() 62 findViewById(R.id.dialer_telecom_intents_calling_accounts_check_box); in onCreate() 64 findViewById(R.id.dialer_telecom_intents_accessibility_settings_check_box); in onCreate() 75 mLaunchCallSettingsButton = findViewById(R.id.dialer_telecom_intents_call_settings); in onCreate() 79 mLaunchShortSmsAnswerButton = findViewById(R.id.dialer_telecom_intents_short_sms); in onCreate() 85 findViewById(R.id.dialer_telecom_intents_calling_accounts); in onCreate() 90 findViewById(R.id.dialer_telecom_intents_accessibility_settings); in onCreate()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 184 View v = mActivity.findViewById(viewId); in expectEvent5() 191 View v = mActivity.findViewById(viewId); in expectEndEvent() 205 View v = mActivity.findViewById(viewId); in expectEndEventFailure6() 206 View release = mActivity.findViewById(releaseViewId); in expectEndEventFailure6() 218 View v = mActivity.findViewById(viewId); in expectEventWithOffset() 219 View locationView = mActivity.findViewById(locationViewId); in expectEventWithOffset() 242 View v = mActivity.findViewById(viewId); in injectMouseWithOffset() 369 View v = mActivity.findViewById(R.id.draggable); in startDrag() 396 setRejectingHandlersOnTree(mActivity.findViewById(R.id.drag_drop_activity_main)); in testNoExtraEvents() 399 mActivity.findViewById(R.id.inner).setOnDragListener((v, ev) -> { in testNoExtraEvents() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | ProAudioActivity.java | 275 ((TextView)findViewById(R.id.proAudioHasProAudioLbl)).setText("" + mClaimsProAudio); in onCreate() 285 ((TextView)findViewById(R.id.proAudioHasLLALbl)).setText("" + mClaimsLowLatencyAudio); in onCreate() 288 ((TextView)findViewById(R.id.proAudioHasMIDILbl)).setText("" + mClaimsMIDI); in onCreate() 291 ((TextView)findViewById(R.id.proAudioMidiHasUSBHostLbl)).setText("" + mClaimsUSBHostMode); in onCreate() 294 ((TextView)findViewById( in onCreate() 298 mInputDeviceTxt = ((TextView)findViewById(R.id.proAudioInputLbl)); in onCreate() 299 mOutputDeviceTxt = ((TextView)findViewById(R.id.proAudioOutputLbl)); in onCreate() 302 mRoundTripLatencyTxt = (TextView)findViewById(R.id.proAudioRoundTripLbl); in onCreate() 303 mRoundTripConfidenceTxt = (TextView)findViewById(R.id.proAudioConfidenceLbl); in onCreate() 304 ((Button)findViewById(R.id.proAudio_runRoundtripBtn)).setOnClickListener(this); in onCreate() [all …]
|