Searched refs:parent (Results 1 - 25 of 597) sorted by relevance

1234567891011>>

/frameworks/support/v4/api21/android/support/v4/view/
H A DViewParentCompatLollipop.java27 public static boolean onStartNestedScroll(ViewParent parent, View child, View target, argument
30 return parent.onStartNestedScroll(child, target, nestedScrollAxes);
32 Log.e(TAG, "ViewParent " + parent + " does not implement interface " +
38 public static void onNestedScrollAccepted(ViewParent parent, View child, View target, argument
41 parent.onNestedScrollAccepted(child, target, nestedScrollAxes);
43 Log.e(TAG, "ViewParent " + parent + " does not implement interface " +
48 public static void onStopNestedScroll(ViewParent parent, View target) { argument
50 parent.onStopNestedScroll(target);
52 Log.e(TAG, "ViewParent " + parent + " does not implement interface " +
57 public static void onNestedScroll(ViewParent parent, Vie argument
67 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument
77 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument
88 onNestedPreFling(ViewParent parent, View target, float velocityX, float velocityY) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewParentCompat.java37 ViewParent parent, View child, AccessibilityEvent event);
38 boolean onStartNestedScroll(ViewParent parent, View child, View target, argument
40 void onNestedScrollAccepted(ViewParent parent, View child, View target, argument
42 void onStopNestedScroll(ViewParent parent, View target); argument
43 void onNestedScroll(ViewParent parent, View target, int dxConsumed, int dyConsumed, argument
45 void onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed); argument
46 boolean onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, argument
48 boolean onNestedPreFling(ViewParent parent, View target, float velocityX, float velocityY); argument
49 void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, argument
56 ViewParent parent, Vie
36 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
55 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
68 onStartNestedScroll(ViewParent parent, View child, View target, int nestedScrollAxes) argument
78 onNestedScrollAccepted(ViewParent parent, View child, View target, int nestedScrollAxes) argument
87 onStopNestedScroll(ViewParent parent, View target) argument
94 onNestedScroll(ViewParent parent, View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed) argument
103 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument
111 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument
121 onNestedPreFling(ViewParent parent, View target, float velocityX, float velocityY) argument
131 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument
138 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
147 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument
156 onStartNestedScroll(ViewParent parent, View child, View target, int nestedScrollAxes) argument
163 onNestedScrollAccepted(ViewParent parent, View child, View target, int nestedScrollAxes) argument
170 onStopNestedScroll(ViewParent parent, View target) argument
175 onNestedScroll(ViewParent parent, View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed) argument
182 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument
188 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument
195 onNestedPreFling(ViewParent parent, View target, float velocityX, float velocityY) argument
237 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
264 onStartNestedScroll(ViewParent parent, View child, View target, int nestedScrollAxes) argument
285 onNestedScrollAccepted(ViewParent parent, View child, View target, int nestedScrollAxes) argument
301 onStopNestedScroll(ViewParent parent, View target) argument
326 onNestedScroll(ViewParent parent, View target, int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed) argument
351 onNestedPreScroll(ViewParent parent, View target, int dx, int dy, int[] consumed) argument
375 onNestedFling(ViewParent parent, View target, float velocityX, float velocityY, boolean consumed) argument
400 onNestedPreFling(ViewParent parent, View target, float velocityX, float velocityY) argument
420 notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, View source, int changeType) argument
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DItemInflater.java57 protected void onAddChildItem(ItemHierarchy parent, ItemHierarchy child) { argument
58 if (parent instanceof ItemParent) {
59 ((ItemParent) parent).addChild(child);
61 throw new IllegalArgumentException("Cannot add child item to " + parent);
/frameworks/support/design/src/android/support/design/widget/
H A DViewGroupUtils.java27 void offsetDescendantRect(ViewGroup parent, View child, Rect rect); argument
32 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
33 parent.offsetDescendantRectToMyCoords(child, rect);
43 public void offsetDescendantRect(ViewGroup parent, View child, Rect rect) { argument
44 ViewGroupUtilsHoneycomb.offsetDescendantRect(parent, child, rect);
68 static void offsetDescendantRect(ViewGroup parent, View descendant, Rect rect) { argument
69 IMPL.offsetDescendantRect(parent, descendant, rect);
79 static void getDescendantRect(ViewGroup parent, View descendant, Rect out) { argument
81 offsetDescendantRect(parent, descendant, out);
H A DHeaderScrollingViewBehavior.java51 public boolean onMeasureChild(CoordinatorLayout parent, View child, argument
60 final List<View> dependencies = parent.getDependencies(child);
79 availableHeight = parent.getHeight();
90 parent.onMeasureChild(child, parentWidthMeasureSpec,
100 protected void layoutChild(final CoordinatorLayout parent, final View child, argument
102 final List<View> dependencies = parent.getDependencies(child);
109 available.set(parent.getPaddingLeft() + lp.leftMargin,
111 parent.getWidth() - parent.getPaddingRight() - lp.rightMargin,
112 parent
[all...]
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimatorRT.java48 public boolean startAnimation(ViewPropertyAnimator parent) { argument
49 cancelAnimators(parent.mPendingAnimations);
50 if (!canHandleAnimator(parent)) {
53 doStartAnimation(parent);
66 private void doStartAnimation(ViewPropertyAnimator parent) { argument
67 int size = parent.mPendingAnimations.size();
69 long startDelay = parent.getStartDelay();
70 long duration = parent.getDuration();
71 TimeInterpolator interpolator = parent.getInterpolator();
80 NameValuesHolder holder = parent
97 canHandleAnimator(ViewPropertyAnimator parent) argument
[all...]
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewParentCompatICS.java28 ViewParent parent, View child, AccessibilityEvent event) {
29 return parent.requestSendAccessibilityEvent(child, event);
27 requestSendAccessibilityEvent( ViewParent parent, View child, AccessibilityEvent event) argument
/frameworks/support/v4/kitkat/android/support/v4/view/
H A DViewParentCompatKitKat.java23 public static void notifySubtreeAccessibilityStateChanged(ViewParent parent, View child, argument
25 parent.notifySubtreeAccessibilityStateChanged(child, source, changeType);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemFocusableAboveUnfocusable.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
43 position, parent.getContext(), getValueAtPosition(position), desiredHeight);
45 return super.createView(position, parent, desiredHeight);
H A DListItemFocusablesFarApart.java40 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
42 position, parent.getContext(), desiredHeight);
/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DBaseFragmentActivityHoneycomb.java32 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { argument
33 final View v = dispatchFragmentsOnCreateView(parent, name, context, attrs);
36 return super.onCreateView(parent, name, context, attrs);
/frameworks/support/v4/tests/java/android/support/v4/app/
H A DChildFragmentStateTest.java37 FragmentTestActivity.ParentFragment parent = new ParentFragment();
39 fm.beginTransaction().add(parent, "parent").commit();
41 assertTrue(parent.wasAttachedInTime);
/frameworks/base/core/java/android/widget/
H A DSpinnerAdapter.java39 * @param parent the parent that this view will eventually be attached to
43 public View getDropDownView(int position, View convertView, ViewGroup parent); argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DZOrderingActivity.java15 ViewGroup grandParent = (ViewGroup) findViewById(R.id.parent);
22 ViewGroup parent = (ViewGroup) grandParent.getChildAt(i);
23 for (int j = 0; j < parent.getChildCount(); j++) {
24 parent.getChildAt(j).setOnClickListener(l);
/frameworks/base/tools/aapt2/flatten/
H A DResourceTypeExtensions.h30 android::ResTable_ref parent; member in struct:aapt::ResTable_entry_ext
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DOnChildLaidOutListener.java28 * @param parent The ViewGroup where the layout happened.
33 void onChildLaidOut(ViewGroup parent, View view, int position, long id); argument
H A DOnChildSelectedListener.java30 * @param parent The ViewGroup where the selection happened.
38 void onChildSelected(ViewGroup parent, View view, int position, long id); argument
H A DInvisibleRowPresenter.java30 protected ViewHolder createRowViewHolder(ViewGroup parent) { argument
31 RelativeLayout root = new RelativeLayout(parent.getContext());
H A DUtil.java26 * Returns true if child == parent or is descendant of the parent.
28 public static boolean isDescendant(ViewGroup parent, View child) { argument
30 if (child == parent) {
H A DStaticShadowHelper.java36 public void prepareParent(ViewGroup parent); argument
46 public void prepareParent(ViewGroup parent) { argument
67 public void prepareParent(ViewGroup parent) { argument
68 ShadowHelperJbmr2.prepareParent(parent);
103 public void prepareParent(ViewGroup parent) { argument
104 mImpl.prepareParent(parent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DFontSizeUtils.java30 public static void updateFontSize(View parent, int viewId, int dimensId) { argument
31 updateFontSize((TextView) parent.findViewById(viewId), dimensId);
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
H A DMavenDependencyCollectorPlugin.groovy27 Project parent = project.getRootProject();
28 def localizeDependenciesTask = parent.tasks.findByName(DEFAULT_TASK_NAME)
30 localizeDependenciesTask = parent.tasks.
32 parent.extensions.create(EXTENSION_NAME, LocalizePluginExtension)
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNavItemSelectedListener.java35 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
42 public void onNothingSelected(AdapterView<?> parent) { argument
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentCenterGravityTest.java57 final View parent = (View) mButton1.getParent();
58 ViewAsserts.assertTopAligned(mButton1, parent);
59 ViewAsserts.assertTopAligned(mButton2, parent);
60 ViewAsserts.assertTopAligned(mButton3, parent);
61 ViewAsserts.assertBottomAligned(mButton1, parent);
62 ViewAsserts.assertBottomAligned(mButton2, parent);
63 ViewAsserts.assertBottomAligned(mButton3, parent);
/frameworks/base/libs/hwui/tests/unit/
H A DRenderNodeTests.cpp32 auto parent = TestUtils::createNode(0, 0, 200, 400, local
37 TestUtils::syncHierarchyPropertiesAndDisplayList(parent);
39 EXPECT_TRUE(child->hasParents()) << "Child node has no parent";
40 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
42 TestUtils::recordNode(*parent, [](TestCanvas& canvas) {
46 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent";
47 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
49 TestUtils::syncHierarchyPropertiesAndDisplayList(parent);
52 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";

Completed in 679 milliseconds

1234567891011>>