Searched refs:parent (Results 201 - 225 of 377) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java42 * This should be applied to the parent view using
173 final ViewParent parent = mView.getParent();
174 if (parent == null) {
179 return parent.requestSendAccessibilityEvent(mView, event);
183 * Notifies the accessibility framework that the properties of the parent
187 * parent view.
222 * the parent view.
324 * @return An {@link AccessibilityNodeInfo} for the parent node.
356 * Uses the bounds of the parent view and the parent
[all...]
H A DSlidingTab.java191 * @param parent the container view of this one
196 Slider(ViewGroup parent, int tabId, int barId, int targetId) { argument
198 tab = new ImageView(parent.getContext());
205 text = new TextView(parent.getContext());
209 text.setTextAppearance(parent.getContext(), R.style.TextAppearance_SlidingTabNormal);
213 target = new ImageView(parent.getContext());
220 parent.addView(target); // this needs to be first - relies on painter's algorithm
221 parent.addView(tab);
222 parent.addView(text);
333 * Layout the given widgets within the parent
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPlaybackControlsPresenter.java277 public Presenter.ViewHolder onCreateViewHolder(ViewGroup parent) { argument
278 View v = LayoutInflater.from(parent.getContext())
279 .inflate(getLayoutResourceId(), parent, false);
H A DDetailsOverviewRowPresenter.java107 public void onChildSelected(ViewGroup parent, View view, int position, long id) {
380 protected RowPresenter.ViewHolder createRowViewHolder(ViewGroup parent) { argument
381 View v = LayoutInflater.from(parent.getContext())
382 .inflate(R.layout.lb_details_overview, parent, false);
H A DListRowPresenter.java198 public void onChildSelected(ViewGroup parent, View view, int position, long id) {
347 protected RowPresenter.ViewHolder createRowViewHolder(ViewGroup parent) { argument
348 initStatics(parent.getContext());
349 ListRowView rowView = new ListRowView(parent.getContext());
/frameworks/support/v4/java/android/support/v4/widget/
H A DExploreByTouchHelper.java48 * This should be applied to the parent view using
177 final ViewParent parent = mView.getParent();
178 if (parent == null) {
183 return ViewParentCompat.requestSendAccessibilityEvent(parent, mView, event);
187 * Notifies the accessibility framework that the properties of the parent
191 * parent view.
227 * the parent view.
332 * @return An {@link AccessibilityNodeInfoCompat} for the parent node.
364 * Uses the bounds of the parent view and the parent
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPopupHelper.java178 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
361 public View getView(int position, View convertView, ViewGroup parent) { argument
363 convertView = mInflater.inflate(ITEM_LAYOUT, parent, false);
/frameworks/base/core/java/android/view/
H A DView.java322 * both return the location of the view relative to its parent. For instance,
324 * right of the left edge of its direct parent.
346 * within its parent (see <a href="#Layout">Layout</a> for more details.) The
388 * this pass each parent is responsible for positioning all of its children
398 * children's measurements. A parent view may call measure() more than once on
399 * its children. For example, the parent may measure each child once with
413 * <li>MATCH_PARENT, which means the view wants to be as big as its parent
424 * MeasureSpecs are used to push requirements down the tree from parent to
427 * <li>UNSPECIFIED: This is used by a parent to determine the desired dimension
431 * <li>EXACTLY: This is used by the parent t
12923 assignParent(ViewParent parent) argument
14618 drawAnimation(ViewGroup parent, long drawingTime, Animation a, boolean scalingRequired) argument
14726 draw(Canvas canvas, ViewGroup parent, long drawingTime) argument
[all...]
/frameworks/base/core/java/android/content/
H A DSyncActivityTooManyDeletes.java109 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument
/frameworks/base/core/java/android/provider/
H A DDocumentsProvider.java143 * Implementation is provided by the parent class.
176 * parent. For example, providers must implement this to support
180 * @param parentDocumentId parent to verify against.
182 * @return if given document is a descendant of the given parent.
192 final String parent = getTreeDocumentId(documentUri);
194 if (Objects.equals(parent, child)) {
197 if (!isChildDocument(parent, child)) {
199 "Document " + child + " is not a descendant of " + parent);
210 * @param parentDocumentId the parent directory to create the new document
466 * Implementation is provided by the parent clas
[all...]
/frameworks/base/core/java/android/transition/
H A DChangeTransform.java36 * A change in parent is handled as well by capturing the transforms from
37 * the parent before and after the scene change and animating those during the
46 private static final String PROPNAME_PARENT = "android:changeTransform:parent";
87 * Returns whether changes to parent should use an overlay or not. When the parent
91 * <p>Note: when Overlays are not used when a parent changes, a view can be clipped when
92 * it moves outside the bounds of its parent. Setting
95 * Overlays are not used and the parent is animating its location, the position of the
96 * child view will be relative to its parent's final position, so it may appear to "jump"
99 * @return <code>true</code> when a changed parent shoul
[all...]
/frameworks/base/core/java/android/widget/
H A DTableLayout.java48 * its parent object. If marked as stretchable, it can expand in width to fit
49 * any extra space. The total width of the table is defined by its parent
192 // make sure to call the parent class method to avoid potential
483 * @param widthMeasureSpec the measure constraint imposed by our parent
552 * by this widget's parent
767 public void onChildViewAdded(View parent, View child) { argument
771 mOnHierarchyChangeListener.onChildViewAdded(parent, child);
778 public void onChildViewRemoved(View parent, View child) { argument
780 mOnHierarchyChangeListener.onChildViewRemoved(parent, child);
H A DHeaderViewListAdapter.java207 public View getView(int position, View convertView, ViewGroup parent) { argument
220 return mAdapter.getView(adjPosition, convertView, parent);
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java432 final View parent = mWindow.findViewById(R.id.parentPanel);
433 if (parent != null && decor != null) {
441 parent.setPadding(roundOffset, roundOffset, roundOffset, roundOffset);
953 public View getView(int position, View convertView, ViewGroup parent) {
954 View view = super.getView(position, convertView, parent);
984 public View newView(Context context, Cursor cursor, ViewGroup parent) {
986 parent, false);
1016 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
1026 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
H A DLocalePicker.java168 public View getView(int position, View convertView, ViewGroup parent) {
172 view = inflater.inflate(layoutId, parent, false);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DListOfEditTexts.java112 public View getView(int position, View convertView, ViewGroup parent) { argument
H A DListWithFooterViewAndNewLabels.java93 public View getView(int position, View convertView, ViewGroup parent) { argument
H A DListWithMailMessages.java126 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/base/sax/java/android/sax/
H A DRootElement.java201 this.current = current.parent;
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DMainActivity.java106 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
H A DDrawerActivity.java59 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp105 MtpObjectHandle parent,
117 MtpObjectHandle parent);
121 MtpObjectHandle parent);
229 MtpObjectHandle parent,
236 pathStr, (jint)format, (jint)parent, (jint)storage,
259 MtpObjectHandle parent) {
262 (jint)storageID, (jint)format, (jint)parent);
279 MtpObjectHandle parent) {
282 (jint)storageID, (jint)format, (jint)parent);
776 ExifByteOrder o = exif_data_get_byte_order(e->parent
227 beginSendObject(const char* path, MtpObjectFormat format, MtpObjectHandle parent, MtpStorageID storage, uint64_t size, time_t modified) argument
257 getObjectList(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
277 getNumObjects(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java109 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
184 public View getView(int position, View convertView, ViewGroup parent) { argument
/frameworks/base/core/java/android/app/
H A DListFragment.java159 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
160 onListItemClick((ListView)parent, v, position, id);
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java54 * starting at its eldest parent. The calls to enter will be done in the context
72 * <p>Each state in the state machine may have a zero or one parent states and if
74 * by its parent by returning false or NOT_HANDLED. If a message is never processed
93 * the list of states to be entered/exited the common parent closest to
95 * parent's up to but not including the common parent state and then enter all
96 * of the new states below the common parent down to the destination state.
97 * If there is no common parent all states are exited and then the new states
129 * processMessage the state machine runtime will find the common parent,
165 * with two independent parent state
1132 addState(State state, State parent) argument
1279 addState(State state, State parent) argument
[all...]

Completed in 674 milliseconds

1234567891011>>