Searched refs:child (Results 251 - 275 of 358) sorted by relevance

<<1112131415

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPicker.java423 public void onChildViewHolderSelected(RecyclerView parent, RecyclerView.ViewHolder child,
430 if (child != null) {
561 public void requestChildFocus(View child, View focused) { argument
562 super.requestChildFocus(child, focused);
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java281 View child = menuView.getChildAt(i);
282 final int id = child.getId();
283 if (id > 0 && child.getWidth() != 0 && child.getHeight() != 0) {
284 MenuItemLayoutInfo info = new MenuItemLayoutInfo(child, preLayout);
534 final View child = parent.getChildAt(i);
535 if (child instanceof MenuView.ItemView &&
536 ((MenuView.ItemView) child).getItemData() == item) {
537 return child;
H A DGridLayout.java78 * If a child does not specify the row and column indices of the cell it
112 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters.
444 * based on the child's visual characteristics. Each of the
695 private int getTotalMargin(View child, boolean horizontal) { argument
696 return getMargin(child, horizontal, true) + getMargin(child, horizontal, false);
808 protected void onSetLayoutParams(View child, ViewGroup.LayoutParams layoutParams) { argument
809 super.onSetLayoutParams(child, layoutParams);
946 public void onViewAdded(View child) { argument
947 super.onViewAdded(child);
952 onViewRemoved(View child) argument
964 onChildVisibilityChanged(View child, int oldVisibility, int newVisibility) argument
997 measureChildWithMargins2(View child, int parentWidthSpec, int parentHeightSpec, int childWidth, int childHeight) argument
[all...]
H A DPopupWindow.java2331 final View child = getChildAt(i);
2332 enterTransition.addTarget(child);
2333 child.setVisibility(View.INVISIBLE);
2339 final View child = getChildAt(i);
2340 child.setVisibility(View.VISIBLE);
2380 final View child = getChildAt(i);
2381 exitTransition.addTarget(child);
2387 final View child = getChildAt(i);
2388 child.setVisibility(View.INVISIBLE);
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSwipeRefreshLayout.java60 * result of the gesture and can only support one direct child. This view will
368 // Draw the selected child last
371 // Move the children after the selected child earlier one
374 // Keep the children before the selected child the same
594 View child = getChildAt(i);
595 if (!child.equals(mCircleView)) {
596 mTarget = child;
625 final View child = mTarget;
630 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
673 * @return Whether it is possible for the child vie
777 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument
783 onNestedScrollAccepted(View child, View target, int axes) argument
1227 canChildScrollUp(SwipeRefreshLayout parent, @Nullable View child) argument
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputLayout.java80 * The {@link TextInputEditText} class is provided to be used as a child of this layout. Using
254 public void addView(View child, int index, final ViewGroup.LayoutParams params) { argument
255 if (child instanceof EditText) {
256 mInputFrame.addView(child, new FrameLayout.LayoutParams(params));
263 setEditText((EditText) child);
266 super.addView(child, index, params);
450 * <p>If enabled, any non-empty hint in the child EditText will be moved into the floating
775 final View child = vg.getChildAt(i);
776 child.setEnabled(enabled);
777 if (child instanceo
[all...]
H A DSnackbar.java863 public boolean canSwipeDismissView(View child) { argument
864 return child instanceof SnackbarLayout;
868 public boolean onInterceptTouchEvent(CoordinatorLayout parent, SnackbarLayout child, argument
872 if (parent.isPointInChildBounds(child, (int) event.getX(), (int) event.getY())) {
884 return super.onInterceptTouchEvent(parent, child, event);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java606 * Insert a new child into an existing parent.
625 // inflate the child without adding it to the root since we want to control where it'll
628 final View child = mInflater.inflate(blockParser, parentView, false /*attachToRoot*/);
639 return addView(parentView, child, index);
649 return SUCCESS.createResult(child);
653 Result result = addView(parentView, child, index);
660 result = result.getCopyWithData(child);
804 * @param previousParent the previous parent, still owning the child at the time of the call.
820 // in this case there is an animation. This means we have to wait for the child's
827 // adding the child o
[all...]
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DXMLNode.java89 public void addChild(XMLNode child) { argument
90 mChildren.add(child);
138 throw new OMAException("Expected exactly one child to " + mTag);
192 for (XMLNode child : mChildren) {
193 child.toString(subIndent, sb);
/frameworks/base/tools/aapt/
H A DXMLNode.h116 status_t addChild(const sp<XMLNode>& child);
118 status_t insertChildAt(const sp<XMLNode>& child, size_t index);
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DListenerBindingObject.java217 public void onChildViewAdded(View parent, View child) { } argument
219 public void onChildViewRemoved(View parent, View child) { } argument
/frameworks/support/compat/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java45 public static void addChild(Object info, View child) { argument
46 ((AccessibilityNodeInfo) info).addChild(child);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DControlBarPresenter.java88 public void onChildFocusedListener(View child, View focused) {
93 if (mViewHolders.get(position).view == child) {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DLayoutInflaterFactoryTestCase.java100 final View child = root.getChildAt(i);
101 assertThemedContext(child);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerSnappingTest.java267 final View child = mLayoutManager.getChildAt(i);
268 int dist = distFromCenter(child);
H A DTestedFrameLayout.java139 public boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) { argument
174 public void onNestedScrollAccepted(View child, View target, int axes) { argument
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java177 final View child = mTabLayout.getChildAt(i);
179 child.setSelected(isSelected);
563 final View child = mTabLayout.getChildAt(i);
564 child.setSelected(child == view);
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
H A DESTHandler.java257 throw new IOException("Expected [CONTEXT 0] with one child, got " +
343 for (Asn1Object child : sequence.getChildren()) {
344 if (child.getTag() == Asn1Decoder.TAG_OID) {
345 Asn1Oid oid = (Asn1Oid) child;
360 } else if (child.getTag() == Asn1Decoder.TAG_SEQ) {
365 for (Asn1Object attributeSeq : child.getChildren()) {
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutUser.java571 for (File child : path.listFiles()) {
572 if (child.isFile()) {
574 size += child.length();
575 } else if (child.isDirectory()) {
576 dumpDirectorySize(pw, prefix + " ", child);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DScrollingTabContainerView.java186 final View child = mTabLayout.getChildAt(i);
188 child.setSelected(isSelected);
589 final View child = mTabLayout.getChildAt(i);
590 child.setSelected(child == view);
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp784 auto child = TestUtils::createNode(10, 10, 110, 110, local
792 [&child](RenderProperties& props, RecordingCanvas& canvas) {
799 canvas.drawRenderNode(child.get());
1326 * - startRepaintLayer(child), rect(grey), endLayer
1327 * - startTemporaryLayer, drawLayer(child), endLayer
1387 auto child = TestUtils::createNode(50, 50, 150, 150, local
1395 *(child->getLayerHandle()) = &childLayer;
1397 RenderNode* childPtr = child.get();
1415 layerUpdateQueue.enqueueLayerWithDamage(child.get(), Rect(100, 100));
1428 *(child
1602 auto child = TestUtils::createNode(0, 50, 100, 100, local
1679 auto child = TestUtils::createNode(100, 100, 300, 300, local
1753 auto child = TestUtils::createNode(0, 0, 400, 400, local
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DVectorDrawable.java637 // Remove child nodes' reference to tree
1272 public void addChild(VObject child) { argument
1273 nAddChild(mNativePtr, child.getNativePtr());
1274 mChildren.add(child);
1275 mIsStateful |= child.isStateful();
1344 final VObject child = children.get(i);
1345 if (child.isStateful()) {
1346 changed |= child.onStateChange(stateSet);
1376 final VObject child = children.get(i);
1377 if (child
[all...]
/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/media/java/android/media/
H A DCea708CaptionRenderer.java1155 View child = getChildAt(i);
1156 ViewGroup.LayoutParams params = child.getLayoutParams();
1160 "A child of ScaledLayout cannot have the UNSPECIFIED scale factors");
1167 throw new RuntimeException("A child of ScaledLayout should have a range of "
1171 throw new RuntimeException("A child of ScaledLayout should have a range of "
1175 throw new RuntimeException("A child of ScaledLayout should have a range of "
1179 throw new RuntimeException("A child of ScaledLayout should have a range of "
1183 Log.d(TAG, String.format("onMeasure child scaleStartRow: %f scaleEndRow: %f "
1192 child.measure(childWidthSpec, childHeightSpec);
1194 // If the height of the measured child vie
[all...]

Completed in 661 milliseconds

<<1112131415