Searched refs:child (Results 226 - 250 of 358) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DAdapterView.java66 * The position of the first child displayed
110 * Sync based on the selected child
115 * Sync based on the first child displayed
428 * The child view for which the context menu is being displayed. This
463 * @param child Ignored.
468 public void addView(View child) { argument
475 * @param child Ignored.
481 public void addView(View child, int index) { argument
488 * @param child Ignored.
494 public void addView(View child, LayoutParam argument
509 addView(View child, int index, LayoutParams params) argument
522 removeView(View child) argument
962 onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) argument
[all...]
H A DStackView.java526 * Apply any necessary tranforms for the child that is being added.
528 void applyTransformForChildAtIndex(View child, int relativeIndex) { argument
538 final View child = getChildAt(i);
539 LayoutParams lp = (LayoutParams) child.getLayoutParams();
541 child.getAlpha() == 0f || child.getVisibility() != VISIBLE) {
1103 final View child = getChildAt(i);
1105 int childRight = mPaddingLeft + child.getMeasuredWidth();
1106 int childBottom = mPaddingTop + child.getMeasuredHeight();
1107 LayoutParams lp = (LayoutParams) child
[all...]
H A DZoomButtonsController.java423 * respects the gravity of a child's layout parameters.
613 // Reverse order so the child drawn on top gets first dibs.
622 View child = mContainer.getChildAt(i);
623 if (child.getVisibility() != View.VISIBLE) {
627 child.getHitRect(frame);
629 return child;
650 closestChild = child;
H A DTimePickerClockDelegate.java830 * Delegates unhandled touches in a view group to the nearest child view.
847 final View child = mInitialTouchTarget;
848 if (child == null) {
852 final float offsetX = view.getScrollX() - child.getLeft();
853 final float offsetY = view.getScrollY() - child.getTop();
855 final boolean handled = child.dispatchTouchEvent(motionEvent);
871 final View child = v.getChildAt(i);
872 final int dX = x - (child.getLeft() + child.getWidth() / 2);
873 final int dY = y - (child
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DWatchHeaderListView.java57 public void addView(View child, ViewGroup.LayoutParams params) { argument
59 setTopPanel(child);
H A DDecorCaptionView.java59 * First, no matter where the content View gets added, it will always be the first child and the
266 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
276 // first child to get the right Z-Ordering.
277 super.addView(child, 0, params);
278 mContent = child;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarView.java81 public boolean onRequestSendAccessibilityEventInternal(View child, AccessibilityEvent event) { argument
82 if (super.onRequestSendAccessibilityEventInternal(child, event)) {
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java79 for (File child : fileOrDirectory.listFiles())
80 deleteRecursive(child);
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DXmlConfigTests.java272 NetworkSecurityConfig child = appConfig.getConfigForHostname("developer.android.com");
273 MoreAsserts.assertNotEqual(parent, child);
275 MoreAsserts.assertNotEmpty(child.getPins().pins);
276 // Check that the child inherited the cleartext value and anchors.
277 assertFalse(child.isCleartextTrafficPermitted());
278 MoreAsserts.assertNotEmpty(child.getTrustAnchors());
290 NetworkSecurityConfig child = appConfig.getConfigForHostname("developer.android.com");
291 MoreAsserts.assertNotEqual(parent, child);
293 assertFalse(child.isCleartextTrafficPermitted());
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
H A DMergedBinding.java50 final Expr child = children.get(i);
51 child.resolveListeners(parameters[i], expr);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLayoutFileParser.java179 for (XMLParser.ElementContext child : XmlEditor.elements(ctx)) {
180 if ("include".equals(child.elmName.getText())) {
358 for (XMLParser.ElementContext child : XmlEditor.elements(root)) {
359 if (name.equals(child.elmName.getText())) {
360 result.add(child);
376 for (XMLParser.ElementContext child : XmlEditor.elements(root)) {
377 if (!name.equals(child.elmName.getText())) {
378 result.add(child);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DDrawableUtils.java139 // If we have a DrawableContainer, let's traverse it's child array
144 for (final Drawable child : containerState.getChildren()) {
145 if (!canSafelyMutateDrawable(child)) {
H A DActionBarContainer.java232 public android.view.ActionMode startActionModeForChild(View child, argument
234 // No starting an action mode for an action bar child! (Where would it go?)
238 public android.view.ActionMode startActionModeForChild(View child, argument
241 return super.startActionModeForChild(child, callback, type);
/frameworks/base/libs/hwui/
H A DRenderNode.cpp55 for (auto&& child : mDisplayList->getChildren()) {
56 child->renderNode->debugDumpLayers(prefix);
213 for (auto&& child : mDisplayList->getChildren()) {
214 child->renderNode->copyTo(pnode->add_children());
484 for (auto&& child : mStagingDisplayList->getChildren()) {
485 child->renderNode->incParentRefCount();
514 for (auto&& child : mDisplayList->getChildren()) {
515 child->renderNode->decParentRefCount(observer, info);
553 for (auto&& child : mDisplayList->getChildren()) {
554 child
752 RenderNode* child = childOp->renderNode; local
839 RenderNode* child = childOp->renderNode; local
[all...]
H A DVectorDrawable.cpp340 for (auto& child : mChildren) {
341 child->draw(outCanvas, stackedMatrix, scaleX, scaleY, useStagingData);
364 for (auto& child : mChildren) {
365 child->syncProperties();
380 void Group::addChild(Node* child) { argument
381 mChildren.emplace_back(child);
383 child->setPropertyChangedListener(mPropertyChangedListener);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java187 // the Expanded child is smaller then the collapsed. Let's remeasure it.
345 public void setContractedChild(View child) { argument
350 addView(child);
351 mContractedChild = child;
352 mContractedWrapper = NotificationViewWrapper.wrap(getContext(), child,
357 public void setExpandedChild(View child) { argument
362 addView(child);
363 mExpandedChild = child;
364 mExpandedWrapper = NotificationViewWrapper.wrap(getContext(), child,
368 public void setHeadsUpChild(View child) { argument
[all...]
/frameworks/support/core-ui/tests/java/android/support/v4/view/
H A DViewPagerActions.java355 final View child = pagerStrip.getChildAt(i);
356 if (child instanceof TextView) {
357 final TextView textViewChild = (TextView) child;
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTestUtilsActions.java64 View child = viewGroup.getChildAt(i);
65 if (child instanceof TabLayout) {
67 viewGroup.removeView(child);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityCache.java280 // If the child is no longer present, remove the sub-tree.
474 // The node should be a child of its parent if we have the parent.
480 AccessibilityNodeInfo child = nodes.get(nodeParent.getChildId(k));
481 if (child == node) {
487 Log.e(LOG_TAG, "Invalid parent-child relation between parent: "
488 + nodeParent + " and child: " + node);
492 // The node should be the parent of its child if we have the child.
495 AccessibilityNodeInfo child = nodes.get(node.getChildId(k));
496 if (child !
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java116 * Adds a child component to this component.
117 * @param child The child component.
119 public void addChild(Component child) { argument
120 getOrCreateChildren().add(child);
492 Component child = new Component(componentName, component);
494 component.addChild(child);
496 return child;
/frameworks/base/tools/fonts/
H A Dfontchain_lint.py226 for child in family:
227 assert child.tag == 'font', (
228 'Unknown tag <%s>' % child.tag)
229 font_file = child.text
230 weight = int(child.get('weight'))
234 style = child.get('style')
238 index = child.get('index')
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
H A DTileAdapter.java487 final View child = parent.getChildAt(i);
488 final ViewHolder holder = parent.getChildViewHolder(child);
489 if (holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) {
493 final RecyclerView.LayoutParams params = (RecyclerView.LayoutParams) child
495 final int top = child.getTop() + params.topMargin +
496 Math.round(ViewCompat.getTranslationY(child));
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DSuggestionParser.java309 protected void onAddChildItem(Object parent, Object child) { argument
310 if (parent instanceof List<?> && child instanceof SuggestionCategory) {
311 ((List<SuggestionCategory>) parent).add((SuggestionCategory) child);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DAsyncListUtilLayoutTest.java135 assertEquals(context + ", empty child found", 0, getEmptyVisibleChildCount());
173 View child = mLayoutManager.findViewByPosition(i);
174 assertTrue(child instanceof TextView);
175 if (((TextView) child).getText() == "") {
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseGridView.java122 * Dont save states of any child views.
127 * Only save on screen child views, the states are lost when they become off screen.
132 * Save on screen views plus save off screen child views states up to
138 * Save on screen views plus save off screen child views without any limitation.
183 * Animate layout changes from a child resizing or adding/removing a child.
345 * Item alignment settings are ignored for the child if {@link ItemAlignmentFacet}
370 * Item alignment settings are ignored for the child if {@link ItemAlignmentFacet}
391 * Item alignment settings are ignored for the child if {@link ItemAlignmentFacet}
418 * Item alignment settings are ignored for the child i
[all...]

Completed in 977 milliseconds

1234567891011>>