Searched refs:parent (Results 151 - 175 of 210) sorted by relevance

123456789

/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
H A DInterrogationActivityTest.java394 AccessibilityNodeInfo parent = button.getParent();
395 final int childCount = parent.getChildCount();
397 AccessibilityNodeInfo child = parent.getChild(i);
405 fail("Parent's children do not have the info whose parent is the parent.");
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
H A DVCardEntryTests.java134 VCardEntry parent = entries.get(1);
136 assertEquals("test1", parent.getDisplayName());
138 List<VCardEntry.PhoneData> phoneList = parent.getPhoneList();
/frameworks/base/core/java/android/preference/
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/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 DExpandableListConnector.java440 public View getView(int flatListPos, View convertView, ViewGroup parent) { argument
446 posMetadata.isExpanded(), convertView, parent);
451 posMetadata.position.childPos, isLastChild, convertView, parent);
/frameworks/base/core/tests/coretests/src/android/view/
H A DVisibilityCallbackTest.java53 mParent = (ViewGroup) a.findViewById(R.id.parent);
H A DListContextMenu.java73 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/base/core/tests/coretests/src/android/widget/
H A DListViewTest.java136 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutGravityTest.java49 mParent = activity.findViewById(R.id.parent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNotificationRowLayout.java81 public void onChildViewAdded(View parent, View child) {
85 public void onChildViewRemoved(View parent, View child) {
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java697 ViewGroup parent = (ViewGroup) mWindow.findViewById(R.id.parentPanel);
698 parent.removeView(buttonPanel);
861 public View getView(int position, View convertView, ViewGroup parent) {
862 View view = super.getView(position, convertView, parent);
892 public View newView(Context context, Cursor cursor, ViewGroup parent) {
894 parent, false);
923 public void onItemClick(AdapterView parent, View v, int position, long id) {
932 public void onItemClick(AdapterView parent, View v, int position, long id) {
/frameworks/base/tools/localize/
H A DXLIFFFile.cpp37 get_unique_node(const XMLNode* parent, const string& ns, const string& name, bool required) argument
39 size_t count = parent->CountElementsByName(ns, name);
41 return parent->GetElementByNameAt(ns, name, 0);
45 ? parent->Position()
46 : parent->GetElementByNameAt(XLIFF_XMLNS, name, 1)->Position();
48 parent->Name().c_str(), name.c_str());
H A DXMLHandler.h137 XMLHandler* parent; member in class:XMLHandler
/frameworks/base/core/java/android/app/
H A DActivity.java433 * to return data back to its parent. It must always supply a result code,
438 * parent's <code>Activity.onActivityResult()</code>, along with the integer
441 * <p>If a child activity fails for any reason (such as crashing), the parent
766 /** Return the parent activity if this view is an embedded child. */
2230 // attached to its parent (which will be a RootView), and
3719 * finish() on this activity (the parent), finishing the entire group.
4005 * is an embedded activity, the parent can do whatever it wants
4020 * is an embedded activity, the parent can do whatever it wants
4199 public View onCreateView(View parent, String name, Context context, AttributeSet attrs) { argument
4214 int containerId = parent !
4405 setParent(Activity parent) argument
4409 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument
4417 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument
[all...]
H A DLauncherActivity.java150 public View getView(int position, View convertView, ViewGroup parent) { argument
154 com.android.internal.R.layout.activity_list_item_2, parent, false);
H A DLocalActivityManager.java98 * the given <var>parent</var>.
100 * @param parent the host of the embedded activities
104 public LocalActivityManager(Activity parent, boolean singleMode) { argument
106 mParent = parent;
538 * @param finishing set to true if the parent activity has been finished;
/frameworks/base/core/java/com/android/internal/widget/
H A DScrollingTabContainerView.java350 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument
356 public void onNothingSelected(AdapterView<?> parent) { argument
480 public View getView(int position, View convertView, ViewGroup parent) { argument
H A DDigitalClock.java108 AmPm(View parent, Typeface tf) { argument
110 // mAmPmTextView = (TextView) parent.findViewById(R.id.am_pm);
H A DActionBarView.java139 public void onItemSelected(AdapterView parent, View view, int position, long id) {
144 public void onNothingSelected(AdapterView parent) {
713 final ViewParent parent = mCustomNavView.getParent();
714 if (parent != this) {
715 if (parent instanceof ViewGroup) {
716 ((ViewGroup) parent).removeView(mCustomNavView);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java127 public View getView(int position, View convertView, ViewGroup parent) { argument
130 convertView = mInflater.inflate(R.layout.status_bar_recent_item, parent, false);
556 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java54 * use the parent view's ID as the new fragment's ID. You must explicitly
240 View parent = null; // NOTE: no way to get parent pre-Honeycomb.
241 int containerId = parent != null ? parent.getId() : 0;
244 + ": Must specify unique android:id, android:tag, or have a parent with an id for " + fname);
277 + ", tag " + tag + ", or parent id 0x" + Integer.toHexString(containerId)
/frameworks/base/core/java/android/view/
H A DView.java294 * both return the location of the view relative to its parent. For instance,
296 * right of the left edge of its direct parent.
318 * within its parent (see <a href="#Layout">Layout</a> for more details.) The
359 * this pass each parent is responsible for positioning all of its children
369 * children's measurements. A parent view may call measure() more than once on
370 * its children. For example, the parent may measure each child once with
384 * <li>MATCH_PARENT, which means the view wants to be as big as its parent
395 * MeasureSpecs are used to push requirements down the tree from parent to
398 * <li>UNSPECIFIED: This is used by a parent to determine the desired dimension
402 * <li>EXACTLY: This is used by the parent t
9509 assignParent(ViewParent parent) argument
[all...]
/frameworks/opt/calendar/src/com/android/calendarcommon/
H A DICalendar.java83 public Component(String name, Component parent) { argument
85 mParent = parent;
97 * Returns the parent of this component.
98 * @return The parent of this component.
463 * parent. Returns whatever component is the current one (to which new
/frameworks/opt/mailcommon/tests/src/com/android/mailcommon/
H A DMergedAdapterTest.java67 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java659 // Try to find the scroll view parent, if it exists.
661 ViewParent parent = getParent();
662 while (parent != null && !(parent instanceof ScrollView)) {
663 parent = parent.getParent();
665 if (parent != null) {
666 mScrollView = (ScrollView) parent;
1440 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
1814 public void onItemClick(AdapterView<?> parent, Vie
[all...]

Completed in 351 milliseconds

123456789