Searched refs:parent (Results 51 - 75 of 864) sorted by relevance

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayerInvalidationActivity.java126 private void randomInvalidator(ViewGroup parent) { argument
127 for (int i = 0; i < parent.getChildCount(); ++i) {
128 View child = parent.getChildAt(i);
142 LinearLayout parent = (LinearLayout) view;
143 linearLayouts.add(parent);
144 for (int i = 0; i < parent.getChildCount(); ++i) {
145 collectLinearLayouts(parent.getChildAt(i));
157 ViewGroup parent = (ViewGroup) view;
158 for (int i = 0; i < parent.getChildCount(); ++i) {
159 collectTextViews(parent
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DClassLoaderFactory.java71 String librarySearchPath, ClassLoader parent, String classloaderName) {
73 return new PathClassLoader(dexPath, librarySearchPath, parent);
75 return new DelegateLastClassLoader(dexPath, librarySearchPath, parent);
85 String librarySearchPath, String libraryPermittedPath, ClassLoader parent,
88 final ClassLoader classLoader = createClassLoader(dexPath, librarySearchPath, parent,
70 createClassLoader(String dexPath, String librarySearchPath, ClassLoader parent, String classloaderName) argument
84 createClassLoader(String dexPath, String librarySearchPath, String libraryPermittedPath, ClassLoader parent, int targetSdkVersion, boolean isNamespaceShared, String classloaderName) argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewAutofillTest.java59 ViewGroup parent = (ViewGroup) LayoutInflater.from(getContext())
62 parent.findViewById(R.id.autofill_yes).getImportantForAutofill());
64 parent.findViewById(R.id.autofill_yesExcludeDescendants).getImportantForAutofill());
66 parent.findViewById(R.id.autofill_no).getImportantForAutofill());
70 parent.findViewById(R.id.autofill_auto).getImportantForAutofill());
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DNestedScrollingChildHelper.java90 * Check if this view has a nested scrolling parent view currently receiving events for
97 * @return true if this view has a nested scrolling parent, false otherwise
104 * Check if this view has a nested scrolling parent view currently receiving events for
111 * @return true if this view has a nested scrolling parent, false otherwise
126 * @return true if a cooperating parent view was found and nested scrolling started successfully
142 * @return true if a cooperating parent view was found and nested scrolling started successfully
186 ViewParent parent = getNestedScrollingParentForType(type);
187 if (parent != null) {
188 ViewParentCompat.onStopNestedScroll(parent, mView, type);
194 * Dispatch one step of a nested scrolling operation to the current nested scrolling parent
[all...]
/frameworks/support/transition/src/main/java/androidx/transition/
H A DViewOverlayApi14.java52 View parent = view;
53 while (parent != null) {
54 if (parent.getId() == android.R.id.content && parent instanceof ViewGroup) {
55 return (ViewGroup) parent;
57 if (parent.getParent() instanceof ViewGroup) {
58 parent = (ViewGroup) parent.getParent();
123 * parent hierarchy.</p>
201 ViewGroup parent
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DRenderNodeTests.cpp45 auto parent = TestUtils::createNode(0, 0, 200, 400, local
50 TestUtils::syncHierarchyPropertiesAndDisplayList(parent);
52 EXPECT_TRUE(child->hasParents()) << "Child node has no parent";
53 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
55 TestUtils::recordNode(*parent, [](Canvas& canvas) {
59 EXPECT_TRUE(child->hasParents()) << "Child should still have a parent";
60 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
62 TestUtils::syncHierarchyPropertiesAndDisplayList(parent);
65 EXPECT_FALSE(parent->hasParents()) << "Root node shouldn't have any parents";
72 auto parent local
[all...]
/frameworks/support/asynclayoutinflater/src/main/java/androidx/asynclayoutinflater/view/
H A DAsyncLayoutInflater.java50 * <p>For a layout to be inflated asynchronously it needs to have a parent
58 * <p>NOTE that the inflated View hierarchy is NOT added to the parent. It is
82 public void inflate(@LayoutRes int resid, @Nullable ViewGroup parent, argument
90 request.parent = parent;
101 request.resid, request.parent, false);
104 request.view, request.resid, request.parent);
112 @Nullable ViewGroup parent);
117 ViewGroup parent; field in class:AsyncLayoutInflater.InflateRequest
189 request.resid, request.parent, fals
111 onInflateFinished(@onNull View view, @LayoutRes int resid, @Nullable ViewGroup parent) argument
[all...]
/frameworks/support/viewpager/src/androidTest/java/android/support/v4/testutils/
H A DTestUtilsMatchers.java100 * their parent.
113 final ViewParent parent = view.getParent();
114 if (!(parent instanceof ViewGroup)) {
117 final ViewGroup parentGroup = (ViewGroup) parent;
125 "not aligned to start (left) edge of parent : left=" +
134 "not aligned to start (right) edge of parent : right=" +
135 view.getRight() + ", parent width=" +
146 * their parent.
159 final ViewParent parent = view.getParent();
160 if (!(parent instanceo
[all...]
/frameworks/native/services/surfaceflinger/
H A DClient.cpp71 // If we didn't ever have a parent, then we must instead be
72 // relying on permissions and we never need a parent.
80 sp<Layer> parent = mParentLayer.promote(); local
82 *outParentDied = (mParentLayer != nullptr && parent == nullptr);
84 return parent;
132 // We grant an exception in the case that the Client has a "parent layer", as its
155 sp<Layer> parent = nullptr; local
158 parent = layerHandle->owner.promote();
159 if (parent == nullptr) {
163 if (parent
187 sp<Layer>* parent; member in class:android::MessageCreateLayer
191 MessageCreateLayer(SurfaceFlinger* flinger, const String8& name, Client* client, uint32_t w, uint32_t h, PixelFormat format, uint32_t flags, sp<IBinder>* handle, int32_t windowType, int32_t ownerUid, sp<IGraphicBufferProducer>* gbp, sp<Layer>* parent) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailView.java43 public static UserDetailView inflate(Context context, ViewGroup parent, boolean attach) { argument
45 R.layout.qs_user_detail, parent, attach);
70 public View getView(int position, View convertView, ViewGroup parent) { argument
72 return createUserDetailItemView(convertView, parent, item);
75 public UserDetailItemView createUserDetailItemView(View convertView, ViewGroup parent, argument
78 mContext, convertView, parent);
/frameworks/base/tools/preload/
H A DProc.java32 final Proc parent; field in class:Proc
60 Proc(Proc parent, int id) { argument
61 this.parent = parent;
79 return parent != null && parent.name.equals("zygote")
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DObservableListAdapter.java111 public View getView(int position, View convertView, ViewGroup parent) { argument
112 return getViewForResource(mResourceId, position, convertView, parent);
116 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
117 return getViewForResource(mDropDownResourceId, position, convertView, parent);
121 ViewGroup parent) {
126 convertView = mLayoutInflater.inflate(resourceId, parent, false);
120 getViewForResource(int resourceId, int position, View convertView, ViewGroup parent) argument
H A DViewGroupBindingAdapter.java56 public void onChildViewAdded(View parent, View child) {
58 added.onChildViewAdded(parent, child);
63 public void onChildViewRemoved(View parent, View child) {
65 removed.onChildViewRemoved(parent, child);
105 void onChildViewAdded(View parent, View child); argument
109 void onChildViewRemoved(View parent, View child); argument
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DTaskStackBuilder.java151 * Add the activity parent chain as specified by manifest &lt;meta-data&gt; elements
159 Intent parent = null;
161 parent = ((SupportParentable) sourceActivity).getSupportParentActivityIntent();
163 if (parent == null) {
164 parent = NavUtils.getParentActivityIntent(sourceActivity);
167 if (parent != null) {
168 // We have the actual parent intent, build the rest from static metadata
169 // then add the direct parent intent to the end.
170 ComponentName target = parent.getComponent();
172 target = parent
[all...]
/frameworks/base/core/java/android/widget/
H A DBaseAdapter.java72 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument
73 return getView(position, convertView, parent);
H A DExpandableListAdapter.java122 * @param parent the parent that this view will eventually be attached to
125 View getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent); argument
142 * @param parent the parent that this view will eventually be attached to
146 View convertView, ViewGroup parent);
145 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
H A DSimpleExpandableListAdapter.java222 View convertView, ViewGroup parent) {
225 v = newChildView(isLastChild, parent);
236 * @param parent The eventual parent of this new View.
239 public View newChildView(boolean isLastChild, ViewGroup parent) { argument
240 return mInflater.inflate((isLastChild) ? mLastChildLayout : mChildLayout, parent, false);
271 ViewGroup parent) {
274 v = newGroupView(isExpanded, parent);
285 * @param parent The eventual parent o
221 getChildView(int groupPosition, int childPosition, boolean isLastChild, View convertView, ViewGroup parent) argument
270 getGroupView(int groupPosition, boolean isExpanded, View convertView, ViewGroup parent) argument
288 newGroupView(boolean isExpanded, ViewGroup parent) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
H A DGridSimple.java49 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
50 View view = super.createView(position, parent, desiredHeight);
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListButtonsDiagonalAcrossItems.java50 protected View createView(int position, ViewGroup parent, argument
55 parent.getContext(), desiredHeight, slot);
H A DListSimple.java45 protected View createView(int position, ViewGroup parent, int desiredHeight) { argument
46 View view = super.createView(position, parent, desiredHeight);
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DModuleClassLoader.java34 * @param parent The parent class loader
36 public ModuleClassLoader(String moduleRoot, ClassLoader parent) { argument
37 super(parent);
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/main/java/com/example/android/support/design/widget/
H A DCustomSnackbar.java31 public CustomSnackbar(CoordinatorLayout parent, View content, argument
33 super(parent, content, contentViewCallback);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DActionPresenterSelector.java95 public ViewHolder onCreateViewHolder(ViewGroup parent) { argument
96 View v = LayoutInflater.from(parent.getContext())
97 .inflate(R.layout.lb_action_1_line, parent, false);
98 return new ActionViewHolder(v, parent.getLayoutDirection());
112 public ViewHolder onCreateViewHolder(ViewGroup parent) { argument
113 View v = LayoutInflater.from(parent.getContext())
114 .inflate(R.layout.lb_action_2_lines, parent, false);
115 return new ActionViewHolder(v, parent.getLayoutDirection());
/frameworks/support/leanback-preference/src/main/java/androidx/leanback/preference/
H A DBaseLeanbackPreferenceFragment.java39 public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent, argument
42 .inflate(R.layout.leanback_preferences_list, parent, false);
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/cache/
H A DCache.kt36 class Cache(val parent: Cache?, val converters: LinkedHashSet<TypeMirror>,
38 val entities: Bucket<EntityKey, Entity> = Bucket(parent?.entities)
39 val pojos: Bucket<PojoKey, Pojo> = Bucket(parent?.pojos)
62 val parent: EmbeddedField?)

Completed in 466 milliseconds

1234567891011>>