/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 647 Object child = currentGroup.mChildren.get(i); 648 if (child instanceof VGroup) { 649 printGroupTree((VGroup) child, level + 1); 651 ((VPath) child).printVPath(level + 1); 980 Object child = currentGroup.mChildren.get(i); 981 if (child instanceof VGroup) { 982 VGroup childGroup = (VGroup) child; 985 } else if (child instanceof VPath) { 986 VPath childPath = (VPath) child;
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 279 * If drag & drop is supported, we use child drawing order to bring them to front. 284 * This keeps a reference to the child dragged by the user. Even after user stops dragging, 291 * We cache the position of the overdraw child to avoid recalculating it each time child 292 * position callback is called. This value is invalidated whenever a child is attached or 440 private static boolean hitTest(View child, float x, float y, float left, float top) { argument 442 x <= left + child.getWidth() && 444 y <= top + child.getHeight(); 564 // child but that should perform good enough as it is very hard to start dragging a 565 // new child befor [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 1059 Object child = currentGroup.mChildren.get(i); 1060 if (child instanceof VGroup_Delegate) { 1061 VGroup_Delegate childGroup = (VGroup_Delegate) child; 1064 } else if (child instanceof VPath_Delegate) { 1065 VPath_Delegate childPath = (VPath_Delegate) child;
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | TimePickerDialog.java | 951 public void addChild(Node child) { argument 952 mChildren.add(child); 968 for (Node child : mChildren) { 969 if (child.containsKey(key)) { 970 return child;
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | TextInputLayout.java | 70 * The {@link TextInputEditText} class is provided to be used as a child of this layout. Using 195 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument 196 if (child instanceof EditText) { 197 setEditText((EditText) child); 198 super.addView(child, 0, updateEditTextMargin(params)); 201 super.addView(child, index, params); 373 * <p>If enabled, any non-empty hint in the child EditText will be moved into the floating
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 252 sp<WebmElement> child = (*it); local 253 child->serializeInto(buf + off); 254 off += child->totalSize();
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityInteractionClient.java | 811 AccessibilityNodeInfo child = infos.get(j); 812 if (child.getSourceNodeId() == childId) { 813 fringe.add(child);
|
H A D | AccessibilityNodeInfo.java | 805 * Returns the id of the child at the specified index. 821 * @return The child count. 828 * Get the child at given index. 835 * @param index The child index. 836 * @return The child node. 856 * Adds a child. 863 * @param child The child. 867 public void addChild(View child) { argument 868 addChildInternal(child, UNDEFINED_ITEM_I 877 addChildUnchecked(View child) argument 895 removeChild(View child) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.h | 499 void addChild(Node* child); 502 for (auto& child : mChildren) { 503 child->setPropertyChangedListener(listener);
|
/frameworks/base/core/java/android/widget/ |
H A D | DayPickerView.java | 119 final View child = content.getChildAt(0); 121 addView(child);
|
H A D | FastScroller.java | 1278 final View child = mList.getChildAt(0); 1280 if (child == null || child.getHeight() == 0) { 1283 incrementalPos = (float) (mList.getPaddingTop() - child.getTop()) / child.getHeight();
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
H A D | VCardEntryTests.java | 135 VCardEntry child = entries.get(0); 137 assertEquals("test2", child.getDisplayName());
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 487 * <p>If a child activity fails for any reason (such as crashing), the parent 872 /** Return the parent activity if this view is an embedded child. */ 2093 * it should return either a mapping from child activity id strings to arbitrary objects, 2095 * set of child activities, such as ActivityGroup. The same guarantees and restrictions apply 3415 * This is called when a child activity of this one attempts to navigate up. 3418 * @param child The activity making the call. 3420 public boolean onNavigateUpFromChild(Activity child) { argument 4244 // TODO Consider clearing/flushing other event sources and events for child windows. 4284 throw new RuntimeException("Can't be called from a child"); 4319 throw new RuntimeException("Can't be called from a child"); 4766 startActivityFromChild(@onNull Activity child, @RequiresPermission Intent intent, int requestCode) argument 4790 startActivityFromChild(@onNull Activity child, @RequiresPermission Intent intent, int requestCode, @Nullable Bundle options) argument 4881 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 4895 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 4910 startIntentSenderFromChildFragment(Fragment child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument 5250 finishFromChild(Activity child) argument 5297 finishActivityFromChild(@onNull Activity child, int requestCode) argument 6475 navigateUpToFromChild(Activity child, Intent upIntent) argument [all...] |
H A D | BackStackRecord.java | 1383 * specific shared elements. This allows developers to target child views of the 1405 * It won't add a child if it is already in views. 1410 return; // This child is already in the list, so all its children are also. 1419 final View child = viewGroup.getChildAt(childIndex); 1420 if (!containedBeforeIndex(views, child, startIndex)) { 1421 views.add(child); 1502 Transition child = set.getTransitionAt(i); 1503 removeTargets(child, views); 1530 Transition child = set.getTransitionAt(i); 1531 addTargets(child, view [all...] |
H A D | SearchDialog.java | 628 View child, ActionMode.Callback callback, int type) { 631 return super.startActionModeForChild(child, callback, type); 627 startActionModeForChild( View child, ActionMode.Callback callback, int type) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 74 * <p>This must be a child of the <a 1359 * a child node. If a phone number is found, the HitTestResult type is set 1986 public void onChildViewAdded(View parent, View child) {} argument 1995 public void onChildViewRemoved(View p, View child) {} argument 2613 public boolean requestChildRectangleOnScreen(View child, Rect rect, boolean immediate) { argument 2614 return mProvider.getViewDelegate().requestChildRectangleOnScreen(child, rect, immediate); 2662 * @param resultCode The integer result code returned by the child activity
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TransformsAndAnimationsActivity.java | 193 protected boolean getChildStaticTransformation(View child, Transformation t) { argument
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ViewDataBinding.java | 963 final View child = viewGroup.getChildAt(i); 966 String childTag = (String) child.getTag(); 979 bindings[index] = DataBindingUtil.bind(bindingComponent, child, 995 mapBindings(bindingComponent, child, bindings, includes, viewsWithIds, false);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 136 assertEquals("first fully visible child should be at position", 139 assertEquals("last fully visible child should be at position", 143 assertEquals("first visible child should be at position", 146 assertEquals("last visible child should be at position", 191 View child = mRecyclerView.getChildAt(i); 192 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() 193 : child.getHeight(); 194 assertEquals("child " + i + " should have the size specified in its layout params", 195 sizeMap.get(child).intValue(), size); 633 assertEquals(msg + "[child [all...] |
H A D | RecyclerViewLayoutTest.java | 357 private Rect getTransformedBoundingBox(View child) { argument 359 mRecyclerView.getLayoutManager().getTransformedBoundingBox(child, true, rect); 423 final View child = recyclerView.getChildAt(0); 424 assertThat(child.getScrollY(), CoreMatchers.is(scrollY)); 428 recyclerView.requestChildRectangleOnScreen(child, new Rect(3, 4, 5, 6), true); 1653 // first put the hidden child back 2441 assertEquals("ignored child should not be recycled or removed", 2, 2453 assertEquals("ignored child should be removed as well ", 0, lm.getChildCount()); 2481 View child = lm.findViewByPosition(pos); 2482 lm.ignoreView(child); 4156 attachViewToParent(View child, int index, ViewGroup.LayoutParams params) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 77 * If a child does not specify the row and column indices of the cell it 110 * {@link LayoutParams#setGravity(int) gravity} property of the child's layout parameters. 436 * based on the child's visual characteristics. Each of the 686 private int getTotalMargin(View child, boolean horizontal) { argument 687 return getMargin(child, horizontal, true) + getMargin(child, horizontal, false); 896 private void measureChildWithMargins2(View child, int parentWidthSpec, int parentHeightSpec, argument 899 getTotalMargin(child, true), childWidth); 901 getTotalMargin(child, false), childHeight); 902 child [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 516 * Notifies us that our child has been rebuilt, following 544 * We have one child 1069 public void invalidateChild(View child, Rect dirty) { argument 1076 if (DEBUG_DRAW) Log.v(mTag, "Invalidate child: " + dirty); 1164 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset) { argument 1165 if (child != mView) { 1166 throw new RuntimeException("child is not mine, honest!"); 1174 public void bringChildToFront(View child) { argument 2465 public void requestTransparentRegion(View child) { argument 2468 if (mView == child) { 3197 requestChildFocus(View child, View focused) argument 3206 clearChildFocus(View child) argument 3242 recomputeViewAttributes(View child) argument 3345 isViewDescendantOf(View child, View parent) argument 6627 childDrawableStateChanged(View child) argument 6631 requestSendAccessibilityEvent(View child, AccessibilityEvent event) argument 6771 notifySubtreeAccessibilityStateChanged(View child, View source, int changeType) argument 6866 requestChildRectangleOnScreen(View child, Rect rectangle, boolean immediate) argument 6885 childHasTransientStateChanged(View child, boolean hasTransientState) argument 6890 onStartNestedScroll(View child, View target, int nestedScrollAxes) argument 6899 onNestedScrollAccepted(View child, View target, int nestedScrollAxes) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 879 final View child = getChildAt(i); 880 if (child.getVisibility() != GONE && 881 !(child == mMenuView && mMenuView.getChildCount() == 0) && 882 child != mUpGoerFive) { 889 final View child = mUpGoerFive.getChildAt(i); 890 if (child.getVisibility() != GONE) {
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
H A D | ExprModelTest.java | 797 final Expr child = fieldAccess.getChild(); 798 assertTrue(child instanceof StaticIdentifierExpr); 799 StaticIdentifierExpr id = (StaticIdentifierExpr) child; 842 final Expr child = methodCall.getTarget(); 843 assertTrue(child instanceof StaticIdentifierExpr); 844 StaticIdentifierExpr id = (StaticIdentifierExpr) child;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 1104 final View child = mStackScroller.getChildAt(i); 1105 if (child instanceof ExpandableNotificationRow) { 1106 if (mStackScroller.canChildBeDismissed(child)) { 1107 if (child.getVisibility() == View.VISIBLE) { 1108 viewsToHide.add(child); 1111 ExpandableNotificationRow row = (ExpandableNotificationRow) child; 1668 View child = mStackScroller.getChildAt(i); 1669 if (!toShow.contains(child) && child instanceof ExpandableNotificationRow) { 1670 toRemove.add((ExpandableNotificationRow) child); [all...] |