Home
last modified time | relevance | path

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

1234567

/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java131 if (currentView.getVisibility() == View.GONE) { in layout()
155 if (view.getVisibility() == View.VISIBLE in layout()
156 && view.getContentsView().getVisibility() == View.INVISIBLE) { in layout()
165 if (mMenuRowViews.get(i).getVisibility() != View.GONE) { in findNextVisiblePosition()
178 + " rowView={visiblility=" + view.getVisibility() in dumpChildren()
183 + "}, title={visiblility=" + title.getVisibility() in dumpChildren()
188 + "}, contents={visiblility=" + contents.getVisibility() in dumpChildren()
209 return (view.getVisibility() != View.GONE && !rowsToRemove.contains(position)) in isVisibleInLayout()
333 if (mMenuView.getVisibility() == View.VISIBLE) { in setSelectedPosition()
350 if (mMenuView.getVisibility() != View.VISIBLE) { in setSelectedPositionSmooth()
[all …]
DMenuView.java107 if (getVisibility() == VISIBLE) { in onShow()
138 if (getVisibility() == GONE) { in onHide()
147 return getVisibility() == VISIBLE; in isVisible()
214 if (view.getVisibility() == View.VISIBLE) { in focusSearch()
230 if (view.getVisibility() == View.VISIBLE) { in focusSearch()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/view/
DViewInfoActivityTest.java83 assertEquals(View.GONE, mPersonalCard.getVisibility()); in testInitialState()
84 assertEquals(View.GONE, getActivity().getTabLayout().getVisibility()); in testInitialState()
99 assertEquals(View.GONE, getActivity().getTabLayout().getVisibility()); in testNameSet()
101 getActivity().findViewById(R.id.no_info_text_view).getVisibility()); in testNameSet()
103 assertEquals(View.VISIBLE, mPersonalCardLargeItem.getVisibility()); in testNameSet()
117 assertEquals(View.GONE, getActivity().getTabLayout().getVisibility()); in testEmergencyInfoSet()
139 assertEquals(View.GONE, getActivity().getTabLayout().getVisibility()); in testEmergencyContactSet()
166 assertEquals(View.VISIBLE, getActivity().getTabLayout().getVisibility()); in testInfoAndEmergencyContactsSet()
/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/Dialer/tests/src/com/android/dialer/calllog/
DPhoneCallDetailsHelperTest.java319 assertEquals(View.VISIBLE, mNameView.getVisibility()); in testSetCallDetailsHeader_NumberOnly()
325 assertEquals(View.VISIBLE, mNameView.getVisibility()); in testSetCallDetailsHeader_UnknownNumber()
331 assertEquals(View.VISIBLE, mNameView.getVisibility()); in testSetCallDetailsHeader_PrivateNumber()
337 assertEquals(View.VISIBLE, mNameView.getVisibility()); in testSetCallDetailsHeader_PayphoneNumber()
347 assertEquals(View.VISIBLE, mNameView.getVisibility()); in testSetCallDetailsHeader_VoicemailNumber()
353 assertEquals(View.VISIBLE, mNameView.getVisibility()); in testSetCallDetailsHeader()
417 assertEquals(mViews.callAccountLabel.getVisibility(), View.GONE); in assertCallAccountInvisible()
440 assertEquals(View.VISIBLE, mViews.callTypeIcons.getVisibility()); in assertCallTypeIconsEquals()
453 assertEquals(View.VISIBLE, mViews.callTypeIcons.getVisibility()); in assertCallTypeIconsEqualsPlusOverflow()
DCallLogListItemHelperTest.java85 assertEquals(View.VISIBLE, mViewHolder.primaryActionButtonView.getVisibility()); in testSetPhoneCallDetails()
106 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_VoicemailNumber()
113 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_ReadVoicemail()
120 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_UnreadVoicemail()
126 assertEquals(View.VISIBLE, mViewHolder.voicemailPlaybackView.getVisibility()); in testSetPhoneCallDetails_VoicemailFromUnknown()
/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/TV/src/com/android/tv/ui/
DBlockScreenView.java147 return mImageContainer.getVisibility() == VISIBLE in isImageViewVisible()
152 return imageView.getVisibility() != GONE && imageView.getDrawable() != null; in isImageViewVisible()
156 return textView.getVisibility() != GONE && !TextUtils.isEmpty(textView.getText()); in isTextViewVisible()
193 if (mContainerView.getVisibility() == VISIBLE) { in onBlockStatusChanged()
201 if (mContainerView.getVisibility() == GONE) { in onBlockStatusChanged()
209 if (mContainerView.getVisibility() == GONE) { in onBlockStatusChanged()
/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()
DViewImage.java143 boolean prevIsVisible = mPrevImageView.getVisibility() == View.VISIBLE; in updateNextPrevControls()
144 boolean nextIsVisible = mNextImageView.getVisibility() == View.VISIBLE; in updateNextPrevControls()
173 && mActionIconPanel.getVisibility() == View.VISIBLE) {
180 if (mNextImageView.getVisibility() == View.VISIBLE) {
187 if (mPrevImageView.getVisibility() == View.VISIBLE) {
221 && mActionIconPanel.getVisibility() != View.VISIBLE) {
/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/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/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java523 if (entryIcon.getVisibility() == View.VISIBLE) { in generateSeparator()
749 if (header.getVisibility() == View.VISIBLE && subHeader.getVisibility() == View.GONE && in createEntryView()
750 text.getVisibility() == View.GONE) { in createEntryView()
1182 return mThirdIcon.getVisibility() == View.VISIBLE && in hitThirdIcon()
1185 return mThirdIcon.getVisibility() == View.VISIBLE && in hitThirdIcon()
1198 return mAlternateIcon.getVisibility() == View.VISIBLE && in hitAlternateIcon()
1201 return mAlternateIcon.getVisibility() == View.VISIBLE && in hitAlternateIcon()
/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()
/packages/apps/Dialer/src/com/android/dialer/widget/
DEmptyContentView.java103 return mImageView.getVisibility() == View.VISIBLE in isShowingContent()
104 || mDescriptionView.getVisibility() == View.VISIBLE in isShowingContent()
105 || mActionView.getVisibility() == View.VISIBLE; in isShowingContent()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java111 if (newFocusView == null || newFocusView.getVisibility() == GONE) { in onFinishInflate()
180 if (firstField == null && editText.getVisibility() == View.VISIBLE) { in requestFocusForFirstEditField()
347 if (editText.getVisibility() == View.VISIBLE) { in acquireEditorBounds()
369 ss.mVisibilities[i] = mFieldEditTexts[i].getVisibility(); in onSaveInstanceState()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceStateTransitionAnimation.java60 if (view.getAlpha() < ALPHA_CUTOFF_THRESHOLD && view.getVisibility() != invisibleState) { in updateVisibility()
63 && view.getVisibility() != View.VISIBLE) { in updateVisibility()
446 if (accessibilityEnabled && overviewPanel.getVisibility() == View.VISIBLE) { in animateWorkspace()
466 if (accessibilityEnabled && overviewPanel.getVisibility() == View.VISIBLE) { in animateWorkspace()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputView.java153 if (mSenderView.getVisibility() != View.VISIBLE || in onInterceptTouchEvent()
154 mReceiverView.getVisibility() != View.VISIBLE) { in onInterceptTouchEvent()
213 return mainKeyboardFrame.getVisibility() == View.VISIBLE && isInKeyboardTopPadding(y); in needsToForward()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarUiEntry.java432 if (mSearchBoxSearchLogoContainer.getVisibility() != View.VISIBLE) { in setSearchBoxMode()
439 if (searchBoxEditTextContainer.getVisibility() == View.VISIBLE) { in setSearchBoxMode()
444 if (searchBoxEditTextContainer.getVisibility() != View.VISIBLE) { in setSearchBoxMode()
449 if (mSearchBoxSearchLogoContainer.getVisibility() == View.VISIBLE) { in setSearchBoxMode()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java64 if (currChild.getVisibility() == GONE) { in onMeasure()
112 if (currChild.getVisibility() == GONE) { in onLayout()
141 if (currChild.getVisibility() == GONE) { in onLayout()
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
DCallSubjectDialog.java152 showCallHistory(mSubjectList.getVisibility() == View.GONE);
184 if (mSubjectList.getVisibility() == View.VISIBLE) {
485 if ((show && mSubjectList.getVisibility() == View.VISIBLE) || in showCallHistory()
486 (!show && mSubjectList.getVisibility() == View.GONE)) { in showCallHistory()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java163 if (!mShowDonNotAsk && mDoNotAskCheckbox.getVisibility() == View.VISIBLE) { in animateOldContent()
215 final boolean doNotAskWasShown = mDoNotAskCheckbox.getVisibility() == View.VISIBLE; in attachNewContent()
238 if (mShowDonNotAsk && mDoNotAskCheckbox.getVisibility() == View.VISIBLE in animateNewContent()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java400 && mView.findViewById(R.id.l_ca_cert).getVisibility() != View.GONE) { in isSubmittable()
409 && mView.findViewById(R.id.l_domain).getVisibility() != View.GONE in isSubmittable()
417 && mView.findViewById(R.id.l_user_cert).getVisibility() != View.GONE in isSubmittable()
432 && mView.findViewById(R.id.l_ca_cert).getVisibility() != View.GONE) { in showWarningMessagesIfAppropriate()
441 && mView.findViewById(R.id.l_domain).getVisibility() != View.GONE in showWarningMessagesIfAppropriate()
959 if (mView.findViewById(R.id.l_ca_cert).getVisibility() != View.GONE) { in showEapFieldsByMethod()

1234567