/development/tools/winscope/src/trace/tree_node/ |
D | hierarchy_tree_node.ts | 25 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/ |
D | z_order_paths_computation_test.ts | 41 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,
|
D | visibility_properties_computation_test.ts | 43 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/ |
D | ScalingOffsettingHelper.java | 37 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/ |
D | tree_node_component.ts | 123 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/ |
D | AlarmAdapter.java | 63 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/ |
D | LatinKeyboard.java | 65 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/ |
D | Spinner1.java | 52 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()
|
D | List7.java | 79 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
|
D | List5.java | 70 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/ |
D | hierarchy_tree_builder_sf.ts | 71 const parent = identifierToChildren.get(parentId)?.at(0); constant 72 if (parent) { 73 this.setParentChildRelationship(parent, child);
|
/development/tools/winscope/src/parsers/ |
D | hierarchy_tree_builder.ts | 82 parent: HierarchyTreeNode, 85 parent.addOrReplaceChild(child); 86 child.setParent(parent);
|
D | tampered_message_type.ts | 46 field.parent?.lookupType(field.type) as TamperedMessageType; 52 (field as TamperedProtoField).tamperedEnumType = field.parent?.lookupEnum(
|
/development/tools/winscope/src/viewers/common/ |
D | ui_hierarchy_tree_node.ts | 31 parent?: UiHierarchyTreeNode, 41 if (parent) displayNode.setParent(parent);
|
D | add_diffs_hierarchy_tree_test.ts | 130 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/ |
D | PlanetAdapter.java | 59 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/ |
D | AttachmentsRecyclerViewAdapter.java | 68 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/ |
D | Wallpaper.java | 79 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/ |
D | TaskBackService.java | 146 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/ |
D | UrlIntentListener.java | 32 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/ |
D | SelectContactActivity.java | 75 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/ |
D | hierarchy_tree_builder_vc.ts | 55 const parent = parentIsRoot constant 58 this.setParentChildRelationship(parent, node);
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | StableArrayAdapter.java | 53 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/ |
D | StableArrayAdapter.java | 53 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/ |
D | ArrayAdapter.java | 62 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 65 view = mInflater.inflate(mLayoutRes, parent, false); in getView()
|