Home
last modified time | relevance | path

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

12

/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java49 private boolean isExpanded = false; field in ExpandableSwitchItem
70 return isExpanded ? getExpandedSummary() : getCollapsedSummary(); in getSummary()
74 public boolean isExpanded() { in isExpanded() method in ExpandableSwitchItem
75 return isExpanded; in isExpanded()
80 if (isExpanded == expanded) { in setExpanded()
83 isExpanded = expanded; in setExpanded()
98 if (!isExpanded()) { in setCollapsedSummary()
114 if (isExpanded()) { in setExpandedSummary()
127 ((CheckableLinearLayout) content).setChecked(isExpanded()); in onBindView()
139 setExpanded(!isExpanded()); in onClick()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java89 assertTrue("Should be expanded", mItem.isExpanded()); in testExpanded()
100 assertTrue("Should be expanded", mItem.isExpanded()); in testCollapsed()
111 assertFalse("Should be expanded", mItem.isExpanded()); in testCollapsed()
120 assertFalse("Should not be expanded initially", mItem.isExpanded()); in testClick()
124 assertTrue("Should be expanded after clicking", mItem.isExpanded()); in testClick()
127 assertFalse("Should be collapsed again after clicking", mItem.isExpanded()); in testClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarTouchableRegionManager.java123 public void setIsStatusBarExpanded(boolean isExpanded) { in setIsStatusBarExpanded() argument
124 if (isExpanded != mIsStatusBarExpanded) { in setIsStatusBarExpanded()
125 mIsStatusBarExpanded = isExpanded; in setIsStatusBarExpanded()
126 if (isExpanded) { in setIsStatusBarExpanded()
DHeadsUpTouchHelper.java81 mTouchingHeadsUpView = !mCallback.isExpanded() in onInterceptTouchEvent()
83 } else if (child == null && !mCallback.isExpanded()) { in onInterceptTouchEvent()
180 boolean isExpanded(); in isExpanded() method
DHeadsUpManagerPhone.java221 public void setIsPanelExpanded(boolean isExpanded) { in setIsPanelExpanded() argument
222 if (isExpanded != mIsExpanded) { in setIsPanelExpanded()
223 mIsExpanded = isExpanded; in setIsPanelExpanded()
224 if (isExpanded) { in setIsPanelExpanded()
227 mStatusBarTouchableRegionManager.setIsStatusBarExpanded(isExpanded); in setIsPanelExpanded()
DStatusBarWindowController.java293 boolean expanded = isExpanded(state); in applyHeight()
307 private boolean isExpanded(State state) { in isExpanded() method in StatusBarWindowController
346 if (!isExpanded(state)) { in applyStatusBarColorSpaceAgnosticFlag()
421 mHasTopUiChanged = state.forceHasTopUi || isExpanded(state); in applyHasTopUi()
521 public void setPanelExpanded(boolean isExpanded) { in setPanelExpanded() argument
522 mCurrentState.panelExpanded = isExpanded; in setPanelExpanded()
DHeadsUpAppearanceController.java398 boolean isExpanded = expandedHeight > 0; in setAppearFraction()
405 if (isExpanded != mIsExpanded) { in setAppearFraction()
406 mIsExpanded = isExpanded; in setAppearFraction()
/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
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java192 @NonNull String key, boolean isUserAction, boolean isExpanded) {} in onNotificationExpansionChanged() argument
332 boolean isExpanded) { in onNotificationExpansionChanged() argument
336 args.argi2 = isExpanded ? 1 : 0; in onNotificationExpansionChanged()
440 boolean isExpanded = args.argi2 == 1; in handleMessage()
442 onNotificationExpansionChanged(key, isUserAction, isExpanded); in handleMessage()
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java264 if (!shouldShowPublic() && (!mIsLowPriority || isExpanded())
282 nowExpanded = !isExpanded();
605 color = mEntry.getContrastedColor(mContext, mIsLowPriority && !isExpanded(), in updateShelfIconColor()
2220 final boolean wasExpanded = isExpanded();
2224 if (!wasExpanded && isExpanded()
2231 boolean wasExpanded = isExpanded();
2234 if (wasExpanded != isExpanded()) {
2274 final boolean wasExpanded = isExpanded();
2290 final boolean wasExpanded = isExpanded();
2293 if (wasExpanded != isExpanded()) {
[all …]
/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/bubbles/
DBubbleData.java153 public boolean isExpanded() { in isExpanded() method in BubbleData
306 if (isExpanded()) { in doAdd()
314 if (!isExpanded()) { in doAdd()
338 if (!isExpanded()) { in doUpdate()
368 if (!isExpanded()) { in doRemove()
DBubbleTouchHandler.java202 if (!mBubbleData.isExpanded() && !mMovedEnough) { in onTouch()
215 mBubbleData.setExpanded(!mBubbleData.isExpanded()); in onTouch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java404 public void onExpansionChanged(String key, boolean isUserAction, boolean isExpanded) { in onExpansionChanged() argument
407 mExpansionStateLogger.onExpansionChanged(key, isUserAction, isExpanded, location); in onExpansionChanged()
446 void onExpansionChanged(String key, boolean isUserAction, boolean isExpanded, in onExpansionChanged() argument
450 state.mIsExpanded = isExpanded; in onExpansionChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileRevealController.java29 if (mQSPanel.isExpanded()) {
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java87 …public View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent… in getGroupView() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSwipeHelper.java104 public void setIsExpanded(boolean isExpanded) { in setIsExpanded() argument
105 mIsExpanded = isExpanded; in setIsExpanded()
DNotificationChildrenContainer.java665 || (!mContainingNotification.isOnKeyguard() && mContainingNotification.isExpanded())
988 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1015 } else if (child.isExpanded(true /* allowOnKeyguard */)) {
1052 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1119 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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowTest.java350 Assert.assertFalse(mGroupRow.isExpanded()); in testIsExpanded_userExpanded()
352 Assert.assertTrue(mGroupRow.isExpanded()); in testIsExpanded_userExpanded()

12