Home
last modified time | relevance | path

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

12345678910>>...14

/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/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/dialpad/
DDialpadFragmentTest.java159 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testDeleteButton_normalString()
171 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testDeleteButton_oneDigit()
182 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testDeleteButton_emptyString()
193 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in testLongPressDeleteButton()
207 View callButton = mDialpadFragment.getView().findViewById(R.id.call_button); in testCallButton_emptyString()
233 TextView displayName = mDialpadFragment.getView().findViewById(R.id.display_name); in testDisplayName()
251 View callButton = mDialpadFragment.getView().findViewById(R.id.call_button); in verifyButtonVisibility()
252 ImageButton deleteButton = mDialpadFragment.getView().findViewById(R.id.delete_button); in verifyButtonVisibility()
260 TextView mTitleView = mDialpadFragment.getView().findViewById(R.id.title); in verifyTitleText()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragmentTest.java110 View muteButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testMuteButton()
130 View dialpadButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testDialpadButton()
151 View endCallButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testEndCallButton()
163 View fragmentView = mOnGoingCallControllerBarFragment.getView(); in testAudioRouteButton_withOneAudioRoute()
174 View fragmentView = mOnGoingCallControllerBarFragment.getView(); in testAudioRouteButtonView_withMultipleAudioRoutes()
183 ImageView pauseButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testClickPauseButton_activeCall()
201 ImageView pauseButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testClickPauseButton_onholdCall()
214 ImageView pauseButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testClickPauseButton_connectingCall()
227 ImageView pauseButton = mOnGoingCallControllerBarFragment.getView().findViewById( in testPauseButton_MultipleCall()
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/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.java147 final ViewPager pager = (ViewPager) getFragment().getView().findViewById(R.id.pager); in testInitialState()
150 .getViewHolder(0).getView(null); in testInitialState()
161 final ListView listView = (ListView) getFragment().getView() in testLoadAllContactsList()
173 final ListView listView = (ListView) getFragment().getView() in testLoadFrequentContactsList()
182 final ListView listView = (ListView) getFragment().getView() in testPickInitialContact()
188 getFragment().getView() in testPickInitialContact()
215 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.java72 TextView title = adapter.getView(i, null, null).findViewById(R.id.title); in initialize_defaultEntries_shouldDisplayDefaultEntries()
73 TextView summary = adapter.getView(i, null, null).findViewById(R.id.summary); in initialize_defaultEntries_shouldDisplayDefaultEntries()
91 TextView title = adapter.getView(i, null, null).findViewById(R.id.title); in setEntries_customEntries_shouldUpdateEntries()
92 TextView summary = adapter.getView(i, null, null).findViewById(R.id.summary); in setEntries_customEntries_shouldUpdateEntries()
116 TextView title = adapter.getView(i, null, null).findViewById(R.id.title); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries()
117 TextView summary = adapter.getView(i, null, null).findViewById(R.id.summary); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries()
/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()
DComposeMessageViewTest.java85 protected ComposeMessageView getView() { in getView() method in ComposeMessageViewTest
86 final ComposeMessageView view = super.getView(); in getView()
102 final ComposeMessageView view = getView(); in testSend()
153 final ComposeMessageView view = getView(); in testNotDefaultSms()
/packages/apps/Dialer/java/com/android/incallui/video/impl/
DVideoCallFragment.java324 if (getActivity() != null && getView() != null) { in onCreateView()
401 getView().postDelayed(cameraPermissionDialogRunnable, CAMERA_PERMISSION_DIALOG_DELAY_IN_MILLIS); in onVideoScreenStart()
402 getView() in onVideoScreenStart()
429 getView().removeCallbacks(videoChargesAlertDialogRunnable); in onVideoScreenStop()
430 getView().removeCallbacks(cameraPermissionDialogRunnable); in onVideoScreenStop()
437 if (!getView().isAttachedToWindow()) { in exitFullscreenMode()
527 View view = getView(); in showSystemUI()
537 View view = getView(); in hideSystemUI()
581 getView().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in getPreviewOffsetStartShown()
582 ? getView().getRootWindowInsets().getSystemWindowInsetLeft() in getPreviewOffsetStartShown()
[all …]
DSurfaceViewVideoCallFragment.java312 getView().postDelayed(cameraPermissionDialogRunnable, CAMERA_PERMISSION_DIALOG_DELAY_IN_MILLIS); in onVideoScreenStart()
338 getView().removeCallbacks(cameraPermissionDialogRunnable); in onVideoScreenStop()
345 if (!getView().isAttachedToWindow()) { in exitFullscreenMode()
428 View view = getView(); in showSystemUI()
438 View view = getView(); in hideSystemUI()
482 getView().getLayoutDirection() == View.LAYOUT_DIRECTION_RTL in getPreviewOffsetStartShown()
483 ? getView().getRootWindowInsets().getStableInsetLeft() in getPreviewOffsetStartShown()
484 : -getView().getRootWindowInsets().getStableInsetRight(); in getPreviewOffsetStartShown()
487 return new Point(0, -getView().getRootWindowInsets().getStableInsetBottom()); in getPreviewOffsetStartShown()
689 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()
DConversationListItemViewTest.java133 final ConversationListItemView view = getView(); in testBindUnread()
142 final ConversationListItemView view = getView(); in testBindRead()
152 final ConversationListItemView view = getView(); in testClickLaunchesConversation()
162 final ConversationListItemView view = getView(); in testBindTwice()
/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
/packages/apps/Tag/src/com/android/apps/tag/record/
DSmartPoster.java160 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) { in getView() method in SmartPoster
168 container.addView(mTitleRecord.getView(activity, inflater, container, offset)); in getView()
170 container.addView(mUriRecord.getView(activity, inflater, container, offset)); in getView()
174 return mUriRecord.getView(activity, inflater, parent, offset); in getView()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DDefaultSuggestionViewFactory.java64 public View getView(SuggestionCursor suggestion, String userQuery, in getView() method in DefaultSuggestionViewFactory
68 return factory.getView(suggestion, userQuery, convertView, parent); in getView()
71 return mDefaultFactory.getView(suggestion, userQuery, convertView, parent); in getView()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DMultiAttachmentLayoutTest.java43 protected MultiAttachmentLayout getView() { in getView() method in MultiAttachmentLayoutTest
79 final MultiAttachmentLayout view = getView(); in testBindTwoAttachments()
91 final MultiAttachmentLayout view = getView(); in testBindFiveAttachments()
/packages/apps/Camera2/src/com/android/camera/data/
DFixedLastProxyAdapter.java114 public View getView(View recycled, int index, VideoClickedCallback videoClickedCallback) { in getView() method in FixedLastProxyAdapter
118 return mAdapter.getView(recycled, index, videoClickedCallback); in getView()
121 return mLastData.getView(Optional.fromNullable(recycled), null, false, in getView()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/warning/
DNoHfpFragmentTest.java84 assertThat(mNoHfpFragment.getView()).isNotNull(); in createView_notNull()
89 View rootView = mNoHfpFragment.getView(); in createView_displayErrorMsg()
98 View rootView = mNoHfpFragment.getView(); in setErrorMsg_updateErrorMsgView()

12345678910>>...14