Searched defs:child (Results 1 - 25 of 63) sorted by relevance

123

/frameworks/support/v4/ics/android/support/v4/view/
H A DViewGroupCompatIcs.java27 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument
29 return group.onRequestSendAccessibilityEvent(child, event);
H A DAccessibilityDelegateCompatIcs.java35 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument
68 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
70 return bridge.onRequestSendAccessibilityEvent(host, child, event);
106 View child, AccessibilityEvent event) {
107 return ((AccessibilityDelegate) delegate).onRequestSendAccessibilityEvent(host, child,
105 onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, AccessibilityEvent event) argument
/frameworks/base/core/java/android/widget/
H A DTextSwitcher.java57 * @throws IllegalArgumentException if child is not an instance of
61 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
62 if (!(child instanceof TextView)) {
67 super.addView(child, index, params);
H A DViewSwitcher.java28 * child views, of which only one is shown at a time.
62 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
66 super.addView(child, index, params);
80 View child = mFactory.makeView();
81 LayoutParams lp = (LayoutParams) child.getLayoutParams();
85 addView(child, lp);
86 return child;
H A DAbsSpinner.java54 /** Temporary frame to hold a child View's frame rectangle */
234 int getChildHeight(View child) { argument
235 return child.getMeasuredHeight();
238 int getChildWidth(View child) { argument
239 return child.getMeasuredWidth();
348 View child = getChildAt(i);
349 if (child.getVisibility() == View.VISIBLE) {
350 child.getHitRect(frame);
H A DRadioGroup.java126 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
127 if (child instanceof RadioButton) {
128 final RadioButton button = (RadioButton) child;
139 super.addView(child, index, params);
246 * for a list of all child view attributes that this class supports.</p>
286 * <p>Fixes the child's width to
287 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
358 public void onChildViewAdded(View parent, View child) { argument
359 if (parent == RadioGroup.this && child instanceof RadioButton) {
360 int id = child
378 onChildViewRemoved(View parent, View child) argument
[all...]
H A DViewAnimator.java95 * Sets which child view will be displayed.
97 * @param whichChild the index of the child view to display
117 * Returns the index of the currently displayed child view.
124 * Manually shows the next child.
132 * Manually shows the previous child.
140 * Shows only the specified child. The other displays Views exit the screen,
142 * the specified child enters the screen, optionally with the
145 * @param childIndex The index of the child to be shown.
152 final View child = getChildAt(i);
155 child
181 addView(View child, int index, ViewGroup.LayoutParams params) argument
[all...]
/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/tablet/
H A DNotificationArea.java32 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
33 if (super.onRequestSendAccessibilityEvent(child, event)) {
H A DNotificationPanelTitle.java72 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
73 if (super.onRequestSendAccessibilityEvent(child, event)) {
/frameworks/support/v4/java/android/support/v4/app/
H A DNoSaveStateFrameLayout.java31 static ViewGroup wrap(View child) { argument
32 NoSaveStateFrameLayout wrapper = new NoSaveStateFrameLayout(child.getContext());
33 ViewGroup.LayoutParams childParams = child.getLayoutParams();
39 child.setLayoutParams(lp);
40 wrapper.addView(child);
49 * Override to prevent freezing of any child views.
57 * Override to prevent thawing of any child views.
/frameworks/support/v4/java/android/support/v4/view/
H A DViewGroupCompat.java31 public boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument
37 ViewGroup group, View child, AccessibilityEvent event) {
45 ViewGroup group, View child, AccessibilityEvent event) {
46 return ViewGroupCompatIcs.onRequestSendAccessibilityEvent(group, child, event);
67 * Called when a child has requested sending an {@link AccessibilityEvent} and
77 * @param child The child which requests sending the event.
81 public static boolean onRequestSendAccessibilityEvent(ViewGroup group, View child, argument
83 return IMPL.onRequestSendAccessibilityEvent(group, child, event);
36 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument
44 onRequestSendAccessibilityEvent( ViewGroup group, View child, AccessibilityEvent event) argument
H A DAccessibilityDelegateCompat.java42 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
78 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
126 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
128 return compat.onRequestSendAccessibilityEvent(host, child, event);
170 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
173 child, event);
337 * Called when a child of the host View has requested sending an
348 * @param child The child which requests sending the event.
355 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument
[all...]
/frameworks/base/tools/localize/
H A DXLIFFFile_test.cpp51 XMLNode* child; local
53 child = add_html_tag(res.value, "b");
54 child->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, "b", XMLNode::EXACT));
56 child = add_html_tag(res.value, "i");
57 child->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, "i", XMLNode::EXACT));
59 child = add_html_tag(child, "b");
60 child->EditChildren().push_back(XMLNode::NewText(GENERATED_POS, "b", XMLNode::EXACT));
62 child = add_html_tag(res.value, "u");
63 child
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceFrameLayout.java84 public void addView(View child) { argument
90 android.view.ViewGroup.LayoutParams params = child.getLayoutParams();
92 ? (PreferenceFrameLayout.LayoutParams) child.getLayoutParams() : null;
93 // Check on the id of the child before adding it.
123 super.addView(child);
H A DGenericInflater.java63 public void addItemFromInflater(T child); argument
/frameworks/base/core/java/com/android/internal/widget/
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'");
H A DAbsActionBarView.java209 protected int measureChildView(View child, int availableWidth, int childSpecHeight, argument
211 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST),
214 availableWidth -= child.getMeasuredWidth();
220 protected int positionChild(View child, int x, int y, int contentHeight) { argument
221 int childWidth = child.getMeasuredWidth();
222 int childHeight = child.getMeasuredHeight();
225 child.layout(x, childTop, x + childWidth, childTop + childHeight);
230 protected int positionChildInverse(View child, int x, int y, int contentHeight) { argument
231 int childWidth = child.getMeasuredWidth();
232 int childHeight = child
[all...]
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java319 * child should be non-null.
325 assertTrue("child count should be >= 0", count >= 0);
334 * Assert that the specified group contains a specific child once and only once.
337 * @param child The child that should belong to group
339 static public void assertGroupContains(ViewGroup parent, View child) { argument
345 if (parent.getChildAt(i) == child) {
349 assertTrue("child " + child + " is duplicated in parent", false);
354 assertTrue("group does not contain " + child, foun
363 assertGroupNotContains(ViewGroup parent, View child) argument
[all...]
H A DActivityUnitTestCase.java68 * <li>{@link android.app.Activity#finishFromChild(Activity child)}</li>
265 * <li>{@link android.app.Activity#finishFromChild(Activity child)}</li>
310 public void startActivityFromChild(Activity child, Intent intent, int requestCode) { argument
319 * <li>{@link android.app.Activity#finishFromChild(Activity child)}</li>
323 public void finishFromChild(Activity child) { argument
334 public void finishActivityFromChild(Activity child, int requestCode) { argument
/frameworks/base/core/java/android/view/
H A DViewParent.java30 * child of this view parent. This will schedule a layout pass of the view
43 * Called when a child wants the view hierarchy to gather and report
50 * @param child the view requesting the transparent region computation
53 public void requestTransparentRegion(View child); argument
56 * All or part of a child is dirty and needs to be redrawn.
58 * @param child The child which is dirty
59 * @param r The area within the child that is invalid
61 public void invalidateChild(View child, Rect r); argument
64 * All or part of a child i
101 requestChildFocus(View child, View focused) argument
109 recomputeViewAttributes(View child) argument
116 clearChildFocus(View child) argument
138 getChildVisibleRect(View child, Rect r, android.graphics.Point offset) argument
153 bringChildToFront(View child) argument
205 childDrawableStateChanged(View child) argument
244 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument
263 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument
[all...]
/frameworks/base/include/utils/
H A DGenerationCache.h39 key(e.key), value(e.value), parent(e.parent), child(e.child) { }
41 key(e->key), value(e->value), parent(e->parent), child(e->child) { }
47 sp<Entry<EntryKey, EntryValue> > child; member in struct:android::Entry
226 mYoungest->child = entry;
234 entry->parent->child = entry->child;
237 if (entry->child.get()) {
238 entry->child
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDisplayListLayersActivity.java60 View child = root.getChildAt(i);
61 if (child != v) {
62 child.invalidate();
71 private void addChild(LinearLayout root, View child, int width, int height) { argument
75 root.addView(child, params);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSgTransform.java60 public void addChild(SgTransform child) { argument
61 mChildren.add(child);
62 child.setParent(this, mChildren.size() - 1);
95 SgTransform child = (SgTransform)mChildren.get(i);
96 mChildField.set(child.getData(), i, false);
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java371 protected boolean drawChild(Canvas canvas, View child, long drawingTime) { argument
374 int l = child.getLeft();
375 int t = child.getTop();
382 + " w=" + child.getWidth());
390 int restoreTo = canvas.saveLayerAlpha(l, t, child.getWidth(), child.getHeight(), alpha,
392 boolean rv = super.drawChild(canvas, child, drawingTime);
405 return super.drawChild(canvas, child, drawingTime);
414 // Take requested dimensions from child, but apply default gravity.

Completed in 382 milliseconds

123