Home
last modified time | relevance | path

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

123456

/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js96 Module.prototype.createModuleRelationsDom = function (parent, label, argument
98 parent.appendChild(domNewElem('h2', label));
101 parent.appendChild(domOl);
108 Module.prototype.createModulePathTdDom = function (parent) { argument
116 parent.appendChild(domTd);
119 Module.prototype.createTagsTdDom = function (parent) { argument
124 parent.appendChild(domTd);
127 Module.prototype.createDepsTdDom = function (parent) { argument
140 parent.appendChild(domTd);
143 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/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/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/
Dsf_visibility.js283 traverse(layerMap, rootLayers, (layer, parent) => {
284 const parentHidden = parent && parent.hidden;
291 } else if (parent) {
292 layer.bounds = parent.bounds;
302 const parentId = rootLayers[i].parent;
303 const parent = parentId == -1 ? null : layerMap[parentId];
304 fn(rootLayers[i], parent);
Dtransform_wl.js21 return layer.parent == 0 || (layer.visibleInParent && layer.visible && (layer.hidden != 1));
27 if (visible && layer.parent != 0) {
/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()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DAppListAdapter.java48 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
52 view = mInflater.inflate(R.layout.app_grid_item, parent, false); in getView()
/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/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/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/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/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