Searched defs:parent (Results 126 - 150 of 165) sorted by relevance

1234567

/frameworks/ex/common/java/com/android/common/contacts/
H A DBaseEmailAddressAdapter.java288 protected abstract View inflateItemView(ViewGroup parent); argument
300 protected abstract View inflateItemViewLoading(ViewGroup parent); argument
315 int position, ViewGroup parent) {
318 return inflateItemViewLoading(parent);
320 return inflateItemView(parent);
314 newView(Context context, int partitionIndex, Cursor cursor, int position, ViewGroup parent) argument
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java47 public void setParent(Object info, View parent); argument
244 public void setParent(Object info, View parent) { argument
475 public void setParent(Object info, View parent) { argument
476 AccessibilityNodeInfoCompatIcs.setParent(info, parent);
719 * Gets the parent.
726 * @return The parent.
733 * Sets the parent.
740 * @param parent The parent.
743 public void setParent(View parent) { argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboard.java181 private Keyboard parent; field in class:Keyboard.Row
183 public Row(Keyboard parent) { argument
184 this.parent = parent;
187 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { argument
188 this.parent = parent;
193 parent.mDisplayWidth, parent.mDefaultWidth);
196 parent
313 Key(Row parent) argument
330 Key(Resources res, Row parent, int x, int y, XmlResourceParser parser) argument
774 createKeyFromXml(Resources res, Row parent, int x, int y, XmlResourceParser parser) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java256 public View getView(int position, View convertView, ViewGroup parent) { argument
262 parent, false);
1081 * on the parent entry.
H A DPreference.java383 * {@link android.R.id#widget_frame} to be the parent of the specific widget
443 * @param parent The parent that this View will eventually be attached to.
449 public View getView(View convertView, ViewGroup parent) { argument
451 convertView = onCreateView(parent);
466 * @param parent The parent that this View will eventually be attached to.
470 protected View onCreateView(ViewGroup parent) { argument
474 final View layout = layoutInflater.inflate(mLayoutResId, parent, false);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java286 * Gets the parent.
293 * @return The parent.
306 * Sets the parent.
313 * @param parent The parent.
317 public void setParent(View parent) { argument
319 mParentAccessibilityViewId = parent.getAccessibilityViewId();
323 * Gets the node bounds in parent coordinates.
333 * Sets the node bounds in parent coordinates.
/frameworks/base/core/java/android/widget/
H A DAdapterView.java220 * When set to true, calls to requestLayout() will not propagate up the parent hierarchy.
250 * @param parent The AdapterView where the click happened.
256 void onItemClick(AdapterView<?> parent, View view, int position, long id); argument
311 * @param parent The AbsListView where the click happened
318 boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id); argument
357 * @param parent The AdapterView where the selection happened
362 void onItemSelected(AdapterView<?> parent, View view, int position, long id); argument
369 * @param parent The AdapterView that now contains no selected item.
371 void onNothingSelected(AdapterView<?> parent); argument
H A DAutoCompleteTextView.java1156 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
H A DExpandableListView.java64 * ExpandableListView in XML if the parent's size is also not strictly specified
65 * (for example, if the parent were ScrollView you could not specify
67 * wrap_content if the ExpandableListView parent has a specific size, such as
696 * @param parent The ExpandableListConnector where the click happened
702 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, argument
721 * @param parent The ExpandableListView where the click happened
729 boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument
955 * @param groupPosition The child's parent group's position.
957 * @return The packed position representation of the child (and parent group).
970 * @param groupPosition The child's parent grou
[all...]
H A DHorizontalScrollView.java1413 * Return true if child is an descendant of parent, (or equal to the parent).
1415 private boolean isViewDescendantOf(View child, View parent) { argument
1416 if (child == parent) {
1421 return (theParent instanceof ViewGroup) && isViewDescendantOf((View) theParent, parent);
H A DPopupWindow.java599 * Allow PopupWindow to scroll the anchor's parent to provide more room
602 * @param enabled True to scroll the anchor's parent when more room is desired by the popup.
803 * @param parent a parent view to get the {@link android.view.View#getWindowToken()} token from
808 public void showAtLocation(View parent, int gravity, int x, int y) { argument
809 showAtLocation(parent.getWindowToken(), gravity, x, y);
851 * the popup in its entirety, this method tries to find a parent scroll
852 * view to scroll. If no parent scroll view can be scrolled, the bottom-left
867 * the popup in its entirety, this method tries to find a parent scroll
868 * view to scroll. If no parent scrol
[all...]
H A DRemoteViews.java232 View parent = (View) v.getParent();
233 while (!(parent instanceof AdapterView<?>)
234 && !(parent instanceof AppWidgetHostView)) {
235 parent = (View) parent.getParent();
238 if (parent instanceof AppWidgetHostView) {
240 // and AdapterView as a parent.
241 Log.e("RemoteViews", "Collection item doesn't have AdapterView parent");
246 if (!(parent.getTag() instanceof PendingIntent)) {
248 " calling setPendingIntentTemplate on parent
1569 apply(Context context, ViewGroup parent) argument
1600 performApply(View v, ViewGroup parent) argument
[all...]
H A DRemoteViewsAdapter.java392 ViewGroup parent) {
394 final Context context = parent.getContext();
404 View loadingView = mUserLoadingView.apply(parent.getContext(), parent);
419 View firstView = mFirstView.apply(parent.getContext(), parent);
932 public View getView(int position, View convertView, ViewGroup parent) { argument
962 Context context = parent.getContext();
981 View newView = rv.apply(context, parent);
996 loadingView = metaData.createLoadingView(position, convertView, parent);
391 createLoadingView(int position, View convertView, ViewGroup parent) argument
[all...]
H A DScrollView.java1437 * Return true if child is an descendant of parent, (or equal to the parent).
1439 private boolean isViewDescendantOf(View child, View parent) { argument
1440 if (child == parent) {
1445 return (theParent instanceof ViewGroup) && isViewDescendantOf((View) theParent, parent);
H A DCalendarView.java1090 public View getView(int position, View convertView, ViewGroup parent) { argument
1200 // Quick reference to the width of this view, matches parent
H A DListView.java497 // The parent's resetList() will remove all views from the layout so we need to
2814 * Return true if child is an ancestor of parent, (or equal to the parent).
2816 private boolean isViewAncestorOf(View child, View parent) { argument
2817 if (child == parent) {
2822 return (theParent instanceof ViewGroup) && isViewAncestorOf((View) theParent, parent);
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java48 * state's hierarchy, starting at its eldest parent. For example given the simple
63 * <p>Each state in the state machine may have a zero or one parent states and if
65 * by its parent by returning false or NOT_HANDLED. If a message is never processed
76 * will exit the current state and its parent and then exit from the controlling thread
84 * the list of states to be entered/exited the common parent closest to
86 * parent's up to but not including the common parent state and then enter all
87 * of the new states below the common parent down to the destination state.
88 * If there is no common parent all states are exited and then the new states
120 * processMessage the state machine runtime will find the common parent,
1059 addState(State state, State parent) argument
1211 addState(State state, State parent) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java183 * @param parent the container view of this one
188 Slider(ViewGroup parent, int tabId, int barId, int targetId) { argument
190 tab = new ImageView(parent.getContext());
197 text = new TextView(parent.getContext());
201 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal);
205 target = new ImageView(parent.getContext());
212 parent.addView(target); // this needs to be first - relies on painter's algorithm
213 parent.addView(tab);
214 parent.addView(text);
325 * Layout the given widgets within the parent
[all...]
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp98 MtpObjectHandle parent,
110 MtpObjectHandle parent);
114 MtpObjectHandle parent);
222 MtpObjectHandle parent,
229 pathStr, (jint)format, (jint)parent, (jint)storage,
252 MtpObjectHandle parent) {
255 (jint)storageID, (jint)format, (jint)parent);
272 MtpObjectHandle parent) {
275 (jint)storageID, (jint)format, (jint)parent);
220 beginSendObject(const char* path, MtpObjectFormat format, MtpObjectHandle parent, MtpStorageID storage, uint64_t size, time_t modified) argument
250 getObjectList(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
270 getNumObjects(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
/frameworks/base/media/mtp/
H A DMtpServer.cpp549 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent local
555 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent);
566 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent local
571 int count = mDatabase->getNumObjects(storageID, format, parent);
820 MtpObjectHandle parent = mRequest.getParameter(2); local
825 if (parent == MTP_PARENT_ROOT) {
827 parent = 0;
831 int result = mDatabase->getObjectFilePath(parent, pat
[all...]
/frameworks/base/services/java/com/android/server/
H A DThrottleService.java804 DataRecorder(Context context, ThrottleService parent) { argument
806 mParent = parent;
/frameworks/base/tools/aapt/
H A DResourceTable.h276 void setParent(const String16& parent) { mParent = parent; } argument
/frameworks/ex/chips/src/com/android/ex/chips/
H A DBaseRecipientAdapter.java693 /** Resets {@link #mEntries} and notify the event to its parent ListView. */
833 public View getView(int position, View convertView, ViewGroup parent) { argument
838 : mInflater.inflate(getWaitingForDirectorySearchLayout(), parent, false);
850 : mInflater.inflate(getItemLayout(), parent, false);
/frameworks/base/core/java/android/app/
H A DInstrumentation.java984 * @param parent The parent Activity (if any)
995 CharSequence title, Activity parent, String id,
1001 info, title, parent, id,
993 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument
/frameworks/base/core/java/android/webkit/
H A DWebTextView.java577 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
895 public View getView(int position, View convertView, ViewGroup parent) { argument
897 (TextView) super.getView(position, convertView, parent);

Completed in 707 milliseconds

1234567