Searched defs:child (Results 1 - 25 of 75) 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.java59 * @throws IllegalArgumentException if child is not an instance of
63 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
64 if (!(child instanceof TextView)) {
69 super.addView(child, index, params);
H A DViewSwitcher.java30 * child views, of which only one is shown at a time.
64 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
68 super.addView(child, index, params);
94 View child = mFactory.makeView();
95 LayoutParams lp = (LayoutParams) child.getLayoutParams();
99 addView(child, lp);
100 return child;
H A DAbsSpinner.java55 /** Temporary frame to hold a child View's frame rectangle */
239 int getChildHeight(View child) { argument
240 return child.getMeasuredHeight();
243 int getChildWidth(View child) { argument
244 return child.getMeasuredWidth();
353 View child = getChildAt(i);
354 if (child.getVisibility() == View.VISIBLE) {
355 child.getHitRect(frame);
H A DRadioGroup.java128 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
129 if (child instanceof RadioButton) {
130 final RadioButton button = (RadioButton) child;
141 super.addView(child, index, params);
262 * for a list of all child view attributes that this class supports.</p>
302 * <p>Fixes the child's width to
303 * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
374 public void onChildViewAdded(View parent, View child) { argument
375 if (parent == RadioGroup.this && child instanceof RadioButton) {
376 int id = child
394 onChildViewRemoved(View parent, View child) argument
[all...]
H A DViewAnimator.java97 * Sets which child view will be displayed.
99 * @param whichChild the index of the child view to display
119 * Returns the index of the currently displayed child view.
126 * Manually shows the next child.
134 * Manually shows the previous child.
142 * Shows only the specified child. The other displays Views exit the screen,
144 * the specified child enters the screen, optionally with the
147 * @param childIndex The index of the child to be shown.
154 final View child = getChildAt(i);
157 child
183 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.java99 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument
100 if (super.onRequestSendAccessibilityEvent(child, event)) {
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardLinearLayout.java41 public void setTopChild(View child) { argument
42 int top = indexOfChild(child);
/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.java44 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
90 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
152 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
154 return compat.onRequestSendAccessibilityEvent(host, child, event);
196 public boolean onRequestSendAccessibilityEvent(Object delegate, ViewGroup host, View child, argument
199 child, event);
243 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
245 return compat.onRequestSendAccessibilityEvent(host, child, event);
442 * Called when a child of the host View has requested sending an
453 * @param child Th
460 onRequestSendAccessibilityEvent(ViewGroup host, View child, AccessibilityEvent event) argument
[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'");
/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/support/v4/jellybean/android/support/v4/view/
H A DAccessibilityDelegateCompatJellyBean.java37 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child, argument
70 public boolean onRequestSendAccessibilityEvent(ViewGroup host, View child,
72 return bridge.onRequestSendAccessibilityEvent(host, child, event);
/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);
H A DTransformsAndAnimationsActivity.java193 protected boolean getChildStaticTransformation(View child, Transformation t) { argument
/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/support/v4/jellybean/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatJellyBean.java28 public static void addChild(Object info, View child, int virtualDescendantId) { argument
29 ((AccessibilityNodeInfo) info).addChild(child, virtualDescendantId);
/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
273 childHasTransientStateChanged(View child, boolean hasTransientState) argument
297 childAccessibilityStateChanged(View child) argument
[all...]

Completed in 1271 milliseconds

123