Searched refs:childCount (Results 1 - 25 of 33) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/view/
H A DCustomScreenLinearLayout.java44 protected int getChildDrawingOrder(int childCount, int i) { argument
45 return childCount - i - 1;
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAppsCustomizeCellLayout.java66 int childCount = children.getChildCount();
67 for (int j = 0; j < childCount; ++j) {
H A DPagedViewGridLayout.java53 int childCount = getChildCount();
54 for (int j = 0; j < childCount; ++j) {
H A DDragLayer.java830 int childCount = getChildCount();
831 for (int i = 0; i < childCount; i++) {
836 mChildCountOnLastUpdate = childCount;
840 protected int getChildDrawingOrder(int childCount, int i) { argument
841 if (mChildCountOnLastUpdate != childCount) {
853 } else if (i == childCount - 1) {
H A DAppsCustomizePagedView.java285 int childCount = childrenLayout.getChildCount();
286 if (childCount > 0) {
287 i = (currentPage * numItemsPerPage) + (childCount / 2);
293 int childCount = layout.getChildCount();
294 if (childCount > 0) {
296 (currentPage * numItemsPerPage) + (childCount / 2);
910 int childCount = layout.getChildCount();
911 for (int i = 0; i < childCount; ++i) {
938 int childCount = getChildCount();
939 for (int i = 0; i < childCount;
[all...]
H A DPagedViewCellLayout.java131 int childCount = mChildren.getChildCount();
132 for (int j = 0; j < childCount; ++j) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DViewPagerTabStrip.java70 int childCount = getChildCount();
73 if (childCount > 0) {
H A DContactTileAdapter.java589 final int childCount = getChildCount();
590 if (childCount == 0) {
614 for (int i = 0; i < childCount; i++) {
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewGridLayout.java53 int childCount = getChildCount();
54 for (int j = 0; j < childCount; ++j) {
H A DPagedView.java525 final int childCount = getChildCount();
526 for (int i = 0; i < childCount; i++) {
567 if (childCount > 0) {
586 if (childCount > 0) {
587 final int index = isLayoutRtl() ? 0 : childCount - 1;
614 int childCount = getChildCount();
615 float childrenX[] = new float[childCount];
616 float childrenY[] = new float[childCount];
617 for (int i = 0; i < childCount; i++) {
628 for (int i = 0; i < childCount;
[all...]
H A 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...]
H A DAppsCustomizePagedView.java304 int childCount = childrenLayout.getChildCount();
305 if (childCount > 0) {
306 i = (currentPage * numItemsPerPage) + (childCount / 2);
312 int childCount = layout.getChildCount();
313 if (childCount > 0) {
315 ((currentPage - mNumAppsPages) * numItemsPerPage) + (childCount / 2);
994 int childCount = layout.getChildCount();
995 for (int i = 0; i < childCount; ++i) {
H A DPagedViewCellLayout.java137 int childCount = mChildren.getChildCount();
138 for (int j = 0; j < childCount; ++j) {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageAttachmentTile.java137 int childCount = tileGrid.getChildCount();
140 childCount, new ViewIndexDistanceComparator(mPhotoIndex));
141 for (int i = 0; i < childCount; i++) {
147 int maxAdditionalPriority = childCount;
148 for (int i = 0; i < childCount; i++) {
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAttachmentTileGrid.java128 final int childCount = getChildCount();
129 if (childCount == 0) {
161 for (int i = 0; i < childCount; i++) {
173 final int numRows = ((childCount - 1) / mColumnCount) + 1;
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java195 // final int childCount = getChildCount();
196 // for (int i = 0; i < childCount; i++) {
478 final int childCount = getChildCount();
479 for (int i = 0; i < childCount; i++) {
487 final int childCount = getChildCount();
488 if (childCount == 0) return true;
489 if (childCount != mItemCount) return false;
492 getChildAt(childCount - 1).getRight() <= getWidth() - getPaddingRight();
824 final int childCount = getChildCount();
825 if (childCount > mMaxScra
[all...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaListView.java132 int childCount = getChildCount();
140 for (int i = 0; i < childCount; ++i) {
241 int childCount = getChildCount();
242 for (int i = 0; i < childCount; ++i) {
339 int childCount = getChildCount();
342 for (int i = 0; i < childCount; i++) {
/packages/experimental/TestBack/src/foo/bar/testback/
H A DTestBackService.java128 final int childCount = root.getChildCount();
129 for (int i = 0; i < childCount; i++) {
/packages/apps/Camera2/src/com/android/camera/widget/
H A DModeOptions.java247 int childCount = mActiveBar.getChildCount();
249 for (int i = 0; i < childCount; i++) {
254 button = mActiveBar.getChildAt(childCount-1-i);
258 ValueAnimator.ofFloat(deltaX*(childCount-i), 0.0f);
/packages/apps/Dialer/src/com/android/dialer/widget/
H A DOverlappingPaneLayout.java295 for (int i = 0, childCount = getChildCount(); i < childCount; i++) {
320 for (int i = 0, childCount = getChildCount(); i < childCount; i++) {
402 final int childCount = getChildCount();
404 if (childCount > 2) {
413 for (int i = 0; i < childCount; i++) {
469 for (int i = 0; i < childCount; i++) {
571 final int childCount = getChildCount();
579 for (int i = 0; i < childCount;
[all...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
H A DStaggeredGridView.java1289 final int childCount = getChildCount();
1290 if (childCount > 0) {
1294 for (int i = 0; i < childCount; i++){
1668 final int childCount = getChildCount();
1669 for (int i = 0; i < childCount; i++) {
1867 final int childCount = getChildCount();
1868 if (childCount == 0) {
1876 for (int i = 0; i < childCount; i++) {
1906 final int childCount = getChildCount();
1907 if (childCount
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
H A Dpatricia_trie_policy.cpp46 const int childCount = PatriciaTrieReadingUtils::getPtNodeArraySizeAndAdvancePosition( local
48 for (int i = 0; i < childCount; i++) {
50 AKLOGE("Child PtNode position is invalid. pos: %d, dict size: %d, childCount: %d / %d",
51 nextPos, mDictBufferSize, i, childCount);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DWallpaperPickerActivity.java453 int childCount = mWallpapersView.getChildCount();
454 for (int i = 0; i < childCount; i++) {
577 int childCount = mWallpapersView.getChildCount();
579 for (int i = 0; i < childCount; i++) {
608 int childCount = mWallpapersView.getChildCount();
611 for (int i = 0; i < childCount; i++) {
642 int childCount = mWallpapersView.getChildCount();
643 for (int i = 0; i < childCount; i++) {
744 final int childCount = masterWallpaperList.getChildCount();
751 for (int i = 0; i < childCount;
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DBreadCrumbView.java264 int childCount = getChildCount();
265 while (childIndex < childCount) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DKindSectionView.java74 int childCount = mEditors.getChildCount();
75 for (int i = 0; i < childCount; i++) {

Completed in 902 milliseconds

12