Home
last modified time | relevance | path

Searched refs:isExpanded (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java78 public boolean isExpanded() { in isExpanded() method in ExpandableSwitchItem
106 if (!isExpanded()) { in setCollapsedSummary()
124 if (isExpanded()) { in setExpandedSummary()
137 ((CheckableLinearLayout) content).setChecked(isExpanded()); in onBindView()
145 setExpanded(!isExpanded()); in onClick()
/frameworks/opt/setupwizard/library/eclair-mr1/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java88 assertTrue("Should be expanded", mItem.isExpanded()); in testExpanded()
99 assertTrue("Should be expanded", mItem.isExpanded()); in testCollapsed()
108 assertFalse("Should be expanded", mItem.isExpanded()); in testCollapsed()
118 assertFalse("Should not be expanded initially", mItem.isExpanded()); in testClick()
122 assertTrue("Should be expanded after clicking", mItem.isExpanded()); in testClick()
125 assertFalse("Should be collapsed again after clicking", mItem.isExpanded()); in testClick()
/frameworks/base/core/java/android/widget/
DSimpleExpandableListAdapter.java270 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
274 v = newGroupView(isExpanded, parent); in getGroupView()
288 public View newGroupView(boolean isExpanded, ViewGroup parent) { in newGroupView() argument
289 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
DCursorTreeAdapter.java194 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
203 v = newGroupView(mContext, cursor, isExpanded, parent); in getGroupView()
207 bindGroupView(v, mContext, cursor, isExpanded); in getGroupView()
221 protected abstract View newGroupView(Context context, Cursor cursor, boolean isExpanded, in newGroupView() argument
234 boolean isExpanded); in bindGroupView() argument
DResourceCursorTreeAdapter.java104 public View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) { in newGroupView() argument
105 return mInflater.inflate((isExpanded) ? mExpandedGroupLayout : mCollapsedGroupLayout, in newGroupView()
DExpandableListAdapter.java125 View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent); in getGroupView() argument
DSimpleCursorTreeAdapter.java258 protected void bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) { in bindGroupView() argument
DExpandableListView.java490 (pos.isExpanded() ? 1 : 0) | // Expanded? in getIndicator()
530 if ((pos.position.type == ExpandableListPosition.CHILD) || (pos.isExpanded() && in drawDivider()
682 if (posMetadata.isExpanded()) { in handleItemClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableNotificationRow.java177 if (!mShowingPublic && (!mIsLowPriority || isExpanded())
195 nowExpanded = !isExpanded();
372 color = mEntry.getContrastedColor(mContext, mIsLowPriority && !isExpanded(), in updateShelfIconColor()
1455 final boolean wasExpanded = isExpanded();
1502 final boolean wasExpanded = isExpanded();
1517 final boolean wasExpanded = isExpanded();
1520 if (wasExpanded != isExpanded()) {
1567 } else if (isExpanded()) {
1572 } else if (isExpanded()) {
1615 public boolean isExpanded() {
[all …]
/frameworks/ex/common/java/com/android/common/widget/
DGroupingListAdapter.java52 boolean isExpanded; field in GroupingListAdapter.PositionMetadata
353 metadata.isExpanded = expanded; in obtainPositionMetadata()
412 if (mPositionMetadata.isExpanded) { in toggleGroup()
478 mPositionMetadata.isExpanded); in getView()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRowPresenter.java192 public final boolean isExpanded() { in isExpanded() method in RowPresenter.ViewHolder
455 vh.setActivated(vh.isExpanded()); in updateActivateStatus()
461 vh.setActivated(vh.isExpanded() && vh.isSelected()); in updateActivateStatus()
518 containerView.showHeader(vh.isExpanded()); in updateHeaderViewVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowManager.java158 boolean expanded = isExpanded(state); in applyHeight()
170 private boolean isExpanded(State state) { in isExpanded() method in StatusBarWindowManager
258 mHasTopUiChanged = isExpanded(state); in applyHasTopUi()
340 public void setPanelExpanded(boolean isExpanded) { in setPanelExpanded() argument
341 mCurrentState.panelExpanded = isExpanded; in setPanelExpanded()
DHeadsUpTouchHelper.java82 mTouchingHeadsUpView = !mStackScroller.isExpanded() in onInterceptTouchEvent()
/frameworks/ex/common/tests/src/com/android/common/widget/
DGroupingListAdapterTests.java301 private void assertPositionMetadata(int position, int itemType, boolean isExpanded, in assertPositionMetadata() argument
307 assertEquals(isExpanded, metadata.isExpanded); in assertPositionMetadata()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DHeadsUpManager.java500 public void setIsExpanded(boolean isExpanded) { in setIsExpanded() argument
501 if (isExpanded != mIsExpanded) { in setIsExpanded()
502 mIsExpanded = isExpanded; in setIsExpanded()
503 if (isExpanded) { in setIsExpanded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSFragmentTest.java120 assertTrue(qs.isExpanded()); in testSaveState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationChildrenContainer.java666 && (mContainingNotification.isExpanded() || mContainingNotification.isHeadsUp())) {
991 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1018 } else if (child.isExpanded(true /* allowOnKeyguard */)) {
1054 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1106 return mIsLowPriority && !mContainingNotification.isExpanded();
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/
DmissingSinces.txt65 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepFragment Method isExpanded()
66 NO DOC BLOCK: android.support.v17.leanback.app.GuidedStepSupportFragment Method isExpanded()
67 NO DOC BLOCK: android.support.v17.leanback.widget.GuidedActionsStylist Method isExpanded()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DGuidedStepSupportFragmentTest.java359 assertTrue(first.getFragment().isExpanded()); in subActions()
363 assertFalse(first.getFragment().isExpanded()); in subActions()
415 assertFalse(first.getFragment().isExpanded()); in setActionsWhenSubActionsExpanded()
DGuidedStepFragmentTest.java356 assertTrue(first.getFragment().isExpanded()); in subActions()
360 assertFalse(first.getFragment().isExpanded()); in subActions()
412 assertFalse(first.getFragment().isExpanded()); in setActionsWhenSubActionsExpanded()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java796 public void setActionViewExpanded(boolean isExpanded) { in setActionViewExpanded() argument
797 mIsActionViewExpanded = isExpanded; in setActionViewExpanded()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java133 public View getGroupView(int groupPosition, boolean isExpanded, View convertView, in getGroupView() argument
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuItemImpl.java844 public void setActionViewExpanded(boolean isExpanded) { in setActionViewExpanded() argument
845 mIsActionViewExpanded = isExpanded; in setActionViewExpanded()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DGuidedStepSupportFragment.java368 public boolean isExpanded() { in isExpanded() method in GuidedStepSupportFragment
369 return mActionsStylist.isExpanded(); in isExpanded()
1089 if (isExpanded()) { in onCreateView()
DGuidedStepFragment.java365 public boolean isExpanded() { in isExpanded() method in GuidedStepFragment
366 return mActionsStylist.isExpanded(); in isExpanded()
1086 if (isExpanded()) { in onCreateView()

123