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

12345678

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java675 * Insert a new child into an existing parent.
736 * Adds a given view to a given parent at a given index.
738 * @param parent the parent to receive the view
739 * @param view the view to add to the parent
743 * {@link Status#ERROR_VIEWGROUP_NO_CHILDREN} if the given parent doesn't support
746 private Result addView(ViewGroup parent, View view, int index) { argument
748 parent.addView(view, index);
757 * Moves a view to a new parent at a given location
774 // need to create a new LayoutParams object for the new parent
1007 removeView(ViewGroup parent, View view) argument
[all...]
/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/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaConnection.java49 CdmaCall parent; field in class:CdmaConnection
140 parent = parentFromDCState (dc.state);
141 parent.attach(this, dc);
146 CdmaConnection(Context context, String dialString, CdmaCallTracker ct, CdmaCall parent) { argument
169 if (parent != null) {
170 this.parent = parent;
172 //for the three way call case, not change parent state
173 if (parent.state == CdmaCall.State.ACTIVE) {
174 parent
182 CdmaConnection(Context context, CdmaCallWaitingNotification cw, CdmaCallTracker ct, CdmaCall parent) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java44 GsmCall parent; field in class:GsmConnection
138 parent = parentFromDCState (dc.state);
139 parent.attach(this, dc);
144 GsmConnection (Context context, String dialString, GsmCallTracker ct, GsmCall parent) { argument
164 this.parent = parent;
165 parent.attachFake(this, GsmCall.State.DIALING);
197 return parent;
430 if (parent != null) {
431 parent
[all...]
/frameworks/av/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/cmds/installd/
H A Dutils.c442 static cache_dir_t* _add_cache_dir_t(cache_t* cache, cache_dir_t* parent, const char *name) argument
447 dir->parent = parent;
465 if (parent != NULL) {
466 parent->childCount++;
514 CACHE_NOISY(ALOGI("_add_cache_files: parent=%p dirName=%s dir=%p pathBase=%s",
674 if (dir->parent != NULL) {
675 pos = create_dir_path(path, dir->parent);
690 if (dir->parent != NULL) {
705 dir->parent
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java1822 public void attachActivity(Activity activity, FragmentContainer container, Fragment parent) { argument
1826 mParent = parent;
/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.java263 public View getView(int position, View convertView, ViewGroup parent) { argument
269 parent, false);
1102 * on the parent entry.
/frameworks/base/core/java/android/widget/
H A DAdapterView.java221 * When set to true, calls to requestLayout() will not propagate up the parent hierarchy.
256 * @param parent The AdapterView where the click happened.
262 void onItemClick(AdapterView<?> parent, View view, int position, long id); argument
317 * @param parent The AbsListView where the click happened
324 boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id); argument
363 * @param parent The AdapterView where the selection happened
368 void onItemSelected(AdapterView<?> parent, View view, int position, long id); argument
375 * @param parent The AdapterView that now contains no selected item.
377 void onNothingSelected(AdapterView<?> parent); argument
H A DAutoCompleteTextView.java1191 public void onItemClick(AdapterView parent, View v, int position, long id) { argument
H A DExpandableListView.java66 * ExpandableListView in XML if the parent's size is also not strictly specified
67 * (for example, if the parent were ScrollView you could not specify
69 * wrap_content if the ExpandableListView parent has a specific size, such as
699 * @param parent The ExpandableListConnector where the click happened
705 boolean onGroupClick(ExpandableListView parent, View v, int groupPosition, argument
724 * @param parent The ExpandableListView where the click happened
732 boolean onChildClick(ExpandableListView parent, View v, int groupPosition, argument
960 * @param groupPosition The child's parent group's position.
962 * @return The packed position representation of the child (and parent group).
975 * @param groupPosition The child's parent grou
[all...]
H A DHorizontalScrollView.java547 final ViewParent parent = getParent();
548 if (parent != null) {
549 parent.requestDisallowInterceptTouchEvent(true);
576 final ViewParent parent = getParent();
577 if (parent != null) {
578 parent.requestDisallowInterceptTouchEvent(true);
1482 * Return true if child is a descendant of parent, (or equal to the parent).
1484 private static boolean isViewDescendantOf(View child, View parent) { argument
1485 if (child == parent) {
[all...]
H A DPopupWindow.java601 * Allow PopupWindow to scroll the anchor's parent to provide more room
604 * @param enabled True to scroll the anchor's parent when more room is desired by the popup.
805 * @param parent a parent view to get the {@link android.view.View#getWindowToken()} token from
810 public void showAtLocation(View parent, int gravity, int x, int y) { argument
811 showAtLocation(parent.getWindowToken(), gravity, x, y);
853 * the popup in its entirety, this method tries to find a parent scroll
854 * view to scroll. If no parent scroll view can be scrolled, the bottom-left
869 * the popup in its entirety, this method tries to find a parent scroll
870 * view to scroll. If no parent scrol
[all...]
H A DRemoteViewsAdapter.java466 ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler
469 final Context context = parent.getContext();
479 View loadingView = mUserLoadingView.apply(parent.getContext(), parent,
495 View firstView = mFirstView.apply(parent.getContext(), parent, handler);
1147 public View getView(int position, View convertView, ViewGroup parent) { argument
1181 Context context = parent.getContext();
1199 View newView = rv.apply(context, parent, mRemoteViewsOnClickHandler);
1214 loadingView = metaData.createLoadingView(position, convertView, parent,
465 createLoadingView(int position, View convertView, ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler handler) argument
[all...]
H A DScrollView.java507 final ViewParent parent = getParent();
508 if (parent != null) {
509 parent.requestDisallowInterceptTouchEvent(true);
579 final ViewParent parent = getParent();
580 if (parent != null) {
581 parent.requestDisallowInterceptTouchEvent(true);
612 final ViewParent parent = getParent();
613 if (parent != null) {
614 parent.requestDisallowInterceptTouchEvent(true);
1491 * Return true if child is a descendant of parent, (o
1493 isViewDescendantOf(View child, View parent) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialogFragment.java411 public View getView(int position, View convertView, ViewGroup parent) { argument
416 convertView = mInflater.inflate(ITEM_LAYOUTS[viewType], parent, false);
431 final ListView list = (ListView) parent;
507 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java53 * starting at its eldest parent. The calls to enter will be done in the context
71 * <p>Each state in the state machine may have a zero or one parent states and if
73 * by its parent by returning false or NOT_HANDLED. If a message is never processed
92 * the list of states to be entered/exited the common parent closest to
94 * parent's up to but not including the common parent state and then enter all
95 * of the new states below the common parent down to the destination state.
96 * If there is no common parent all states are exited and then the new states
128 * processMessage the state machine runtime will find the common parent,
164 * with two independent parent state
1084 addState(State state, State parent) argument
1222 addState(State state, State parent) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java185 * @param parent the container view of this one
190 Slider(ViewGroup parent, int tabId, int barId, int targetId) { argument
192 tab = new ImageView(parent.getContext());
199 text = new TextView(parent.getContext());
203 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal);
207 target = new ImageView(parent.getContext());
214 parent.addView(target); // this needs to be first - relies on painter's algorithm
215 parent.addView(tab);
216 parent.addView(text);
327 * 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/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsPanelView.java142 public View createView(ViewGroup parent) { argument
143 View convertView = mInflater.inflate(mRecentItemLayoutId, parent, false);
161 public View getView(int position, View convertView, ViewGroup parent) { argument
163 convertView = createView(parent);
693 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DBaseStatusBar.java438 // Provide SearchPanel with a temporary parent to allow layout params to work.
701 protected boolean inflateViews(NotificationData.Entry entry, ViewGroup parent) { argument
716 View row = inflater.inflate(R.layout.status_bar_notification_row, parent, false);
988 protected boolean isTopNotification(ViewGroup parent, NotificationData.Entry entry) { argument
989 return parent != null && parent.indexOfChild(entry.row) == 0;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java336 public boolean onItemLongClick(AdapterView<?> parent, View view, int position,
487 public View getView(int position, View convertView, ViewGroup parent) { argument
489 return action.create(mContext, convertView, parent, LayoutInflater.from(mContext));
503 View create(Context context, View convertView, ViewGroup parent, LayoutInflater inflater); argument
566 Context context, View convertView, ViewGroup parent, LayoutInflater inflater) {
567 View v = inflater.inflate(R.layout.global_actions_item, parent, false);
648 public View create(Context context, View convertView, ViewGroup parent, argument
653 .layout.global_actions_item, parent, false);
768 public View create(Context context, View convertView, ViewGroup parent, argument
770 View v = inflater.inflate(R.layout.global_actions_silent_mode, parent, fals
565 create( Context context, View convertView, ViewGroup parent, LayoutInflater inflater) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DThrottleService.java809 DataRecorder(Context context, ThrottleService parent) { argument
811 mParent = parent;
/frameworks/base/tools/aapt/
H A DResourceTable.h309 void setParent(const String16& parent) { mParent = parent; } argument

Completed in 363 milliseconds

12345678