Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 159) sorted by relevance

1234567

/development/tools/winscope/src/trace/tree_node/
Dhierarchy_tree_node.ts25 private parent: this | undefined; property in HierarchyTreeNode
55 setZParent(parent: HierarchyTreeNode): void {
56 this.zParent = parent;
60 return this.zParent ?? this.parent;
63 setParent(parent: this): void {
64 this.parent = parent;
68 return this.parent;
72 return !this.parent;
/development/tools/winscope/src/parsers/surface_flinger/computations/
Dz_order_paths_computation_test.ts41 parent: -1,
53 parent: 1,
65 parent: 2,
79 parent: 1,
129 parent: -1,
141 parent: 1,
153 parent: 1,
197 parent: -1,
209 parent: 1,
221 parent: 1,
Dvisibility_properties_computation_test.ts43 parent: -1,
93 parent: -1,
141 parent: -1,
169 parent: 1,
200 parent: -1,
256 parent: -1,
305 parent: -1,
357 parent: -1,
407 parent: -1,
457 parent: -1,
[all …]
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
DScalingOffsettingHelper.java37 public void updateChild(View child, WearableRecyclerView parent) { in updateChild() argument
38 super.updateChild(child, parent); in updateChild()
41 float centerOffset = ((float) child.getHeight() / 2.0f) / (float) parent.getHeight(); in updateChild()
42 float yRelativeToCenterOffset = (child.getY() / parent.getHeight()) + centerOffset; in updateChild()
/development/tools/winscope/src/viewers/components/
Dtree_node_component.ts123 let parent = this.el; variable
125 !parent.className.includes('tree-wrapper') &&
126 parent?.parentElement
128 parent = parent.parentElement;
130 if (!parent.className.includes('tree-wrapper')) {
133 return parent;
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/
DAlarmAdapter.java63 public AlarmViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
64 View v = LayoutInflater.from(parent.getContext()) in onCreateViewHolder()
65 .inflate(R.layout.alarm_row, parent, false); in onCreateViewHolder()
175 public void onDrawOver(Canvas c, RecyclerView parent, RecyclerView.State state) { in onDrawOver() argument
176 int left = parent.getPaddingLeft(); in onDrawOver()
177 int right = parent.getWidth() - parent.getPaddingRight(); in onDrawOver()
178 for (int i = 0; i < parent.getChildCount(); i++) { in onDrawOver()
179 View child = parent.getChildAt(i); in onDrawOver()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java65 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, in createKeyFromXml() argument
67 Key key = new LatinKey(res, parent, x, y, parser); in createKeyFromXml()
74 mSavedModeChangeKey = new LatinKey(res, parent, x, y, parser); in createKeyFromXml()
77 mSavedLanguageSwitchKey = new LatinKey(res, parent, x, y, parser); in createKeyFromXml()
149 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, in LatinKey() argument
151 super(res, parent, x, y, parser); in LatinKey()
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSpinner1.java52 AdapterView<?> parent, View view, int position, long id) { in onCreate()
56 public void onNothingSelected(AdapterView<?> parent) { in onCreate()
69 AdapterView<?> parent, View view, int position, long id) { in onCreate()
73 public void onNothingSelected(AdapterView<?> parent) { in onCreate()
DList7.java79 public void onItemSelected(AdapterView<?> parent, View v, int position, long id) { in onItemSelected() argument
82 Cursor c = (Cursor) parent.getItemAtPosition(position); in onItemSelected()
97 public void onNothingSelected(AdapterView<?> parent) { in onNothingSelected() argument
DList5.java70 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
74 android.R.layout.simple_expandable_list_item_1, parent, false); in getView()
/development/tools/winscope/src/parsers/surface_flinger/
Dhierarchy_tree_builder_sf.ts71 const parent = identifierToChildren.get(parentId)?.at(0); constant
72 if (parent) {
73 this.setParentChildRelationship(parent, child);
/development/tools/winscope/src/parsers/
Dhierarchy_tree_builder.ts82 parent: HierarchyTreeNode,
85 parent.addOrReplaceChild(child);
86 child.setParent(parent);
Dtampered_message_type.ts46 field.parent?.lookupType(field.type) as TamperedMessageType;
52 (field as TamperedProtoField).tamperedEnumType = field.parent?.lookupEnum(
/development/tools/winscope/src/viewers/common/
Dui_hierarchy_tree_node.ts31 parent?: UiHierarchyTreeNode,
41 if (parent) displayNode.setParent(parent);
Dadd_diffs_hierarchy_tree_test.ts130 const parent = TreeNodeUtils.makeUiHierarchyNode({ constant
135 rootNode.addOrReplaceChild(parent);
136 parent.setParent(rootNode);
137 return parent;
/development/samples/browseable/NavigationDrawer/src/com.example.android.navigationdrawer/
DPlanetAdapter.java59 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
60 LayoutInflater vi = LayoutInflater.from(parent.getContext()); in onCreateViewHolder()
61 View v = vi.inflate(R.layout.drawer_list_item, parent, false); in onCreateViewHolder()
/development/samples/ReceiveContentDemo/src/com/example/android/receivecontent/
DAttachmentsRecyclerViewAdapter.java68 public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
69 AppCompatImageView view = (AppCompatImageView) LayoutInflater.from(parent.getContext()) in onCreateViewHolder()
70 .inflate(R.layout.attachment, parent, false); in onCreateViewHolder()
/development/samples/Home/src/com/example/android/home/
DWallpaper.java79 public void onItemSelected(AdapterView parent, View v, int position, long id) { in onItemSelected() argument
83 public void onItemClick(AdapterView parent, View v, int position, long id) { in onItemClick() argument
107 public void onNothingSelected(AdapterView parent) { in onNothingSelected() argument
136 public View getView(final int position, View convertView, ViewGroup parent) { in getView() argument
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DTaskBackService.java146 AccessibilityNodeInfo parent = current.getParent(); in getListItemNodeInfo() local
147 if (parent == null) { in getListItemNodeInfo()
150 if (TASK_LIST_VIEW_CLASS_NAME.equals(parent.getClassName())) { in getListItemNodeInfo()
155 current = parent; in getListItemNodeInfo()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DUrlIntentListener.java32 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { in onItemClick() argument
36 final Context context = parent.getContext(); in onItemClick()
/development/samples/browseable/DirectShare/src/com.example.android.directshare/
DSelectContactActivity.java75 public View getView(int i, View view, ViewGroup parent) {
77 view = LayoutInflater.from(parent.getContext()).inflate(R.layout.contact, parent,
/development/tools/winscope/src/parsers/view_capture/perfetto/
Dhierarchy_tree_builder_vc.ts55 const parent = parentIsRoot constant
58 this.setParentChildRelationship(parent, node);
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DStableArrayAdapter.java53 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
54 View view = super.getView(position, convertView, parent); in getView()
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/
DStableArrayAdapter.java53 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
54 View view = super.getView(position, convertView, parent); in getView()
/development/apps/Development/src/com/android/development/
DArrayAdapter.java62 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
65 view = mInflater.inflate(mLayoutRes, parent, false); in getView()

1234567