Lines Matching refs:dependency
670 // Now add the dependency to the graph
1241 * dependency on another view. This allows CoordinatorLayout to account for layout
2125 * layout dependency.
2128 * returns true for a given child and dependency view pair, the parent CoordinatorLayout
2133 * <li>Call {@link #onDependentViewChanged} when the dependency view's layout or
2139 * @param dependency the proposed dependency of child
2140 * @return true if child's layout depends on the proposed dependency's layout,
2145 public boolean layoutDependsOn(CoordinatorLayout parent, V child, View dependency) {
2156 * <p>A view's dependency is determined by
2164 * the layout of each child view will always happen in dependency order.</p>
2171 * @param dependency the dependent view that changed
2174 public boolean onDependentViewChanged(CoordinatorLayout parent, V child, View dependency) {
2184 * <p>A view's dependency is determined by
2190 * @param dependency the dependent view that has been removed
2192 public void onDependentViewRemoved(CoordinatorLayout parent, V child, View dependency) {
2235 * <em>after</em> its dependency has been laid out.</p>
2954 * @param dependency the proposed dependency to check
2955 * @return true if child depends on dependency
2957 boolean dependsOn(CoordinatorLayout parent, View child, View dependency) {
2958 return dependency == mAnchorDirectChild
2959 || shouldDodge(dependency, ViewCompat.getLayoutDirection(parent))
2960 || (mBehavior != null && mBehavior.layoutDependsOn(parent, child, dependency));