/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | BaseContentFragment.java | 176 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/ |
D | CameraPreview.java | 37 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/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | CameraPreview.java | 35 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/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/ |
D | TwoPanelSettingsFragment.java | 148 if (getView() != null && getView().getViewTreeObserver() != null) { 149 getView().getViewTreeObserver().removeOnGlobalLayoutListener( 328 if (previewFragment.getView() != null) { in navigateToPreviewFragment() 329 previewFragment.getView().setImportantForAccessibility( in navigateToPreviewFragment() 364 if (fragment.getView() != null) { in updateAccessibilityTitle() 365 View titleView = fragment.getView().findViewById(R.id.guidance_title); in updateAccessibilityTitle() 380 if (getView() != null in updateAccessibilityTitle() 381 && getView().findViewById(R.id.two_panel_fragment_container) != null) { in updateAccessibilityTitle() 382 getView().findViewById(R.id.two_panel_fragment_container) in updateAccessibilityTitle() 578 && getView() != null && getView().getViewTreeObserver() != null) { in handleFragmentTransactionWhenFocused() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragmentTest.java | 143 final ViewPager pager = (ViewPager) getFragment().getView().findViewById(R.id.pager); in testInitialState() 146 .getViewHolder(0).getView(null); in testInitialState() 157 final ListView listView = (ListView) getFragment().getView() in testLoadAllContactsList() 169 final ListView listView = (ListView) getFragment().getView() in testLoadFrequentContactsList() 178 final ListView listView = (ListView) getFragment().getView() in testPickInitialContact() 184 getFragment().getView() in testPickInitialContact() 211 final ListView listView = (ListView) getFragment().getView() in testPickMoreContacts()
|
D | ContactListItemViewTest.java | 78 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/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageViewTest.java | 45 protected ConversationMessageView getView() { in getView() method in ConversationMessageViewTest 46 final ConversationMessageView view = super.getView(); in getView() 69 final ConversationMessageView view = getView(); in testBind() 80 final ConversationMessageView view = getView(); in testBindTwice() 93 final ConversationMessageView view = getView(); in testBindLast()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | ListWithEntrySummaryPreferenceTest.java | 72 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/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | DualPaneBaseCarSettingsActivityTest.java | 184 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onActivityCreated_hasFragment_contentFocused() 193 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onTopLevelPreferenceTapped_focusUpdated() 203 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onFragmentLaunched_maintainContentFocus() 207 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onFragmentLaunched_maintainContentFocus() 219 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onBack_maintainContentFocus() 222 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onBack_maintainContentFocus() 232 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onPreferenceDisabled_maintainContentFocus() 236 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onPreferenceDisabled_maintainContentFocus()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | SingleItemAdapter.java | 39 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/Dialer/java/com/android/incallui/hold/ |
D | OnHoldFragment.java | 92 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/ |
D | StorageDashboardFragmentTest.java | 79 when(mFragment.getView()).thenReturn(fakeView); in test_loadWhenQuotaOffIfVolumeInfoNotLoaded() 93 when(mFragment.getView()).thenReturn(fakeView); in test_dontLoadWhenQuotaOffIfVolumeInfoNotLoaded() 110 when(mFragment.getView()).thenReturn(fakeView); in test_loadWhenQuotaOnAndVolumeInfoLoadedButAppsMissing() 127 when(mFragment.getView()).thenReturn(fakeView); in test_loadWhenQuotaOnAndAppsLoadedButVolumeInfoMissing() 142 when(mFragment.getView()).thenReturn(fakeView); in test_dontLoadWhenQuotaOnAndAllLoaded()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemViewTest.java | 77 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/Messaging/tests/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListFragmentTest.java | 98 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testLoadListView() 109 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testEmptyView() 111 getFragment().getView().findViewById(R.id.no_conversations_view); in testEmptyView() 123 getFragment().getView().findViewById(R.id.start_new_conversation_button); in testStartNewConversation()
|
D | ConversationListItemViewTest.java | 133 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/tests/src/com/android/contacts/widget/ |
D | CompositeListAdapterTest.java | 54 public View getView(int position, View convertView, ViewGroup parent) { in getView() method in CompositeListAdapterTest.MockAdapter 169 assertEquals(0, adapter.getView(0, null, null).getTag()); in testGetView() 170 assertEquals(1, adapter.getView(1, null, null).getTag()); in testGetView() 171 assertEquals(0, adapter.getView(2, null, null).getTag()); in testGetView() 172 assertEquals(1, adapter.getView(3, null, null).getTag()); in testGetView() 173 assertEquals(2, adapter.getView(4, null, null).getTag()); in testGetView()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | DefaultSuggestionViewFactory.kt | 51 override fun getView( in getView() method 59 return factory.getView(suggestion, userQuery, convertView, parent) in getView() 62 return mDefaultFactory.getView(suggestion, userQuery, convertView, parent) in getView()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | VideoCallFragment.java | 324 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 …]
|
D | SurfaceViewVideoCallFragment.java | 312 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/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsQrCodeScanFragmentTest.java | 103 View view = mFragment.getView(); in onCreateView_createLayout() 130 View view = mFragment.getView(); in surfaceTextureListener_startAndStopQrCamera() 154 View view = mFragment.getView(); in scannerCallback_sendSuccessMessage() 184 View view = mFragment.getView(); in scannerCallback_isInvalid_showErrorThenHide() 201 View view = mFragment.getView(); in getViewSize_getSize()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
D | MultiAttachmentLayoutTest.java | 44 protected MultiAttachmentLayout getView() { in getView() method in MultiAttachmentLayoutTest 80 final MultiAttachmentLayout view = getView(); in testBindTwoAttachments() 92 final MultiAttachmentLayout view = getView(); in testBindFiveAttachments()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FixedLastProxyAdapter.java | 114 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/Tag/src/com/android/apps/tag/record/ |
D | SmartPoster.java | 160 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/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/ |
D | BubbleBarViewController.java | 391 mBarView.removeView(b.getView()); in removeBubble() 403 b.getView(), new FrameLayout.LayoutParams(mIconSize, mIconSize, Gravity.LEFT)); in addBubble() 404 b.getView().setOnClickListener(mBubbleClickListener); in addBubble() 405 mBubbleDragController.setupBubbleView(b.getView()); in addBubble() 449 .map(BubbleBarBubble::getView).toList(); in reorderBubbles() 457 mBarView.setSelectedBubble(newlySelected.getView()); in updateSelectedBubble()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | RecordedProgramPresenter.java | 79 getView().setProgressBar(null); in onBound() 88 getView().reset(); in onUnbound() 118 final RecordingCardView cardView = viewHolder.getView(); in onBindDvrItemViewHolder()
|