/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | BaseRecipientAdapter.java | 715 /** Resets {@link #mEntries} and notify the event to its parent ListView. */ 869 public View getView(int position, View convertView, ViewGroup parent) { argument 884 getItemLayout(), parent, false);
|
H A D | RecipientEditTextView.java | 804 // Try to find the scroll view parent, if it exists. 806 ViewParent parent = getParent(); 807 while (parent != null && !(parent instanceof ScrollView)) { 808 parent = parent.getParent(); 810 if (parent != null) { 811 mScrollView = (ScrollView) parent; 1639 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 2029 public void onItemClick(AdapterView<?> parent, Vie [all...] |
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeInfoCompat.java | 57 public void setParent(Object info, View parent); argument 344 public void setParent(Object info, View parent) { argument 601 public void setParent(Object info, View parent) { argument 602 AccessibilityNodeInfoCompatIcs.setParent(info, parent); 1231 * Gets the parent. 1238 * @return The parent. 1245 * Sets the parent. 1252 * @param parent The parent. 1255 public void setParent(View parent) { argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Fragment.java | 88 public Fragment instantiate(Activity activity, Fragment parent) { argument 103 mInstance.setIndex(mIndex, parent); 301 * LayoutParams provided when attaching the fragment's view to the parent 306 * so that it can be re-associated with a previous instance if the parent 430 // is the identifier of the parent container it is being added to. 463 // The parent container of the fragment after dynamically added to UI. 619 final void setIndex(int index, Fragment parent) { argument 621 if (parent != null) { 622 mWho = parent.mWho + ":" + mIndex; 808 * returned here will be the parent' [all...] |
H A D | Instrumentation.java | 1015 * @param parent The parent Activity (if any) 1026 CharSequence title, Activity parent, String id, 1032 info, title, parent, id, 1024 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument
|
H A D | Activity.java | 435 * to return data back to its parent. It must always supply a result code, 440 * parent's <code>Activity.onActivityResult()</code>, along with the integer 443 * <p>If a child activity fails for any reason (such as crashing), the parent 790 /** Return the parent activity if this view is an embedded child. */ 2276 // attached to its parent (which will be a RootView), and 2704 * along the parent chain requires extra Intent arguments, the Activity subclass 2727 // specify a parent activity intent in the first place. Just finish 2755 * The default implementation simply calls onNavigateUp() on this activity (the parent). 2767 * <p>The default implementation of this method adds the parent chain of this activity 2776 * <p>Applications that wish to supply extra Intent parameters to the parent stac 4673 onCreateView(View parent, String name, Context context, AttributeSet attrs) argument 5041 setParent(Activity parent) argument 5045 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 5053 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 D | ActivityThread.java | 271 Activity parent; field in class:ActivityThread.ActivityClientRecord 301 parent = null; 1999 public final Activity startActivityNow(Activity parent, String id, argument 2007 r.parent = parent; 2130 r.ident, app, r.intent, r.activityInfo, title, r.parent,
|
/frameworks/base/core/java/android/preference/ |
H A D | Preference.java | 390 * {@link android.R.id#widget_frame} to be the parent of the specific widget 450 * @param parent The parent that this View will eventually be attached to. 456 public View getView(View convertView, ViewGroup parent) { argument 458 convertView = onCreateView(parent); 473 * @param parent The parent that this View will eventually be attached to. 477 protected View onCreateView(ViewGroup parent) { argument 481 final View layout = layoutInflater.inflate(mLayoutResId, parent, false);
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeInfo.java | 708 * Gets the parent. 715 * @return The parent. 728 * @return The parent node id. 737 * Sets the parent. 744 * @param parent The parent. 748 public void setParent(View parent) { argument 749 setParent(parent, UNDEFINED); 753 * Sets the parent to be a virtual descendant of the given <code>root</code>. 755 * is set as the parent [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CalendarView.java | 1404 public View getView(int position, View convertView, ViewGroup parent) { argument 1520 // Quick reference to the width of this view, matches parent
|
H A D | ListView.java | 499 // The parent's resetList() will remove all views from the layout so we need to 2879 * Return true if child is an ancestor of parent, (or equal to the parent). 2881 private boolean isViewAncestorOf(View child, View parent) { argument 2882 if (child == parent) { 2887 return (theParent instanceof ViewGroup) && isViewAncestorOf((View) theParent, parent);
|
H A D | RemoteViews.java | 353 View parent = (View) v.getParent(); 354 while (parent != null && !(parent instanceof AdapterView<?>) 355 && !(parent instanceof AppWidgetHostView)) { 356 parent = (View) parent.getParent(); 359 if (parent instanceof AppWidgetHostView || parent == null) { 361 // and AdapterView as a parent. 362 Log.e("RemoteViews", "Collection item doesn't have AdapterView parent"); 2243 apply(Context context, ViewGroup parent) argument 2248 apply(Context context, ViewGroup parent, OnClickHandler handler) argument 2298 performApply(View v, ViewGroup parent, OnClickHandler handler) argument [all...] |
H A D | Editor.java | 769 final ViewParent parent = view.getParent(); 770 if (parent instanceof View) { 771 view = (View) parent; 1362 // Same as drawDisplayList below, handled by our TextView's parent 1368 0 /* no child clipping, our TextView parent enforces it */); 2026 // Absolute position of the TextView with respect to its parent window 2312 public View getView(int position, View convertView, ViewGroup parent) { argument 2317 parent, false); 2574 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 2906 // Position with respect to the parent TextVie [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletStatusBar.java | 1518 protected boolean isTopNotification(ViewGroup parent, NotificationData.Entry entry) { argument 1519 if (parent == null || entry == null) return false; 1520 return parent.indexOfChild(entry.row) == parent.getChildCount()-1;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 317 public Pair<View, Boolean> inflateView(ResourceReference resource, ViewGroup parent, argument 331 mBridgeInflater.inflate(blockParser, parent, attachToRoot), 369 mBridgeInflater.inflate(blockParser, parent, attachToRoot), 575 // look for the style in the current theme, and its parent: 604 // look for the style in the current theme, and its parent: 668 // look for the value in the custom style first (and its parent if needed) 674 // then look for the value in the default Style (and its parent if needed) 681 // its parent themes)
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | Fragment.java | 88 public Fragment instantiate(FragmentActivity activity, Fragment parent) { argument 103 mInstance.setIndex(mIndex, parent); 240 // is the identifier of the parent container it is being added to. 273 // The parent container of the fragment after dynamically added to UI. 428 final void setIndex(int index, Fragment parent) { argument 430 if (parent != null) { 431 mWho = parent.mWho + ":" + mIndex; 617 * returned here will be the parent's {@link #getChildFragmentManager()}. 644 * Returns the parent Fragment containing this Fragment. If this Fragment 968 * @param container If non-null, this is the parent vie [all...] |
H A D | FragmentManager.java | 1843 FragmentContainer container, Fragment parent) { 1847 mParent = parent; 1842 attachActivity(FragmentActivity activity, FragmentContainer container, Fragment parent) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 447 * @param attrs an AttributeSet passed to our parent 457 * @param attrs an AttributeSet passed to our parent 468 * @param attrs an AttributeSet passed to our parent 491 * @param attrs an AttributeSet passed to our parent 1604 public void onChildViewAdded(View parent, View child) {} argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | PagedView.java | 317 // Convenience methods to map points from self to parent and vice versa 594 // zoom out (and scale down), the view is still contained in the parent 595 View parent = (View) getParent(); 748 public void onChildViewAdded(View parent, View child) { argument 757 public void onChildViewRemoved(View parent, View child) { argument 999 ViewParent parent = v.getParent(); 1000 if (parent instanceof View) { 1378 // Update the parent down so that our zoom animations take this new movement into 1552 // Update the parent down so that our zoom animations take this new movement into 2465 View parent [all...] |
/frameworks/base/include/androidfw/ |
H A D | ResourceTypes.h | 305 // TYPE_FRACTION: A fraction of the parent size. 1170 * Extended form of a ResTable_entry for map entries, defining a parent map 1175 // Resource identifier of the parent mapping, or 0 if there is none. 1176 ResTable_ref parent; member in struct:android::ResTable_map_entry
|
/frameworks/base/services/java/com/android/server/ |
H A D | InputMethodManagerService.java | 2781 public View getView(int position, View convertView, ViewGroup parent) { argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 407 // being removed that should not actually be removed from the parent yet because they are 658 ViewParent parent = mParent; 659 if (parent == null) { 666 return parent.requestSendAccessibilityEvent(this, event); 671 * gives an opportunity to its parent to augment the event. 983 * Called when a view's visibility has changed. Notify the parent to take any appropriate 1061 ViewParent parent = mParent; 1062 if (parent != null) parent.recomputeViewAttributes(this); 2253 // Pass it up to our parent 3245 onChildViewAdded(View parent, View child) argument 3253 onChildViewRemoved(View parent, View child) argument 6136 obtain(ViewGroup parent, boolean sort) argument 6180 init(ViewGroup parent, boolean sort) argument [all...] |
H A D | ViewRootImpl.java | 841 ViewGroup parent = (ViewGroup) view; 842 for (int i = 0; i < parent.getChildCount(); i++) { 843 invalidateWorld(parent.getChildAt(i)); 2702 * Return true if child is an ancestor of parent, (or equal to the parent). 2704 public static boolean isViewDescendantOf(View child, View parent) { argument 2705 if (child == parent) { 2710 return (theParent instanceof ViewGroup) && isViewDescendantOf((View) theParent, parent); 3115 ViewParent parent = focused.getParent(); 3116 while (parent instanceo [all...] |
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 3383 const uint32_t parent = entrySize >= sizeof(ResTable_map_entry) local 3384 ? dtohl(((const ResTable_map_entry*)entry)->parent.ident) : 0; 3390 TABLE_NOISY(ALOGI("Found map: size=%p parent=%p count=%d\n", 3391 entrySize, parent, count)); 3394 // with its parent's values. Otherwise start out empty. 3395 TABLE_NOISY(printf("Creating new bag, entrySize=0x%08x, parent=0x%08x\n", 3396 entrySize, parent)); 3397 if (parent) { 3400 const ssize_t NP = getBagLocked(parent, &parentBag, &parentTypeSpecFlags); 5601 dtohl(bagPtr->parent [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 3251 ActivityRecord parent, boolean aboveSystem, final String annotation) { 3295 if (parent != null && parent.app != null && parent.app.pid > 0) parentPid = parent.app.pid; 3326 if (parent != null && parent != activity) { 3327 info.append("Parent: ").append(parent.shortComponentName).append("\n"); 3352 addErrorToDropBox("anr", app, app.processName, activity, parent, annotation, 8470 * @param parent activit 3250 appNotResponding(ProcessRecord app, ActivityRecord activity, ActivityRecord parent, boolean aboveSystem, final String annotation) argument 8476 addErrorToDropBox(String eventType, ProcessRecord process, String processName, ActivityRecord activity, ActivityRecord parent, String subject, final String report, final File logFile, final ApplicationErrorReport.CrashInfo crashInfo) argument [all...] |