Home
last modified time | relevance | path

Searched refs:childCount (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DPagedView.java525 final int childCount = getChildCount(); in onMeasure() local
526 for (int i = 0; i < childCount; i++) { in onMeasure()
567 if (childCount > 0) { in onMeasure()
586 if (childCount > 0) { in onMeasure()
587 final int index = isLayoutRtl() ? 0 : childCount - 1; in onMeasure()
614 int childCount = getChildCount(); in setLayoutScale() local
615 float childrenX[] = new float[childCount]; in setLayoutScale()
616 float childrenY[] = new float[childCount]; in setLayoutScale()
617 for (int i = 0; i < childCount; i++) { in setLayoutScale()
628 for (int i = 0; i < childCount; i++) { in setLayoutScale()
[all …]
DWorkspace.java1433 final int childCount = getChildCount();
1434 for (int i = 0; i < childCount; i++) {
1546 final int childCount = getChildCount();
1548 mOldTranslationXs = new float[childCount];
1549 mOldTranslationYs = new float[childCount];
1550 mOldScaleXs = new float[childCount];
1551 mOldScaleYs = new float[childCount];
1552 mOldBackgroundAlphas = new float[childCount];
1553 mOldAlphas = new float[childCount];
1554 mNewTranslationXs = new float[childCount];
[all …]
DCellLayout.java1078 final int childCount = getChildCount(); in setShortcutAndWidgetAlpha() local
1079 for (int i = 0; i < childCount; i++) { in setShortcutAndWidgetAlpha()
2196 int childCount = mShortcutsAndWidgets.getChildCount(); in copyCurrentStateToSolution() local
2197 for (int i = 0; i < childCount; i++) { in copyCurrentStateToSolution()
2217 int childCount = mShortcutsAndWidgets.getChildCount(); in copySolutionToTempState() local
2218 for (int i = 0; i < childCount; i++) { in copySolutionToTempState()
2245 int childCount = mShortcutsAndWidgets.getChildCount(); in animateItemsToSolution() local
2246 for (int i = 0; i < childCount; i++) { in animateItemsToSolution()
2264 int childCount = mShortcutsAndWidgets.getChildCount(); in beginOrAdjustHintAnimations() local
2265 for (int i = 0; i < childCount; i++) { in beginOrAdjustHintAnimations()
[all …]
DAppsCustomizePagedView.java301 int childCount = childrenLayout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() local
302 if (childCount > 0) { in getMiddleComponentIndexOnCurrentPage()
303 i = (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()
309 int childCount = layout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() local
310 if (childCount > 0) { in getMiddleComponentIndexOnCurrentPage()
312 ((currentPage - mNumAppsPages) * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()
999 int childCount = layout.getChildCount(); in setVisibilityOnChildren() local
1000 for (int i = 0; i < childCount; ++i) { in setVisibilityOnChildren()
DPagedViewGridLayout.java53 int childCount = getChildCount(); in resetChildrenOnKeyListeners() local
54 for (int j = 0; j < childCount; ++j) { in resetChildrenOnKeyListeners()
DPagedViewCellLayout.java137 int childCount = mChildren.getChildCount(); in resetChildrenOnKeyListeners() local
138 for (int j = 0; j < childCount; ++j) { in resetChildrenOnKeyListeners()
DDragLayer.java736 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java478 final int childCount = getChildCount(); in offsetChildren() local
479 for (int i = 0; i < childCount; i++) { in offsetChildren()
487 final int childCount = getChildCount(); in contentFits() local
488 if (childCount == 0) return true; in contentFits()
489 if (childCount != mItemCount) return false; in contentFits()
492 getChildAt(childCount - 1).getRight() <= getWidth() - getPaddingRight(); in contentFits()
824 final int childCount = getChildCount(); in addScrap() local
825 if (childCount > mMaxScrap) { in addScrap()
826 mMaxScrap = childCount; in addScrap()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java132 int childCount = getChildCount(); in updatePastEvents() local
140 for (int i = 0; i < childCount; ++i) { in updatePastEvents()
241 int childCount = getChildCount(); in getFirstVisibleView() local
242 for (int i = 0; i < childCount; ++i) { in getFirstVisibleView()
339 int childCount = getChildCount(); in isAgendaItemVisible() local
342 for (int i = 0; i < childCount; i++) { in isAgendaItemVisible()
/packages/apps/Gallery2/src/com/android/camera/ui/
DRotatableLayout.java107 int childCount = getChildCount(); in rotateChildren() local
108 for (int i = 0; i < childCount; i++) { in rotateChildren()
117 int childCount = getChildCount(); in flipChildren() local
118 for (int i = 0; i < childCount; i++) { in flipChildren()
/packages/apps/Email/src/com/android/email/activity/
DMailboxFragmentAdapter.java340 CursorWithExtras(Cursor cursor, int childCount) { in CursorWithExtras() argument
342 mChildCount = childCount; in CursorWithExtras()
544 final int childCount = userMailboxCursor.getCount(); in loadInBackground() local
561 if (childCount > 0) { in loadInBackground()
598 return new CursorWithExtras(returnCursor, childCount); in loadInBackground()
DMailboxListFragment.java996 final int childCount = lv.getChildCount(); in onDragLocation() local
997 if (viewIndex >= childCount) { in onDragLocation()
1003 Log.w(TAG, "null view; idx: " + viewIndex + ", cnt: " + childCount); in onDragLocation()
/packages/inputmethods/LatinIME/native/jni/src/
Dcorrection.cpp90 const int rootPos, const int childCount, const bool traverseAll) { in initCorrectionState() argument
91 latinime::initCorrectionState(mCorrectionStates, rootPos, childCount, traverseAll); in initCorrectionState()
175 int Correction::goDownTree(const int parentIndex, const int childCount, const int firstChildPos) { in goDownTree() argument
177 mCorrectionStates[mOutputIndex].mChildCount = childCount; in goDownTree()
Dunigram_dictionary.cpp320 int childCount = BinaryFormat::getGroupCountAndForwardPointer(DICT_ROOT, &rootPosition); in getSuggestionCandidates() local
323 correction->initCorrectionState(rootPosition, childCount, (inputSize <= 0)); in getSuggestionCandidates()
332 bigramMap, bigramFilter, correction, &childCount, &firstChildPos, &siblingPos, in getSuggestionCandidates()
339 outputIndex = correction->goDownTree(outputIndex, childCount, firstChildPos); in getSuggestionCandidates()
Dcorrection_state.h56 const uint16_t childCount, const bool traverseAll) { in initCorrectionState() argument
58 state->mChildCount = childCount; in initCorrectionState()
Dcorrection.h61 void initCorrectionState(const int rootPos, const int childCount, const bool traverseAll);
89 int goDownTree(const int parentIndex, const int childCount, const int firstChildPos);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactTileAdapter.java616 final int childCount = getChildCount();
617 if (childCount == 0) {
640 for (int i = 0; i < childCount; i++) {
/packages/apps/Browser/src/com/android/browser/view/
DCustomScreenLinearLayout.java44 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument
45 return childCount - i - 1; in getChildDrawingOrder()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactNameHighlightingAnimation.java42 int childCount = mListView.getChildCount(); in invalidate() local
43 for (int i = 0; i < childCount; i++) { in invalidate()
/packages/apps/Email/src/com/android/email/view/
DNonLockingScrollView.java108 final int childCount = viewGroup.getChildCount(); in excludeChildrenFromInterceptions() local
109 for (int i = 0; i < childCount; i++) { in excludeChildrenFromInterceptions()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_utils.cpp154 const int childCount = dicNode->getChildrenCount(); in createAndGetAllLeavingChildNodes() local
156 for (int i = 0; i < childCount; i++) { in createAndGetAllLeavingChildNodes()
/packages/apps/Contacts/src/com/android/contacts/editor/
DKindSectionView.java74 int childCount = mEditors.getChildCount(); in setEnabled() local
75 for (int i = 0; i < childCount; i++) { in setEnabled()
/packages/apps/Browser/src/com/android/browser/
DBreadCrumbView.java264 int childCount = getChildCount(); in updateVisible() local
265 while (childIndex < childCount) { in updateVisible()
/packages/apps/Settings/src/com/android/settings/
DKeyguardAppWidgetPickActivity.java610 final int childCount = root.getChildCount(); in finishDelayedAndShowLockScreen() local
611 for (int i = 0; i < childCount; i++) { in finishDelayedAndShowLockScreen()