Home
last modified time | relevance | path

Searched refs:getVisibility (Results 1 – 25 of 198) sorted by relevance

12345678

/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java134 if (currentView.getVisibility() == View.GONE) { in layout()
158 if (view.getVisibility() == View.VISIBLE in layout()
159 && view.getContentsView().getVisibility() == View.INVISIBLE) { in layout()
172 if (mMenuRowViews.get(i).getVisibility() != View.GONE) { in findNextVisiblePosition()
185 + " rowView={visiblility=" + view.getVisibility() in dumpChildren()
190 + "}, title={visiblility=" + title.getVisibility() in dumpChildren()
195 + "}, contents={visiblility=" + contents.getVisibility() in dumpChildren()
216 return (view.getVisibility() != View.GONE && !rowsToRemove.contains(position)) in isVisibleInLayout()
341 if (mMenuView.getVisibility() == View.VISIBLE) { in setSelectedPosition()
358 if (mMenuView.getVisibility() != View.VISIBLE) { in setSelectedPositionSmooth()
[all …]
DMenuView.java111 if (getVisibility() == VISIBLE) { in onShow()
150 if (getVisibility() == GONE) { in onHide()
159 return getVisibility() == VISIBLE; in isVisible()
202 if (getVisibility() == VISIBLE) { in focusableViewAvailable()
258 if (view.getVisibility() == View.VISIBLE) { in focusSearch()
274 if (view.getVisibility() == View.VISIBLE) { in focusSearch()
DPlayControlsRowView.java621 int numOfVisibleButtons = (mJumpPreviousButton.getVisibility() == View.VISIBLE ? 1 : 0) in updateButtonMargin()
622 + (mRewindButton.getVisibility() == View.VISIBLE ? 1 : 0) in updateButtonMargin()
623 + (mPlayPauseButton.getVisibility() == View.VISIBLE ? 1 : 0) in updateButtonMargin()
624 + (mFastForwardButton.getVisibility() == View.VISIBLE ? 1 : 0) in updateButtonMargin()
625 + (mJumpNextButton.getVisibility() == View.VISIBLE ? 1 : 0) in updateButtonMargin()
626 + (mRecordButton.getVisibility() == View.VISIBLE ? 1 : 0); in updateButtonMargin()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java152 assertThat(button1.getVisibility()).isEqualTo(View.VISIBLE); in bindButton_hasAppPref_shouldShowButton()
154 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_hasAppPref_shouldShowButton()
181 assertThat(button1.getVisibility()).isEqualTo(View.GONE); in bindButton_noAppPref_shouldNotShowButton()
183 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_noAppPref_shouldNotShowButton()
202 assertThat(appLinks.findViewById(android.R.id.button1).getVisibility()) in bindButton_noAppInfo_shouldNotAttachClickListener()
204 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_noAppInfo_shouldNotAttachClickListener()
273 assertThat(appLinks.findViewById(android.R.id.button1).getVisibility()) in bindButton_hasAppNotifIntent_shouldShowButton()
275 assertThat(appLinks.findViewById(android.R.id.button2).getVisibility()) in bindButton_hasAppNotifIntent_shouldShowButton()
288 assertThat(header.findViewById(R.id.install_type).getVisibility()) in instantApps_normalAppsDontGetLabel()
302 assertThat(label.getVisibility()).isEqualTo(View.VISIBLE); in instantApps_expectedHeaderItem()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DIntentSearchViewHolderTest.java112 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_allUpdated()
113 assertThat(mHolder.breadcrumbView.getVisibility()).isEqualTo(View.GONE); in testBindViewElements_allUpdated()
137 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.GONE); in testBindViewElements_emptySummary_hideSummaryView()
156 assertThat(mHolder.breadcrumbView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_withBreadcrumb_shouldFormatBreadcrumb()
172 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.GONE); in testBindElements_placeholderSummary_visibilityIsGone()
187 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.GONE); in testBindElements_dynamicSummary_visibilityIsGone()
202 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_appSearchResult()
203 assertThat(mHolder.breadcrumbView.getVisibility()).isEqualTo(View.GONE); in testBindViewElements_appSearchResult()
222 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_validSubSettingIntent_shouldLaunch()
238 assertThat(mHolder.summaryView.getVisibility()).isEqualTo(View.VISIBLE); in testBindViewElements_invalidSubSettingIntent_shouldNotLaunchAnything()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingDialogTest.java115 assertThat(button.getVisibility()).isEqualTo(View.VISIBLE); in dialogEnablesSubmitButtonOnValidationFromController()
154 assertThat(view.getVisibility()).isEqualTo(View.VISIBLE); in dialogAsksForPairCodeOnUserEntryVariant()
183 assertThat(messagePairing.getVisibility()).isEqualTo(View.VISIBLE); in dialogDisplaysPairCodeOnDisplayPasskeyVariant()
184 assertThat(pairingViewCaption.getVisibility()).isEqualTo(View.VISIBLE); in dialogDisplaysPairCodeOnDisplayPasskeyVariant()
185 assertThat(pairingViewContent.getVisibility()).isEqualTo(View.VISIBLE); in dialogDisplaysPairCodeOnDisplayPasskeyVariant()
292 assertThat(sharingCheckbox.getVisibility()).isEqualTo(View.VISIBLE); in dialogShowsContactSharingCheckboxWhenBluetoothProfileNotReady()
310 assertThat(sharingCheckbox.getVisibility()).isEqualTo(View.GONE); in dialogHidesContactSharingCheckboxWhenBluetoothProfileIsReady()
328 assertThat(message.getVisibility()).isEqualTo(View.VISIBLE); in dialogShowsMessageOnPinEntryView()
347 assertThat(hint.getVisibility()).isEqualTo(View.VISIBLE); in dialogShowsMessageHintOnPinEntryView()
367 assertThat(hint.getVisibility()).isEqualTo(View.GONE); in dialogHidesMessageAndHintWhenNotProvidedOnPinEntryView()
[all …]
DBluetoothSettingsTest.java120 assertThat(mContainer.getVisibility()).isEqualTo(View.INVISIBLE); in testDisplayEmptyMessage_showEmptyMessage()
121 assertThat(mEmptyMessage.getVisibility()).isEqualTo(View.VISIBLE); in testDisplayEmptyMessage_showEmptyMessage()
128 assertThat(mContainer.getVisibility()).isEqualTo(View.VISIBLE); in testDisplayEmptyMessage_hideEmptyMessage()
129 assertThat(mEmptyMessage.getVisibility()).isEqualTo(View.GONE); in testDisplayEmptyMessage_hideEmptyMessage()
DDeviceProfilesSettingsTest.java107 assertThat(box.getVisibility()).isEqualTo(View.VISIBLE); in deviceHasHighQualityAudio()
131 assertThat(box.getVisibility()).isEqualTo(View.VISIBLE); in busyDeviceDisablesControl()
160 assertThat(highQualityAudioBox.getVisibility()).isEqualTo(View.GONE); in mediaAudioGetsDisabledAndReEnabled()
189 assertThat(highQualityAudioBox.getVisibility()).isEqualTo(View.GONE); in mediaAudioStartsDisabled()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlBarContainer.java85 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) { in dispatchTouchEvent()
87 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in dispatchTouchEvent()
141 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) { in getActiveSettingPopup()
143 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in getActiveSettingPopup()
150 if (mIndicatorControlBar.getVisibility() == View.VISIBLE) { in dismissSettingPopup()
152 } else if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in dismissSettingPopup()
176 if (mSecondLevelIndicatorControlBar.getVisibility() == View.VISIBLE) { in dismissSecondLevelIndicator()
DAbstractIndicatorButton.java79 if (mPopup == null || mPopup.getVisibility() != View.VISIBLE) { in onTouchEvent()
132 if (mPopup != null && mPopup.getVisibility() == View.VISIBLE) { in dismissPopup()
147 if (mPopup != null && mPopup.getVisibility() == View.VISIBLE) { in getPopupWindow()
/packages/apps/TV/src/com/android/tv/ui/
DBlockScreenView.java164 return mImageContainer.getVisibility() == VISIBLE in isImageViewVisible()
170 return imageView.getVisibility() != GONE && imageView.getDrawable() != null; in isImageViewVisible()
174 return textView.getVisibility() != GONE && !TextUtils.isEmpty(textView.getText()); in isTextViewVisible()
213 if (mContainerView.getVisibility() == VISIBLE) { in onBlockStatusChanged()
220 if (mContainerView.getVisibility() == GONE) { in onBlockStatusChanged()
228 if (mContainerView.getVisibility() == GONE) { in onBlockStatusChanged()
249 if (getVisibility() == VISIBLE && !mFadeOut.isStarted()) { in fadeOut()
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/
DCardView.java172 if (bitmap == null && mRightIconSwitcher.getVisibility() == VISIBLE) { in setRightIcon()
174 } else if (bitmap != null && mRightIconSwitcher.getVisibility() == GONE) { in setRightIcon()
205 if (mLeftIconSwitcher.getVisibility() == VISIBLE) { in onPlayRevealAnimation()
213 if (mRightIconSwitcher.getVisibility() == VISIBLE) { in onPlayRevealAnimation()
225 return mLeftIconSwitcher.getVisibility() == VISIBLE ? mLeftPadding : 0; in getLeftIconTargetX()
229 if (mRightIconSwitcher.getVisibility() != VISIBLE) { in getRightIconTargetX()
233 if (mLeftIconSwitcher.getVisibility() == VISIBLE) { in getRightIconTargetX()
286 if (mBackgroundImage.getVisibility() != VISIBLE) { in setBackground()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroupTest.java68 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.VISIBLE); in testItemVisibilityBeforeLoaded()
69 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityBeforeLoaded()
70 assertThat(mHolder.findViewById(android.R.id.widget_frame).getVisibility()) in testItemVisibilityBeforeLoaded()
84 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
85 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
86 assertThat(mHolder.findViewById(android.R.id.widget_frame).getVisibility()) in testItemVisibilityAfterLoaded()
DPhotosDeletionPreferenceTest.java74 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.VISIBLE); in testItemVisibilityBeforeLoaded()
75 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityBeforeLoaded()
76 assertThat(mHolder.findViewById(android.R.id.widget_frame).getVisibility()) in testItemVisibilityBeforeLoaded()
88 assertThat(mHolder.findViewById(R.id.progress_bar).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
89 assertThat(mHolder.findViewById(android.R.id.icon).getVisibility()).isEqualTo(View.GONE); in testItemVisibilityAfterLoaded()
90 assertThat(mHolder.findViewById(android.R.id.checkbox).getVisibility()) in testItemVisibilityAfterLoaded()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragmentTests.java112 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_noCurrentAccount()
114 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount()
116 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount()
133 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_currentAccount()
135 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); in testMultipleAccounts_currentAccount()
137 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); in testMultipleAccounts_currentAccount()
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java55 if (child.getVisibility() == GONE) continue; in onMeasure()
76 if (child.getVisibility() == GONE) continue; in layoutHorizontal()
87 if (child.getVisibility() == GONE) continue; in layoutHorizontal()
103 if (child.getVisibility() == GONE) continue; in layoutVertical()
114 if (child.getVisibility() == GONE) continue; in layoutVertical()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/view/
DViewInfoActivityTest.java89 assertThat(activity.findViewById(R.id.name_and_dob_linear_layout).getVisibility()) in testInitialState()
91 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testInitialState()
107 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testNameSet()
108 assertThat(activity.findViewById(R.id.no_info).getVisibility()) in testNameSet()
116 assertThat(personalCardLargeItem.getVisibility()).isEqualTo(View.VISIBLE); in testNameSet()
128 assertThat(activity.getTabLayout().getVisibility()).isEqualTo(View.GONE); in testMedicalInfoSet()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java335 if (child != null && child.getVisibility() != GONE) { in drawDividersVertical()
363 if (child != null && child.getVisibility() != GONE) { in drawDividersHorizontal()
620 if (getChildAt(i).getVisibility() != GONE) { in hasDividerBeforeChildAt()
672 if (child.getVisibility() == View.GONE) { in measureVertical()
791 if (child.getVisibility() == GONE) { in measureVertical()
829 if (child.getVisibility() == View.GONE) { in measureVertical()
922 if (child == null || child.getVisibility() == View.GONE) { in measureVertical()
963 if (child.getVisibility() != GONE) { in forceUniformWidth()
1006 if (child.getVisibility() != GONE) { in forceUniformHeight()
1149 } else if (child.getVisibility() != GONE) { in layoutVertical()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiConfigControllerTest.java91 assertThat(mView.findViewById(R.id.ssid_too_long_warning).getVisibility()) in ssidExceeds32Bytes_shouldShowSsidTooLongWarning()
104 assertThat(mView.findViewById(R.id.ssid_too_long_warning).getVisibility()) in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning()
110 assertThat(mView.findViewById(R.id.ssid_too_long_warning).getVisibility()) in ssidShorterThan32Bytes_shouldNotShowSsidTooLongWarning()
196 assertThat(mView.findViewById(R.id.wifi_advanced_toggle).getVisibility()) in showForCarrierAp()
199 assertThat(mView.findViewById(R.id.eap).getVisibility()).isEqualTo(View.GONE); in showForCarrierAp()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java588 if (attachmentView.getVisibility() == View.VISIBLE) { in updateMessageAttachments()
806 if (mSubjectView.getVisibility() == View.VISIBLE) { in updateContentDescription()
811 if (mMessageTextView.getVisibility() == View.VISIBLE) { in updateContentDescription()
824 if (mMessageTitleLayout.getVisibility() == View.VISIBLE) { in updateContentDescription()
832 if (mStatusTextView.getVisibility() == View.VISIBLE) { in updateContentDescription()
837 if (mSimNameView.getVisibility() == View.VISIBLE) { in updateContentDescription()
842 if (mDeliveredBadge.getVisibility() == View.VISIBLE) { in updateContentDescription()
855 if (mMessageImageView.getVisibility() == View.VISIBLE) { in updateMessageAttachmentsAppearance()
862 if (mMultiAttachmentView.getVisibility() == View.VISIBLE) { in updateMessageAttachmentsAppearance()
872 && attachmentView.getVisibility() == View.VISIBLE) { in updateMessageAttachmentsAppearance()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java99 if (visibility == getVisibility()) return; in setVisibility()
110 public int getVisibility() { in getVisibility() method in GLView
268 if (component.getVisibility() != GLView.VISIBLE in renderChild()
334 if (component.getVisibility() != GLView.VISIBLE) continue; in dispatchTouchEvent()
425 if (child.getVisibility() == GLView.VISIBLE) { in onVisibilityChanged()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java267 final boolean isExpansion = repeatDays.getVisibility() == View.VISIBLE; in onAnimateChange()
347 final boolean daysVisible = repeatDays.getVisibility() == View.VISIBLE; in createCollapsingAnimator()
386 if (preemptiveDismissButton.getVisibility() == View.VISIBLE) { in createCollapsingAnimator()
462 final boolean daysVisible = repeatDays.getVisibility() == View.VISIBLE; in createExpandingAnimator()
473 if (preemptiveDismissButton.getVisibility() == View.VISIBLE) { in createExpandingAnimator()
495 if (preemptiveDismissButton.getVisibility() == View.VISIBLE) { in countNumberOfItems()
498 if (repeatDays.getVisibility() == View.VISIBLE) { in countNumberOfItems()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java471 if (entryIcon.getVisibility() == View.VISIBLE) { in generateSeparator()
692 if (header.getVisibility() == View.VISIBLE && subHeader.getVisibility() == View.GONE && in createEntryView()
693 text.getVisibility() == View.GONE) { in createEntryView()
1082 return mThirdIcon.getVisibility() == View.VISIBLE && in hitThirdIcon()
1085 return mThirdIcon.getVisibility() == View.VISIBLE && in hitThirdIcon()
1098 return mAlternateIcon.getVisibility() == View.VISIBLE && in hitAlternateIcon()
1101 return mAlternateIcon.getVisibility() == View.VISIBLE && in hitAlternateIcon()
/packages/apps/Dialer/java/com/android/dialer/widget/
DEmptyContentView.java105 return mImageView.getVisibility() == View.VISIBLE in isShowingContent()
106 || mDescriptionView.getVisibility() == View.VISIBLE in isShowingContent()
107 || mActionView.getVisibility() == View.VISIBLE; in isShowingContent()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java167 if (getVisibility() == VISIBLE && mFilmstripContentTranslationProgress == 0f) { in setFilmstripListener()
170 if (getVisibility() != VISIBLE) { in setFilmstripListener()
222 if (changed && mFilmstripView != null && getVisibility() == INVISIBLE) { in onLayout()
270 if (getVisibility() == VISIBLE) { in animateHide()

12345678