Home
last modified time | relevance | path

Searched refs:getView (Results 1 – 25 of 359) sorted by relevance

12345678910>>...15

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseContentFragment.java176 if (mFragment.getView() == null) return null; in getIcon()
177 return (ImageView) mFragment.getView().findViewById(R.id.icon); in getIcon()
181 if (mFragment.getView() == null) return null; in getTitle()
182 return (TextView) mFragment.getView().findViewById(R.id.title); in getTitle()
198 return (RelativeLayout) mFragment.getView(); in getRoot()
202 if (mFragment.getView() == null) return null; in getBreadCrumb()
203 return (TextView) mFragment.getView().findViewById(R.id.breadcrumb); in getBreadCrumb()
207 if (mFragment.getView() == null) return null; in getDescription()
208 return (TextView) mFragment.getView().findViewById(R.id.description); in getDescription()
218 if (mFragment.getView() == null) return; in setTextToExtra()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraPreview.java37 View getView(); in getView() method
57 Assert.isNotNull(host.getView()); in CameraPreview()
70 boolean visible = host.getView().getVisibility() == View.VISIBLE; in maybeOpenCamera()
89 host.getView().requestLayout(); in setSize()
131 return host.getView().getContext(); in getContext()
136 host.getView().setOnTouchListener(listener); in setOnTouchListener()
140 host.getView().setOnTouchListener(focusable ? listener : null); in setFocusable()
144 return host.getView().getHeight(); in getHeight()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupOptionsFragment.java61 mCheckFrequencyView = UiUtilities.getView(view, R.id.account_check_frequency); in onCreateView()
62 mSyncWindowView = UiUtilities.getView(view, R.id.account_sync_window); in onCreateView()
63 mNotifyView = UiUtilities.getView(view, R.id.account_notify); in onCreateView()
65 mSyncContactsView = UiUtilities.getView(view, R.id.account_sync_contacts); in onCreateView()
66 mSyncCalendarView = UiUtilities.getView(view, R.id.account_sync_calendar); in onCreateView()
67 mSyncEmailView = UiUtilities.getView(view, R.id.account_sync_email); in onCreateView()
69 mBackgroundAttachmentsView = UiUtilities.getView(view, R.id.account_background_attachments); in onCreateView()
71 mSyncwindowLabel = UiUtilities.getView(view, R.id.account_sync_window_label); in onCreateView()
80 final View view = getView(); in onActivityCreated()
DAccountSetupCredentialsFragment.java122 mNextButton = UiUtilities.getView(view, R.id.done); in onCreateView()
124 mPreviousButton = UiUtilities.getView(view, R.id.cancel); in onCreateView()
132 mImapPasswordText = UiUtilities.getView(view, R.id.imap_password); in onCreateView()
133 mRegularPasswordText = UiUtilities.getView(view, R.id.regular_password); in onCreateView()
134 mOAuthGroup = UiUtilities.getView(view, R.id.oauth_group); in onCreateView()
135 mOAuthButton = UiUtilities.getView(view, R.id.sign_in_with_oauth); in onCreateView()
137 mClientCertificateSelector = UiUtilities.getView(view, R.id.client_certificate_selector); in onCreateView()
138 mDeviceIdSection = UiUtilities.getView(view, R.id.device_id_section); in onCreateView()
139 mDeviceId = UiUtilities.getView(view, R.id.device_id); in onCreateView()
140 mPasswordWarningLabel = UiUtilities.getView(view, R.id.wrong_password_warning_label); in onCreateView()
[all …]
DAccountSetupIncomingFragment.java134 mUsernameView = UiUtilities.getView(view, R.id.account_username); in onCreateView()
135 mServerLabelView = UiUtilities.getView(view, R.id.account_server_label); in onCreateView()
136 mServerView = UiUtilities.getView(view, R.id.account_server); in onCreateView()
137 mPortView = UiUtilities.getView(view, R.id.account_port); in onCreateView()
138 mSecurityTypeView = UiUtilities.getView(view, R.id.account_security_type); in onCreateView()
139 mDeletePolicyLabelView = UiUtilities.getView(view, R.id.account_delete_policy_label); in onCreateView()
140 mDeletePolicyView = UiUtilities.getView(view, R.id.account_delete_policy); in onCreateView()
141 mImapPathPrefixSectionView = UiUtilities.getView(view, R.id.imap_path_prefix_section); in onCreateView()
142 mImapPathPrefixView = UiUtilities.getView(view, R.id.imap_path_prefix); in onCreateView()
143 mAuthenticationView = UiUtilities.getView(view, R.id.authentication_view); in onCreateView()
[all …]
DDebugFragment.java57 final CheckBox enableDebugLoggingView = UiUtilities.getView(view, R.id.debug_logging); in onCreateView()
60 final CheckBox enableExchangeLoggingView = UiUtilities.getView(view, R.id.exchange_logging); in onCreateView()
61 final CheckBox enableFileLoggingView = UiUtilities.getView(view, R.id.file_logging); in onCreateView()
76 UiUtilities.getView(view, R.id.clear_webview_cache).setOnClickListener(this); in onCreateView()
77 UiUtilities.getView(view, R.id.clear_migration_state).setOnClickListener(this); in onCreateView()
80 UiUtilities.getView(view, R.id.debug_enable_strict_mode); in onCreateView()
DAuthenticationView.java74 mPasswordWrapper = UiUtilities.getView(this, R.id.password_wrapper); in onFinishInflate()
75 mOAuthWrapper = UiUtilities.getView(this, R.id.oauth_wrapper); in onFinishInflate()
76 mPasswordEdit = UiUtilities.getView(this, R.id.password_edit); in onFinishInflate()
77 mOAuthLabel = UiUtilities.getView(this, R.id.oauth_label); in onFinishInflate()
78 mClearPasswordView = UiUtilities.getView(this, R.id.clear_password); in onFinishInflate()
79 mClearOAuthView = UiUtilities.getView(this, R.id.clear_oauth); in onFinishInflate()
80 mAddAuthenticationView = UiUtilities.getView(this, R.id.add_authentication); in onFinishInflate()
DAccountSetupOutgoingFragment.java117 mUsernameView = UiUtilities.getView(view, R.id.account_username); in onCreateView()
118 mAuthenticationView = UiUtilities.getView(view, R.id.authentication_view); in onCreateView()
119 mServerView = UiUtilities.getView(view, R.id.account_server); in onCreateView()
120 mPortView = UiUtilities.getView(view, R.id.account_port); in onCreateView()
121 mRequireLoginView = UiUtilities.getView(view, R.id.account_require_login); in onCreateView()
122 mSecurityTypeView = UiUtilities.getView(view, R.id.account_security_type); in onCreateView()
299 UiUtilities.setVisibilitySafe(getView(), R.id.account_require_login_settings, visibility); in onCheckedChanged()
300 UiUtilities.setVisibilitySafe(getView(), R.id.account_require_login_settings_2, visibility); in onCheckedChanged()
DAccountSetupABFragment.java90 final TextView abInstructions = UiUtilities.getView(view, R.id.ab_instructions); in onCreateView()
94 final View nextButton = UiUtilities.getView(view, R.id.next); in onCreateView()
97 final Button abButtonA = UiUtilities.getView(view, R.id.ab_button_a); in onCreateView()
101 final Button abButtonB = UiUtilities.getView(view, R.id.ab_button_b); in onCreateView()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/dialpad/
DDialpadFragmentTest.java137 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testDeleteButton_normalString()
149 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testDeleteButton_oneDigit()
160 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testDeleteButton_emptyString()
171 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testLongPressDeleteButton()
185 View callButton = mDialpadFragment.getView().findViewById(R.id.call_button); in testCallButton_emptyString()
210 TextView displayName = mDialpadFragment.getView().findViewById(R.id.display_name); in testDisplayName()
222 View callButton = mDialpadFragment.getView().findViewById(R.id.call_button); in verifyButtonVisibility()
223 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in verifyButtonVisibility()
231 TextView mTitleView = mDialpadFragment.getView().findViewById(R.id.title); in verifyTitleText()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraPreview.java35 View getView(); in getView() method
49 Assert.notNull(host.getView()); in CameraPreview()
66 mHost.getView().requestLayout(); in setSize()
106 return mHost.getView().getContext(); in getContext()
110 mHost.getView().setOnTouchListener(listener); in setOnTouchListener()
114 return mHost.getView().getHeight(); in getHeight()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java146 final ViewPager pager = (ViewPager) getFragment().getView().findViewById(R.id.pager); in testInitialState()
149 .getViewHolder(0).getView(null); in testInitialState()
160 final ListView listView = (ListView) getFragment().getView() in testLoadAllContactsList()
172 final ListView listView = (ListView) getFragment().getView() in testLoadFrequentContactsList()
181 final ListView listView = (ListView) getFragment().getView() in testPickInitialContact()
187 getFragment().getView() in testPickInitialContact()
214 final ListView listView = (ListView) getFragment().getView() in testPickMoreContacts()
DContactListItemViewTest.java78 final ContactListItemView view = getView(); in testBindFirstLevel()
89 final ContactListItemView view = getView(); in testBindSecondLevel()
100 final ContactListItemView view = getView(); in testClickAddedContact()
110 final ContactListItemView view = getView(); in testBindTwice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreferenceTest.java70 TextView title = adapter.getView(i, null, null).findViewById(R.id.title); in initialize_defaultEntries_shouldDisplayDefalutEntries()
71 TextView summary = adapter.getView(i, null, null).findViewById(R.id.summary); in initialize_defaultEntries_shouldDisplayDefalutEntries()
89 TextView title = adapter.getView(i, null, null).findViewById(R.id.title); in setEntries_customEntries_shouldUpdateEntries()
90 TextView summary = adapter.getView(i, null, null).findViewById(R.id.summary); in setEntries_customEntries_shouldUpdateEntries()
114 TextView title = adapter.getView(i, null, null).findViewById(R.id.title); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries()
115 TextView summary = adapter.getView(i, null, null).findViewById(R.id.summary); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java103 View muteButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testMuteButton()
123 View dialpadButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testDialpadButton()
144 View endCallButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testEndCallButton()
156 View fragmentView = mOnGoingCallControllerBarFragment.getView(); in testAudioRouteButton_withOneAudioRoute()
167 View fragmentView = mOnGoingCallControllerBarFragment.getView(); in testAudioRouteButtonView_withMultipleAudioRoutes()
176 ImageView pauseButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testClickPauseButton_activeCall()
193 ImageView pauseButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testClickPauseButton_connectingCall()
DRingingCallControllerBarFragmentTest.java70 View answerCallButton = mRingingCallControllerBarFragment.getView().findViewById( in testAnswerCallButton()
81 View answerCallText = mRingingCallControllerBarFragment.getView().findViewById( in testAnswerCallText()
92 View endCallButton = mRingingCallControllerBarFragment.getView().findViewById( in testEndCallButton()
103 View endCallText = mRingingCallControllerBarFragment.getView().findViewById( in testEndCallText()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationMessageViewTest.java46 protected ConversationMessageView getView() { in getView() method in ConversationMessageViewTest
47 final ConversationMessageView view = super.getView(); in getView()
70 final ConversationMessageView view = getView(); in testBind()
81 final ConversationMessageView view = getView(); in testBindTwice()
94 final ConversationMessageView view = getView(); in testBindLast()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoCallFragment.java372 getView().postDelayed(cameraPermissionDialogRunnable, CAMERA_PERMISSION_DIALOG_DELAY_IN_MILLIS); in onVideoScreenStart()
373 getView() in onVideoScreenStart()
400 getView().removeCallbacks(videoChargesAlertDialogRunnable); in onVideoScreenStop()
401 getView().removeCallbacks(cameraPermissionDialogRunnable); in onVideoScreenStop()
408 if (!getView().isAttachedToWindow()) { in exitFullscreenMode()
491 View view = getView(); in showSystemUI()
501 View view = getView(); in hideSystemUI()
545 getView().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in getPreviewOffsetStartShown()
546 ? getView().getRootWindowInsets().getStableInsetLeft() in getPreviewOffsetStartShown()
547 : -getView().getRootWindowInsets().getStableInsetRight(); in getPreviewOffsetStartShown()
[all …]
DSurfaceViewVideoCallFragment.java313 getView().postDelayed(cameraPermissionDialogRunnable, CAMERA_PERMISSION_DIALOG_DELAY_IN_MILLIS); in onVideoScreenStart()
339 getView().removeCallbacks(cameraPermissionDialogRunnable); in onVideoScreenStop()
346 if (!getView().isAttachedToWindow()) { in exitFullscreenMode()
429 View view = getView(); in showSystemUI()
439 View view = getView(); in hideSystemUI()
483 getView().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in getPreviewOffsetStartShown()
484 ? getView().getRootWindowInsets().getStableInsetLeft() in getPreviewOffsetStartShown()
485 : -getView().getRootWindowInsets().getStableInsetRight(); in getPreviewOffsetStartShown()
488 return new Point(0, -getView().getRootWindowInsets().getStableInsetBottom()); in getPreviewOffsetStartShown()
690 if (getView().isAttachedToWindow() && !getActivity().isInMultiWindowMode()) { in updateFullscreenAndGreenScreenMode()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/widget/
DCompositeListAdapterTest.java53 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in CompositeListAdapterTest.MockAdapter
168 assertEquals(0, adapter.getView(0, null, null).getTag()); in testGetView()
169 assertEquals(1, adapter.getView(1, null, null).getTag()); in testGetView()
170 assertEquals(0, adapter.getView(2, null, null).getTag()); in testGetView()
171 assertEquals(1, adapter.getView(3, null, null).getTag()); in testGetView()
172 assertEquals(2, adapter.getView(4, null, null).getTag()); in testGetView()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemViewTest.java77 final GalleryGridItemView view = getView(); in testBind()
90 final GalleryGridItemView view = getView(); in testBindMultiSelectUnSelected()
103 final GalleryGridItemView view = getView(); in testBindMultiSelectSelected()
116 final GalleryGridItemView view = getView(); in testClick()
128 final GalleryGridItemView view = getView(); in testBindTwice()
/packages/apps/Dialer/java/com/android/incallui/hold/
DOnHoldFragment.java92 if (getView() == null) { in applyInset()
97 if (newPadding != getView().getPaddingTop()) { in applyInset()
98 TransitionManager.beginDelayedTransition(((ViewGroup) getView().getParent())); in applyInset()
99 getView().setPadding(0, newPadding, 0, 0); in applyInset()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DStorageDashboardFragmentTest.java122 when(mFragment.getView()).thenReturn(fakeView); in test_loadWhenQuotaOffIfVolumeInfoNotLoaded()
136 when(mFragment.getView()).thenReturn(fakeView); in test_dontLoadWhenQuotaOffIfVolumeInfoNotLoaded()
153 when(mFragment.getView()).thenReturn(fakeView); in test_loadWhenQuotaOnAndVolumeInfoLoadedButAppsMissing()
170 when(mFragment.getView()).thenReturn(fakeView); in test_loadWhenQuotaOnAndAppsLoadedButVolumeInfoMissing()
185 when(mFragment.getView()).thenReturn(fakeView); in test_dontLoadWhenQuotaOnAndAllLoaded()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
DConversationListFragmentTest.java100 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testLoadListView()
111 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testEmptyView()
113 getFragment().getView().findViewById(R.id.no_conversations_view); in testEmptyView()
125 getFragment().getView().findViewById(R.id.start_new_conversation_button); in testStartNewConversation()
/packages/apps/Contacts/src/com/android/contacts/widget/
DSingleItemAdapter.java39 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in SingleItemAdapter
40 return getView(convertView, parent); in getView()
46 protected abstract View getView(View convertView, ViewGroup parent); in getView() method in SingleItemAdapter

12345678910>>...15