| /appcompat/appcompat/src/main/java/androidx/appcompat/widget/ |
| D | ActionBarContainer.java | 56 this(context, null); in ActionBarContainer() 79 setWillNotDraw(mIsSplit ? mSplitBackground == null : in ActionBarContainer() 80 mBackground == null && mStackedBackground == null); in ActionBarContainer() 91 if (mBackground != null) { in setPrimaryBackground() 92 mBackground.setCallback(null); in setPrimaryBackground() 96 if (bg != null) { in setPrimaryBackground() 98 if (mActionBarView != null) { in setPrimaryBackground() 102 setWillNotDraw(mIsSplit ? mSplitBackground == null : in setPrimaryBackground() 103 mBackground == null && mStackedBackground == null); in setPrimaryBackground() 111 if (mStackedBackground != null) { in setStackedBackground() [all …]
|
| D | SuggestionsAdapter.java | 94 super(context, searchView.getSuggestionRowLayout(), null /* no initial cursor */, in SuggestionsAdapter() 144 String query = (constraint == null) ? "" : constraint.toString(); in runQueryOnBackgroundThread() 149 Cursor cursor = null; in runQueryOnBackgroundThread() 152 return null; in runQueryOnBackgroundThread() 158 if (cursor != null) { in runQueryOnBackgroundThread() 167 return null; in runQueryOnBackgroundThread() 172 changeCursor(null); in close() 193 Bundle extras = cursor != null ? cursor.getExtras() : null; in updateSpinnerState() 196 + (extras != null in updateSpinnerState() 198 : null)); in updateSpinnerState() [all …]
|
| D | AppCompatImageView.java | 70 this(context, null); in AppCompatImageView() 101 if (mImageHelper != null) { in setImageResource() 109 if (mImageHelper != null && drawable != null && !mHasLevel) { in setImageDrawable() 114 if (mImageHelper != null) { in setImageDrawable() 126 if (mImageHelper != null) { in setImageBitmap() 134 if (mImageHelper != null) { in setImageURI() 142 if (mBackgroundTintHelper != null) { in setBackgroundResource() 150 if (mBackgroundTintHelper != null) { in setBackgroundDrawable() 163 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintList() 176 return mBackgroundTintHelper != null in getSupportBackgroundTintList() [all …]
|
| D | AppCompatSpinner.java | 122 this(context, null); in AppCompatSpinner() 138 this(context, null, R.attr.spinnerStyle, mode); in AppCompatSpinner() 186 this(context, attrs, defStyleAttr, mode, null); in AppCompatSpinner() 224 if (popupTheme != null) { in AppCompatSpinner() 236 TypedArray aa = null; in AppCompatSpinner() 246 if (aa != null) { in AppCompatSpinner() 288 if (entries != null) { in AppCompatSpinner() 301 if (mTempAdapter != null) { in AppCompatSpinner() 303 mTempAdapter = null; in AppCompatSpinner() 319 if (mPopup != null) { in setPopupBackgroundDrawable() [all …]
|
| D | ActionMenuPresenter.java | 113 if (mOverflowButton == null) { in initForMenu() 117 mPendingOverflowIcon = null; in initForMenu() 125 mOverflowButton = null; in initForMenu() 137 if (mMenu != null) { in onConfigurationChanged() 163 if (mOverflowButton != null) { in setOverflowIcon() 172 if (mOverflowButton != null) { in getOverflowIcon() 177 return null; in getOverflowIcon() 193 if (actionView == null || item.hasCollapsibleActionView()) { in getItemView() 214 if (mPopupCallback == null) { in bindItemView() 231 if (mMenu != null) { in updateMenuView() [all …]
|
| D | AppCompatImageHelper.java | 58 if (drawable == null) { in loadFromAttributes() 64 if (drawable != null) { in loadFromAttributes() 70 if (drawable != null) { in loadFromAttributes() 81 a.getInt(R.styleable.AppCompatImageView_tintMode, -1), null)); in loadFromAttributes() 91 if (d != null) { in setImageResource() 96 mView.setImageDrawable(null); in setImageResource() 114 if (mImageTint == null) { in setSupportImageTintList() 123 return mImageTint != null ? mImageTint.mTintList : null; in getSupportImageTintList() 127 if (mImageTint == null) { in setSupportImageTintMode() 137 return mImageTint != null ? mImageTint.mTintMode : null; in getSupportImageTintMode() [all …]
|
| D | AppCompatTextHelper.java | 83 private @Nullable String mFontVariationSettings = null; 139 ColorStateList textColor = null; in loadFromAttributes() 140 ColorStateList textColorHint = null; in loadFromAttributes() 141 ColorStateList textColorLink = null; in loadFromAttributes() 142 String localeListString = null; in loadFromAttributes() 211 if (textColor != null) { in loadFromAttributes() 214 if (textColorHint != null) { in loadFromAttributes() 217 if (textColorLink != null) { in loadFromAttributes() 226 if (localeListString != null) { in loadFromAttributes() 266 Drawable drawableLeft = null, drawableTop = null, drawableRight = null, in loadFromAttributes() [all …]
|
| D | AppCompatBackgroundHelper.java | 60 if (tint != null) { in loadFromAttributes() 72 null)); in loadFromAttributes() 82 setInternalBackgroundTint(mDrawableManager != null in onSetBackgroundResource() 84 : null); in onSetBackgroundResource() 91 setInternalBackgroundTint(null); in onSetBackgroundDrawable() 96 if (mBackgroundTint == null) { in setSupportBackgroundTintList() 105 return mBackgroundTint != null ? mBackgroundTint.mTintList : null; in getSupportBackgroundTintList() 109 if (mBackgroundTint == null) { in setSupportBackgroundTintMode() 119 return mBackgroundTint != null ? mBackgroundTint.mTintMode : null; in getSupportBackgroundTintMode() 124 if (background != null) { in applySupportBackgroundTint() [all …]
|
| D | AppCompatImageButton.java | 70 this(context, null); in AppCompatImageButton() 98 if (mImageHelper != null && drawable != null && !mHasLevel) { in setImageDrawable() 103 if (mImageHelper != null) { in setImageDrawable() 115 if (mImageHelper != null) { in setImageBitmap() 123 if (mImageHelper != null) { in setImageURI() 131 if (mBackgroundTintHelper != null) { in setBackgroundResource() 139 if (mBackgroundTintHelper != null) { in setBackgroundDrawable() 152 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintList() 165 return mBackgroundTintHelper != null in getSupportBackgroundTintList() 166 ? mBackgroundTintHelper.getSupportBackgroundTintList() : null; in getSupportBackgroundTintList() [all …]
|
| D | ActionBarContextView.java | 61 this(context, null); in ActionBarContextView() 95 if (mActionMenuPresenter != null) { in onDetachedFromWindow() 107 final TypedArray a = getContext().obtainStyledAttributes(null, R.styleable.ActionMode, in onConfigurationChanged() 119 if (mCustomView != null) { in setCustomView() 123 if (view != null && mTitleLayout != null) { in setCustomView() 125 mTitleLayout = null; in setCustomView() 127 if (view != null) { in setCustomView() 153 if (mTitleLayout == null) { in initTitle() 174 if (mTitleLayout.getParent() == null) { in initTitle() 180 if (mClose == null) { in initForMode() [all …]
|
| D | ScrollingTabContainerView.java | 147 return mTabSpinner != null && mTabSpinner.getParent() == this; in isCollapsed() 157 if (mTabSpinner == null) { in performCollapse() 163 if (mTabSpinner.getAdapter() == null) { in performCollapse() 166 if (mTabSelector != null) { in performCollapse() 168 mTabSelector = null; in performCollapse() 194 if (mTabSpinner != null && position >= 0) { in setTabSelected() 205 final LinearLayoutCompat tabLayout = new LinearLayoutCompat(getContext(), null, in createTabLayout() 215 final Spinner spinner = new AppCompatSpinner(getContext(), null, in createSpinner() 236 if (mVisibilityAnim != null) { in animateToVisibility() 262 if (mTabSelector != null) { in animateToTab() [all …]
|
| D | AppCompatTextView.java | 126 private @Nullable SuperCaller mSuperCaller = null; 131 this(context, null); in AppCompatTextView() 162 if (mEmojiTextViewHelper == null) { in getEmojiTextViewHelper() 171 if (mBackgroundTintHelper != null) { in setBackgroundResource() 179 if (mBackgroundTintHelper != null) { in setBackgroundDrawable() 191 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintList() 203 return mBackgroundTintHelper != null in getSupportBackgroundTintList() 204 ? mBackgroundTintHelper.getSupportBackgroundTintList() : null; in getSupportBackgroundTintList() 214 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintMode() 226 return mBackgroundTintHelper != null in getSupportBackgroundTintMode() [all …]
|
| D | AppCompatButton.java | 72 this(context, null); in AppCompatButton() 99 if (mBackgroundTintHelper != null) { in setBackgroundResource() 107 if (mBackgroundTintHelper != null) { in setBackgroundDrawable() 120 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintList() 133 return mBackgroundTintHelper != null in getSupportBackgroundTintList() 134 ? mBackgroundTintHelper.getSupportBackgroundTintList() : null; in getSupportBackgroundTintList() 145 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintMode() 158 return mBackgroundTintHelper != null in getSupportBackgroundTintMode() 159 ? mBackgroundTintHelper.getSupportBackgroundTintMode() : null; in getSupportBackgroundTintMode() 165 if (mBackgroundTintHelper != null) { in drawableStateChanged() [all …]
|
| D | AppCompatCheckedTextView.java | 77 this(context, null); in AppCompatCheckedTextView() 107 if (mCheckedHelper != null) { in setCheckMarkDrawable() 124 if (mCheckedHelper != null) { in setSupportCheckMarkTintList() 136 return mCheckedHelper != null in getSupportCheckMarkTintList() 138 : null; in getSupportCheckMarkTintList() 148 if (mCheckedHelper != null) { in setSupportCheckMarkTintMode() 160 return mCheckedHelper != null in getSupportCheckMarkTintMode() 162 : null; in getSupportCheckMarkTintMode() 172 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintList() 185 return mBackgroundTintHelper != null in getSupportBackgroundTintList() [all …]
|
| D | SwitchCompat.java | 133 private ColorStateList mThumbTintList = null; 134 private PorterDuff.Mode mThumbTintMode = null; 139 private ColorStateList mTrackTintList = null; 140 private PorterDuff.Mode mTrackTintMode = null; 218 this(context, null); in SwitchCompat() 259 if (mThumbDrawable != null) { in SwitchCompat() 263 if (mTrackDrawable != null) { in SwitchCompat() 278 if (thumbTintList != null) { in SwitchCompat() 283 a.getInt(R.styleable.SwitchCompat_thumbTintMode, -1), null); in SwitchCompat() 293 if (trackTintList != null) { in SwitchCompat() [all …]
|
| D | AppCompatCheckBox.java | 69 this(context, null); in AppCompatCheckBox() 99 if (mAppCompatEmojiTextHelper == null) { in getEmojiTextViewHelper() 108 if (mCompoundButtonHelper != null) { in setButtonDrawable() 124 if (mCompoundButtonHelper != null) { in setSupportButtonTintList() 135 return mCompoundButtonHelper != null in getSupportButtonTintList() 137 : null; in getSupportButtonTintList() 146 if (mCompoundButtonHelper != null) { in setSupportButtonTintMode() 157 return mCompoundButtonHelper != null in getSupportButtonTintMode() 159 : null; in getSupportButtonTintMode() 169 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintList() [all …]
|
| D | AppCompatRadioButton.java | 69 this(context, null); in AppCompatRadioButton() 97 if (mAppCompatEmojiTextHelper == null) { in getEmojiTextViewHelper() 106 if (mCompoundButtonHelper != null) { in setButtonDrawable() 122 if (mCompoundButtonHelper != null) { in setSupportButtonTintList() 133 return mCompoundButtonHelper != null in getSupportButtonTintList() 135 : null; in getSupportButtonTintList() 144 if (mCompoundButtonHelper != null) { in setSupportButtonTintMode() 155 return mCompoundButtonHelper != null in getSupportButtonTintMode() 157 : null; in getSupportButtonTintMode() 168 if (mBackgroundTintHelper != null) { in setSupportBackgroundTintList() [all …]
|
| D | Toolbar.java | 223 } else if (mOnMenuItemClickListener != null) { 257 this(context, null); in Toolbar() 351 if (navIcon != null) { in Toolbar() 360 if (logo != null) { in Toolbar() 582 return getVisibility() == VISIBLE && mMenuView != null && mMenuView.isOverflowReserved(); in canShowOverflowMenu() 592 return mMenuView != null && mMenuView.isOverflowMenuShowing(); in isOverflowMenuShowing() 597 return mMenuView != null && mMenuView.isOverflowMenuShowPending(); in isOverflowMenuShowPending() 606 return mMenuView != null && mMenuView.showOverflowMenu(); in showOverflowMenu() 615 return mMenuView != null && mMenuView.hideOverflowMenu(); in hideOverflowMenu() 620 if (menu == null && mMenuView == null) { in setMenu() [all …]
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/app/ |
| D | AlertController.java | 131 if (v == mButtonPositive && mButtonPositiveMessage != null) { 133 } else if (v == mButtonNegative && mButtonNegativeMessage != null) { 135 } else if (v == mButtonNeutral && mButtonNeutralMessage != null) { 138 m = null; 141 if (m != null) { 189 final TypedArray a = context.obtainStyledAttributes(null, R.styleable.AlertDialog, in AlertController() 249 if (mTitleView != null) { in setTitle() 264 if (mMessageView != null) { in setMessage() 273 mView = null; in setView() 325 if (msg == null && listener != null) { in setButton() [all …]
|
| D | AppCompatDelegateImpl.java | 181 return message != null && (message.contains("drawable") 218 ViewPropertyAnimatorCompat mFadeAnim = null; 297 this(activity, null, callback, activity); 309 this(context, null, callback, activity); 320 if (activity != null) { 332 if (value != null) { 339 if (window != null) { 356 if (mDispatcher != null && mBackCallback != null) { 358 mBackCallback = null; 361 if (dispatcher == null && mHost instanceof Activity [all …]
|
| D | WindowDecorActionBar.java | 137 if (mContentAnimations && mContentView != null) { 143 mCurrentShowAnim = null; 145 if (mOverlayLayout != null) { 154 mCurrentShowAnim = null; 192 if (mOverlayLayout != null) { in init() 201 if (mDecorToolbar == null || mContextView == null || mContainerView == null) { in init() 219 final TypedArray a = mContext.obtainStyledAttributes(null, in init() 239 (view != null ? view.getClass().getSimpleName() : "null")); in getDecorToolbar() 262 mDecorToolbar.setEmbeddedTabView(null); in setHasEmbeddedTabs() 265 mContainerView.setTabContainer(null); in setHasEmbeddedTabs() [all …]
|
| D | ResourcesFlusher.java | 70 if (sDrawableCacheField != null) { in flushLollipops() 71 Map drawableCache = null; in flushLollipops() 77 if (drawableCache != null) { in flushLollipops() 95 Object drawableCache = null; in flushMarshmallows() 96 if (sDrawableCacheField != null) { in flushMarshmallows() 104 if (drawableCache == null) { in flushMarshmallows() 124 if (sResourcesImplField == null) { in flushNougats() 129 Object resourcesImpl = null; in flushNougats() 136 if (resourcesImpl == null) { in flushNougats() 151 Object drawableCache = null; in flushNougats() [all …]
|
| /appcompat/appcompat-resources/src/main/java/androidx/appcompat/widget/ |
| D | ResourceManagerInternal.java | 95 if (INSTANCE == null) { in get() 142 if (drawable == null) { in getDrawable() 145 if (drawable == null) { in getDrawable() 149 if (drawable != null) { in getDrawable() 153 if (drawable != null) { in getDrawable() 162 if (cache != null) { in onConfigurationChanged() 174 if (mTypedValue == null) { in createDrawableIfNeeded() 182 if (dr != null) { in createDrawableIfNeeded() 188 dr = (this.mHooks == null) ? null in createDrawableIfNeeded() 191 if (dr != null) { in createDrawableIfNeeded() [all …]
|
| /appcompat/appcompat-resources/src/main/java/androidx/appcompat/graphics/drawable/ |
| D | DrawableContainerCompat.java | 82 if (mCurrDrawable != null) { in draw() 85 if (mLastDrawable != null) { in draw() 105 if (r != null) { in getPadding() 109 if (mCurrDrawable != null) { in getPadding() 126 if (mCurrDrawable != null) { in getOutline() 136 if (mCurrDrawable != null) { in setAlpha() 156 if (mCurrDrawable != null) { in setDither() 167 if (mCurrDrawable != null) { in setColorFilter() 218 if (mLastDrawable != null) { in onBoundsChange() 221 if (mCurrDrawable != null) { in onBoundsChange() [all …]
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/view/menu/ |
| D | MenuBuilder.java | 275 if (item == null || item == presenter) { in removeMenuPresenter() 287 if (presenter == null) { in dispatchPresenterUpdate() 303 if (preferredPresenter != null) { in dispatchSubMenuSelected() 309 if (presenter == null) { in dispatchSubMenuSelected() 325 if (presenter == null) { in dispatchSaveInstanceState() 331 if (state != null) { in dispatchSaveInstanceState() 345 if (presenterStates == null || mPresenters.isEmpty()) return; in dispatchRestoreInstanceState() 349 if (presenter == null) { in dispatchRestoreInstanceState() 355 if (parcel != null) { in dispatchRestoreInstanceState() 372 SparseArray<Parcelable> viewStates = null; in saveActionViewStates() [all …]
|