Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 130) 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/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/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/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/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/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/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/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) {
/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/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js218 return d.data.parent.parent.parent.key == "system" ?
219 (d.data.parent.parent.key == "system.public" ?
298 node.parent = find(tag, tag.substring(0, tag.lastIndexOf(".")));
299 node.parent.children.push(node);
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DMainActivity.java267 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onItemSelected() argument
301 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { in onItemSelected() argument
338 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument
339 TextView view = (TextView) super.getDropDownView(position, convertView, parent); in getDropDownView()
345 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
347 android.R.layout.simple_spinner_item, parent, false); in getView()
/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/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/MySampleRss/src/com/example/codelab/rssexample/
DMyRssReader5.java84 public void onItemSelected(AdapterView parent, View v, int position, long id){ in onItemSelected() argument
102 public void onNothingSelected(AdapterView parent){ in onNothingSelected() argument
223 public View getView(int position, View convertView, ViewGroup parent){ in getView() argument
224 TextView view = (TextView)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/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/ToonGame/src/com/example/android/toongame/
DPlayerSetupActivity.java131 ViewGroup parent = (ViewGroup) clickedView.getParent(); in buttonClick() local
132 for (int i = 0; i < parent.getChildCount(); ++i) { in buttonClick()
133 Button child = (Button) parent.getChildAt(i); in buttonClick()
291 private void popChildrenIn(ViewGroup parent, final Runnable endAction) { in popChildrenIn() argument
294 int childCount = parent.getChildCount(); in popChildrenIn()
297 View child = parent.getChildAt(i); in popChildrenIn()
/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/IntentPlayground/src/com/example/android/intentplayground/
DInlineAdapter.java73 public TaskViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { in onCreateViewHolder() argument
74 View task = LayoutInflater.from(parent.getContext()) in onCreateViewHolder()
75 .inflate(R.layout.tree_node_composite, parent, false); in onCreateViewHolder()
/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()

123456