Home
last modified time | relevance | path

Searched refs:mIsExpanded (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DExpandDividerPreference.java40 private boolean mIsExpanded = false; field in ExpandDividerPreference
68 mIsExpanded = !mIsExpanded; in onClick()
71 mOnExpandListener.onExpand(mIsExpanded); in onClick()
84 mIsExpanded = isExpanded; in setIsExpanded()
94 mIsExpanded in refreshState()
DBatteryChartPreferenceController.java91 @VisibleForTesting boolean mIsExpanded = false; field in BatteryChartPreferenceController
142 mIsExpanded = in onCreate()
143 savedInstanceState.getBoolean(KEY_EXPAND_SYSTEM_INFO, mIsExpanded); in onCreate()
145 mTrapezoidIndex, mIsExpanded)); in onCreate()
168 savedInstance.putBoolean(KEY_EXPAND_SYSTEM_INFO, mIsExpanded); in onSaveInstanceState()
170 mTrapezoidIndex, mIsExpanded)); in onSaveInstanceState()
250 mIsExpanded = isExpanded; in onExpand()
387 mExpandDividerPreference.setIsExpanded(mIsExpanded); in addAllPreferences()
457 if (mIsExpanded) { in refreshExpandUi()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DControlBar.java86 private boolean mIsExpanded; field in ControlBar
111 if (mHasFocus && !hasFocus && mIsExpanded) {
249 if (mIsExpanded) { in close()
327 mIsExpanded = !mIsExpanded; in onExpandCollapse()
329 mExpandCollapseView.setSelected(mIsExpanded); in onExpandCollapse()
332 mExpandCollapseCallback.onExpandCollapse(mIsExpanded); in onExpandCollapse()
334 mSlots[getSlotIndex(SLOT_EXPAND_COLLAPSE)].setActivated(mIsExpanded); in onExpandCollapse()
336 int animationDuration = getContext().getResources().getInteger(mIsExpanded in onExpandCollapse()
347 mRowsContainer.getChildAt(i).setVisibility(mIsExpanded ? View.VISIBLE : View.GONE); in onExpandCollapse()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardController.java54 private boolean mIsExpanded; field in ConditionContextualCardController
63 mIsExpanded = isExpanded; in setIsExpanded()
161 && !mIsExpanded)) { in getExpandedConditionalCards()
178 if (!conditionCards.isEmpty() && mIsExpanded in getConditionalFooterCard()
192 if (!conditionCards.isEmpty() && !mIsExpanded in getConditionalHeaderCard()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactEditorView.java177 private boolean mIsExpanded; field in RawContactEditorView.SavedState
185 mIsExpanded = in.readInt() != 0; in SavedState()
191 out.writeInt(mIsExpanded ? 1 : 0); in writeToParcel()
224 private boolean mIsExpanded; field in RawContactEditorView
286 savedState.mIsExpanded = mIsExpanded; in onSaveInstanceState()
298 mIsExpanded = savedState.mIsExpanded; in onRestoreInstanceState()
299 if (mIsExpanded) { in onRestoreInstanceState()
430 if (mIsExpanded) { in setGroupMetaData()
535 if (mIsExpanded) showAllFields(); in setupEditorNormally()
827 mIsExpanded = false; in addAccountSelector()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeader.java67 private boolean mIsExpanded = false; field in WidgetsListHeader
100 if (mIsExpanded) { in onFinishInflate()
133 setExpanded(!mIsExpanded); in setOnExpandChangeListener()
135 onExpandChangeListener.onExpansionChange(mIsExpanded); in setOnExpandChangeListener()
143 this.mIsExpanded = isExpanded; in setExpanded()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java254 private boolean mIsExpanded = false; field in ExpandingEntryCardView
283 if (mIsExpanded) {
322 mIsExpanded = isExpanded; in initialize()
325 mIsExpanded |= mIsAlwaysExpanded; in initialize()
342 if (mIsExpanded) { in initialize()
373 for (View view : getViewsToDisplay(mIsExpanded)) { in insertEntriesIntoViewGroup()
763 if (mIsExpanded) { in updateExpandCollapseButton()
820 mIsExpanded = true; in expand()
882 mIsExpanded = false; in collapse()
891 return mIsExpanded; in isExpanded()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryChartPreferenceControllerTest.java661 mBatteryChartPreferenceController.mIsExpanded = isExpanded; in testOnSaveInstanceState_restoreSelectedIndexAndExpandState()
665 mBatteryChartPreferenceController.mIsExpanded = false; in testOnSaveInstanceState_restoreSelectedIndexAndExpandState()
673 assertThat(mBatteryChartPreferenceController.mIsExpanded).isTrue(); in testOnSaveInstanceState_restoreSelectedIndexAndExpandState()