Home
last modified time | relevance | path

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

123456

/development/vndk/tools/definition-tool/assets/
Dinsight.js93 Module.prototype.createModuleRelationsDom = function (parent, label, argument
95 parent.appendChild(domNewElem('h2', label));
98 parent.appendChild(domOl);
105 Module.prototype.createModulePathTdDom = function (parent) { argument
106 parent.appendChild(domNewElem('td', this.createModuleLinkDom(this)));
109 Module.prototype.createTagsTdDom = function (parent) { argument
114 parent.appendChild(domTd);
117 Module.prototype.createDepsTdDom = function (parent) { argument
130 parent.appendChild(domTd);
133 Module.prototype.createUsersTdDom = function (parent) { argument
[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/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/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/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/testrunner/
Dmake_tree.py27 def __init__(self, name, parent): argument
31 self._parent = parent
33 if parent:
34 self._path = os.path.join(parent._GetPath(), name)
/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/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/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/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/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/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/ndk/platforms/android-9/include/linux/
Dproc_fs.h47 struct proc_dir_entry *next, *parent, *subdir; member
75 #define remove_proc_entry(name, parent) do {} while (0) argument
Drelay.h76 struct dentry *parent,
85 struct dentry *parent,
/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/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js134 return d.data.parent.parent.parent.key == "system" ?
135 (d.data.parent.parent.key == "system.public" ?
209 node.parent = find(tag, tag.substring(0, tag.lastIndexOf(".")));
210 node.parent.children.push(node);
/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()
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/
DMainActivity.java100 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onCreate()
105 public void onNothingSelected(AdapterView<?> parent) { in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DSoftInputModes.java58 AdapterView<?> parent, View view, int position, long id) { in onCreate()
62 public void onNothingSelected(AdapterView<?> parent) { in onCreate()
DScreenOrientation.java68 AdapterView<?> parent, View view, int position, long id) { in onCreate()
72 public void onNothingSelected(AdapterView<?> parent) { in onCreate()
/development/samples/Spinner/src/com/android/example/spinner/
DSpinnerActivity.java190 public void onItemSelected(AdapterView<?> parent, View v, int pos, long row) { in onItemSelected() argument
193 SpinnerActivity.this.mSelection = parent.getItemAtPosition(pos).toString(); in onItemSelected()
206 public void onNothingSelected(AdapterView<?> parent) { in onNothingSelected() argument
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamLinearLayout.java164 public void onChildViewAdded(final View parent, final View child) {
168 ViewParent scrollView = parent.getParent();
181 public void onChildViewRemoved(View parent, View child) {
477 private void runShowActionAreaAnimation(View parent, View area) { in runShowActionAreaAnimation() argument
479 area.setPivotX(parent.getWidth() / 2.f); in runShowActionAreaAnimation()
537 ViewParent parent = getParent(); in scrollToCard() local
538 if( parent != null && parent instanceof ScrollView ){ in scrollToCard()
539 ((ScrollView)parent).smoothScrollTo( in scrollToCard()
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
DMyCloudProvider.java165 final File parent = getFileForDocId(rootId); in queryRecentDocuments() local
180 pending.add(parent); in queryRecentDocuments()
212 final File parent = getFileForDocId(rootId); in querySearchDocuments() local
224 pending.add(parent); in querySearchDocuments()
281 final File parent = getFileForDocId(parentDocumentId); in queryChildDocuments() local
282 for (File file : parent.listFiles()) { in queryChildDocuments()
337 File parent = getFileForDocId(documentId);
338 File file = new File(parent.getPath(), displayName);
423 private String getChildMimeTypes(File parent) {

123456