Searched refs:child (Results 51 - 75 of 131) sorted by path

123456

/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java214 protected int measureChildView(View child, int availableWidth, int childSpecHeight, argument
216 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST),
219 availableWidth -= child.getMeasuredWidth();
229 protected int positionChild(View child, int x, int y, int contentHeight, boolean reverse) { argument
230 int childWidth = child.getMeasuredWidth();
231 int childHeight = child.getMeasuredHeight();
235 child.layout(x - childWidth, childTop, x, childTop + childHeight);
237 child.layout(x, childTop, x + childWidth, childTop + childHeight);
H A DActionBarContainer.java253 public ActionMode startActionModeForChild(View child, ActionMode.Callback callback) { argument
254 // No starting an action mode for an action bar child! (Where would it go?)
293 final View child = getChildAt(i);
295 if (child == mTabContainer) continue;
298 child.offsetTopAndBottom(tabHeight);
H A DActionBarContextView.java417 View child = mMenuView.getChildAt(i);
418 child.setScaleY(0);
419 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0, 1);
443 View child = mMenuView.getChildAt(i);
444 child.setScaleY(0);
445 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0);
H A DActionBarView.java829 final View child = getChildAt(i);
830 if (child.getVisibility() != GONE &&
831 !(child == mMenuView && mMenuView.getChildCount() == 0)) {
H A DScrollingTabContainerView.java175 final View child = mTabLayout.getChildAt(i);
177 child.setSelected(isSelected);
522 final View child = mTabLayout.getChildAt(i);
523 child.setSelected(child == view);
H A DSizeAdaptiveLayout.java43 * Each child specifies its minimum and maximum valid height. Results are undefined
44 * if children specify overlapping ranges. A child may specify the maximum height
161 if (DEBUG) Log.d(TAG, "measured child at: " + childHeight);
170 private int clampSizeToBounds(int measuredHeight, View child) { argument
172 (SizeAdaptiveLayout.LayoutParams) child.getLayoutParams();
180 Log.d(TAG, this + "child view " + child + " " +
199 View child = getChildAt(i);
200 if (child != mModestyPanel) {
202 (SizeAdaptiveLayout.LayoutParams) child
[all...]
H A DTextProgressBar.java79 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
80 super.addView(child, index, params);
82 int childId = child.getId();
83 if (childId == CHRONOMETER_ID && child instanceof Chronometer) {
84 mChronometer = (Chronometer) child;
92 } else if (childId == PROGRESSBAR_ID && child instanceof ProgressBar) {
93 mProgressBar = (ProgressBar) child;
113 throw new RuntimeException("Expecting child ProgressBar with id " +
132 "Expecting child ProgressBar with id 'android.R.id.progress'");
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
H A DInterrogationActivityTest.java219 AccessibilityNodeInfo child = current.getChild(i);
220 fringe.add(child);
425 AccessibilityNodeInfo child = parent.getChild(i);
426 assertNotNull(child);
427 if (child.equals(button)) {
429 child.hashCode());
/frameworks/base/core/tests/coretests/src/android/util/
H A DListScenario.java569 * Have a child of the list view call {@link View#requestRectangleOnScreen(android.graphics.Rect)}.
572 * @param rect The rectangle, in the child's coordinates.
575 final View child = getListView().getChildAt(childIndex);
577 child.post(new Runnable() {
579 child.requestRectangleOnScreen(rect);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchSetSelectionTest.java74 View child = mGridView.getChildAt(i);
75 if (child.getId() == targetPosition) {
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DWeightSumTest.java40 mChild = activity.findViewById(R.id.child);
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListItemFocusablesFarApartTest.java46 * Get the child of a list item.
48 * @param index The index of the child.
57 View child = listItem.getChildAt(index);
58 return child.getTop() + listItem.getTop();
63 View child = listItem.getChildAt(index);
64 return child.getBottom() + listItem.getTop();
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListSetSelectionTest.java74 View child = mListView.getChildAt(i);
75 if (child.getId() == targetPosition) {
105 View child = mListView.getChildAt(i);
106 if (child.getId() == targetPosition) {
107 target = child;
140 View child = mListView.getChildAt(i);
141 if (child.getId() == 0 && i == 0) {
H A DListTouchManyTest.java68 assertEquals("Item zero not the first child in the list", 0, firstChild.getId());
105 View child = mListView.getChildAt(i);
106 if ((child.getTop() >= mListView.getListPaddingTop())
107 && (child.getBottom() <=
109 TouchUtils.clickView(this, child);
133 View child = mListView.getChildAt(i);
134 if ((child.getTop() >= mListView.getListPaddingTop())
135 && (child.getBottom() <=
137 TouchUtils.longClickView(this, child);
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css155 .layout-content-col:first-child {
270 /* don't highlight child items */
298 /* first gen child (2nd level li) */
305 /* second gen child (3rd level li) */
343 #nav li ul > li:last-child {
353 .new-child {
760 .ui-table tfoot td:last-child {
1800 .aside>:first-child, .notification>:first-child, .promo>:first-child {
[all...]
/frameworks/base/docs/html/guide/google/gcm/server-javadoc/
H A Ddefault.css155 .layout-content-col:first-child {
270 /* don't highlight child items */
298 /* first gen child (2nd level li) */
305 /* second gen child (3rd level li) */
343 #nav li ul > li:last-child {
353 .new-child {
760 .ui-table tfoot td:last-child {
1800 .aside>:first-child, .notification>:first-child, .promo>:first-child {
[all...]
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css661 .fieldtable tr:last-child td {
/frameworks/base/media/libdrm/mobile1/include/xml/
H A Dxml_tinyParser.h159 XML_TREE *child; member in struct:_XML_TREE
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsHorizontalScrollView.java368 View child = mAdapter.createView(mLinearLayout);
369 child.measure(childWidthMeasureSpec, childheightMeasureSpec);
371 (int) FloatMath.ceil(dm.widthPixels / (float) child.getMeasuredWidth());
372 addToRecycledViews(child);
H A DRecentsVerticalScrollView.java378 View child = mAdapter.createView(mLinearLayout);
379 child.measure(childWidthMeasureSpec, childheightMeasureSpec);
381 (int) FloatMath.ceil(dm.heightPixels / (float) child.getMeasuredHeight());
382 addToRecycledViews(child);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DLatestItemView.java36 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
37 if (super.onRequestSendAccessibilityEvent(child, event)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java381 protected void onViewAdded(View child) { argument
382 if (DEBUG) LOG("onViewAdded: " + child);
H A DPhoneStatusBar.java977 View child = mPile.getChildAt(i);
978 if (!toShow.contains(child)) {
979 toRemove.add(child);
1028 View child = mNotificationIcons.getChildAt(i);
1029 if (!toShow.contains(child)) {
1030 toRemove.add(child);
1636 * more children than necessary to get a layer (at most one extra child with the
2147 final View child = mPile.getChildAt(i);
2148 if (mPile.canChildBeDismissed(child) && child
[all...]
H A DPhoneStatusBarView.java92 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
93 if (super.onRequestSendAccessibilityEvent(child, event)) {
H A DQuickSettingsScrollView.java43 View child = getChildAt(0);
45 child.getHeight() - (getHeight() - mPaddingBottom - mPaddingTop));

Completed in 583 milliseconds

123456