Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java136 final PagedViewGridLayout parent = (PagedViewGridLayout) w.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent() local
137 final PagedView container = (PagedView) parent.getParent(); in handlePagedViewGridLayoutWidgetKeyEvent()
140 final int widgetIndex = parent.indexOfChild(w); in handlePagedViewGridLayoutWidgetKeyEvent()
141 final int widgetCount = parent.getChildCount(); in handlePagedViewGridLayoutWidgetKeyEvent()
142 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parent)); in handlePagedViewGridLayoutWidgetKeyEvent()
144 final int cellCountX = parent.getCellCountX(); in handlePagedViewGridLayoutWidgetKeyEvent()
145 final int cellCountY = parent.getCellCountY(); in handlePagedViewGridLayoutWidgetKeyEvent()
161 parent.getChildAt(widgetIndex - 1).requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
178 parent.getChildAt(widgetIndex + 1).requestFocus(); in handlePagedViewGridLayoutWidgetKeyEvent()
196 child = parent.getChildAt(newWidgetIndex); in handlePagedViewGridLayoutWidgetKeyEvent()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DDefaultSoftKeyboardJAJP.java328 @Override protected void createKeyboards(OpenWnn parent) { in createKeyboards() argument
336 createKeyboardsPortrait(parent); in createKeyboards()
338 createKeyboardsLandscape(parent); in createKeyboards()
446 @Override public View initView(OpenWnn parent, int width, int height) { in initView() argument
448 View view = super.initView(parent, width, height); in initView()
791 @Override public void onUpdateState(OpenWnn parent) { in onUpdateState() argument
792 super.onUpdateState(parent); in onUpdateState()
859 private void createKeyboardsPortrait(OpenWnn parent) { in createKeyboardsPortrait() argument
864 keyList[KEYMODE_JA_FULL_HIRAGANA][0] = new Keyboard(parent, R.xml.keyboard_qwerty_jp); in createKeyboardsPortrait()
865 …keyList[KEYMODE_JA_FULL_NUMBER][0] = new Keyboard(parent, R.xml.keyboard_qwerty_jp_full_symbols); in createKeyboardsPortrait()
[all …]
/packages/apps/Email/src/com/android/email/activity/
DUiUtilities.java72 public static <T extends View> T getViewOrNull(Activity parent, int viewId) { in getViewOrNull() argument
73 return (T) parent.findViewById(viewId); in getViewOrNull()
78 public static <T extends View> T getViewOrNull(View parent, int viewId) { in getViewOrNull() argument
79 return (T) parent.findViewById(viewId); in getViewOrNull()
86 public static <T extends View> T getView(Activity parent, int viewId) { in getView() argument
87 return (T) checkView(parent.findViewById(viewId)); in getView()
94 public static <T extends View> T getView(View parent, int viewId) { in getView() argument
95 return (T) checkView(parent.findViewById(viewId)); in getView()
117 public static void setVisibilitySafe(Activity parent, int viewId, int visibility) { in setVisibilitySafe() argument
118 setVisibilitySafe(parent.findViewById(viewId), visibility); in setVisibilitySafe()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/message/
DAbstractBody.java31 private Entity parent = null; field in AbstractBody
37 return parent; in getParent()
43 public void setParent(Entity parent) { in setParent() argument
44 this.parent = parent; in setParent()
DEntity.java38 private Entity parent = null; field in Entity
47 return parent; in getParent()
56 public void setParent(Entity parent) { in setParent() argument
57 this.parent = parent; in setParent()
107 ContentTypeField parent = getParent() != null in getMimeType() local
112 return ContentTypeField.getMimeType(child, parent); in getMimeType()
DMultipart.java49 private Entity parent = null; field in Multipart
84 return parent; in getParent()
90 public void setParent(Entity parent) { in setParent() argument
91 this.parent = parent; in setParent()
93 it.next().setParent(parent); in setParent()
132 it.next().setParent(parent); in setBodyParts()
143 bodyPart.setParent(parent); in addBodyPart()
DMemoryBinaryBody.java46 private Entity parent = null; field in MemoryBinaryBody
69 return parent; in getParent()
75 public void setParent(Entity parent) { in setParent() argument
76 this.parent = parent; in setParent()
DTempFileBinaryBody.java45 private Entity parent = null; field in TempFileBinaryBody
68 return parent; in getParent()
74 public void setParent(Entity parent) { in setParent() argument
75 this.parent = parent; in setParent()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboard.java186 private Keyboard parent; field in Keyboard.Row
189 public Row(Keyboard parent) { in Row() argument
190 this.parent = parent; in Row()
194 public Row(Resources res, Keyboard parent, XmlResourceParser parser) { in Row() argument
195 this.parent = parent; in Row()
200 parent.mDisplayWidth, parent.mDefaultWidth); in Row()
203 parent.mDisplayHeight, parent.mDefaultHeight); in Row()
206 parent.mDisplayWidth, parent.mDefaultHorizontalGap); in Row()
209 parent.mDisplayHeight, parent.mDefaultVerticalGap); in Row()
306 public Key(Row parent) { in Key() argument
[all …]
DCandidatesViewManager.java85 public abstract View initView(OpenWnn parent, int width, int height); in initView() argument
185 ViewGroup parent = (ViewGroup)mViewLongPressDialog.getParent(); in closeDialog() local
186 if (null != parent) { in closeDialog()
187 parent.removeView(mViewLongPressDialog); in closeDialog()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DCursorFactoryListAdapter.java34 public View newView(Context context, ViewGroup parent); in newView() argument
49 public View newView(Context context, ViewGroup parent) { in newView() argument
52 return inflater.inflate(mResId, parent, false); in newView()
67 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() argument
68 View view = mViewFactory.newView(context, parent); in newView()
/packages/apps/Settings/src/com/android/settings/
DDataUsageSummary.java1075 public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
1077 final AppItem app = (AppItem) parent.getItemAtPosition(position);
1089 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
1090 final CycleItem cycle = (CycleItem) parent.getItemAtPosition(position);
1114 public void onNothingSelected(AdapterView<?> parent) {
1541 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
1543 convertView = LayoutInflater.from(parent.getContext()).inflate( in getView()
1544 R.layout.data_usage_item, parent, false); in getView()
1551 final Context context = parent.getContext(); in getView()
1583 public static void show(DataUsageSummary parent, AppItem app, CharSequence label) { in show() argument
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/detail/
DContactDetailDisplayUtilsTest.java73 private void assertHasText(View parent, int textViewId, String expectedText) { in assertHasText() argument
74 TextView textView = (TextView) parent.findViewById(textViewId); in assertHasText()
81 private void assertHasHtmlText(View parent, int textViewId, String expectedHtml) { in assertHasHtmlText() argument
82 TextView textView = (TextView) parent.findViewById(textViewId); in assertHasHtmlText()
100 private void assertGone(View parent, int textId) { in assertGone() argument
101 View view = parent.findViewById(textId); in assertGone()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DDefaultSoftKeyboardEN.java72 @Override protected void createKeyboards(OpenWnn parent) { in createKeyboards() argument
81 keyList[KEYMODE_EN_ALPHABET][0] = new Keyboard(parent, R.xml.default_en_qwerty); in createKeyboards()
82 keyList[KEYMODE_EN_NUMBER][0] = new Keyboard(parent, R.xml.default_en_symbols); in createKeyboards()
83 keyList[KEYMODE_EN_PHONE][0] = new Keyboard(parent, R.xml.keyboard_12key_phone); in createKeyboards()
89 keyList[KEYMODE_EN_NUMBER][0] = new Keyboard(parent, R.xml.default_en_symbols_shift); in createKeyboards()
90 keyList[KEYMODE_EN_PHONE][0] = new Keyboard(parent, R.xml.keyboard_12key_phone); in createKeyboards()
126 @Override public View initView(OpenWnn parent, int width, int height) { in initView() argument
127 View view = super.initView(parent, width, height); in initView()
/packages/apps/Contacts/src/com/android/contacts/list/
DJoinContactListAdapter.java140 ViewGroup parent) { in newHeaderView() argument
143 View view = inflate(R.layout.join_contact_picker_section_header, parent); in newHeaderView()
149 View view = inflate(R.layout.join_contact_picker_section_header, parent); in newHeaderView()
166 ViewGroup parent) { in newView() argument
170 return super.newView(context, partition, cursor, position, parent); in newView()
175 private View inflate(int layoutId, ViewGroup parent) { in inflate() argument
176 return LayoutInflater.from(getContext()).inflate(layoutId, parent, false); in inflate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DXmlParseUtils.java40 public IllegalStartTag(XmlPullParser parser, String parent) { in IllegalStartTag() argument
41 super("Illegal start tag " + parser.getName() + " in " + parent, parser); in IllegalStartTag()
47 public IllegalEndTag(XmlPullParser parser, String parent) { in IllegalEndTag() argument
48 super("Illegal end tag " + parser.getName() + " in " + parent, parser); in IllegalEndTag()
/packages/apps/Contacts/src/com/android/contacts/widget/
DSingleItemAdapter.java39 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
40 return getView(convertView, parent); in getView()
46 protected abstract View getView(View convertView, ViewGroup parent); in getView() argument
/packages/apps/Calendar/src/com/android/calendar/
DEmailAddressAdapter.java44 protected View inflateItemView(ViewGroup parent) { in inflateItemView() argument
45 return mInflater.inflate(R.layout.email_autocomplete_item, parent, false); in inflateItemView()
49 protected View inflateItemViewLoading(ViewGroup parent) { in inflateItemViewLoading() argument
50 return mInflater.inflate(R.layout.email_autocomplete_item_loading, parent, false); in inflateItemViewLoading()
/packages/apps/Email/src/com/android/email/
DEmailAddressAdapter.java45 protected View inflateItemView(ViewGroup parent) { in inflateItemView() argument
46 return mInflater.inflate(R.layout.recipient_dropdown_item, parent, false); in inflateItemView()
50 protected View inflateItemViewLoading(ViewGroup parent) { in inflateItemViewLoading() argument
51 return mInflater.inflate(R.layout.recipient_dropdown_item_loading, parent, false); in inflateItemViewLoading()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DProfileData.java38 public Node parent; field in ProfileData.Node
41 public Node(Node parent, int id) { in Node() argument
42 this.parent = parent; in Node()
135 node = node.parent; in writeOneStack()
/packages/apps/Contacts/tests/src/com/android/contacts/util/
DIntegrationTestUtils.java173 private static <T extends View> List<T> getAllViews(final Class<T> clazz, final View parent) {
175 if (parent.getClass().equals(clazz)) {
176 results.add(clazz.cast(parent));
178 if (parent instanceof ViewGroup) {
179 ViewGroup viewGroup = (ViewGroup) parent;
/packages/apps/Tag/src/com/android/apps/tag/record/
DRecordUtils.java64 ViewGroup parent, OnClickListener listener, Intent intent, String description) { in getViewsForIntent() argument
71 TextView text = (TextView) inflater.inflate(R.layout.tag_text, parent, false); in getViewsForIntent()
75 return buildActivityView(activity, activities.get(0), pm, inflater, parent, listener, in getViewsForIntent()
106 LayoutInflater inflater, ViewGroup parent, OnClickListener listener, Intent intent, in buildActivityView() argument
113 View item = inflater.inflate(R.layout.tag_uri, parent, false); in buildActivityView()
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncSettings.java120 PreferenceScreen parent = getPreferenceScreen(); in removeAccountPreferences() local
121 for (int i = 0; i < parent.getPreferenceCount(); ) { in removeAccountPreferences()
122 if (parent.getPreference(i) instanceof AccountPreference) { in removeAccountPreferences()
123 parent.removePreference(parent.getPreference(i)); in removeAccountPreferences()
/packages/apps/Browser/src/com/android/browser/
DBrowserHistoryPage.java255 AdapterView<?> parent, View view, int position, long id) {
266 AdapterView<?> parent, View view, int position, long id) {
272 public boolean onChildClick(ExpandableListView parent, View view, in onChildClick() argument
352 Activity parent = getActivity(); in onCreateContextMenu() local
353 MenuInflater inflater = parent.getMenuInflater(); in onCreateContextMenu()
358 mContextHeader = new HistoryItem(parent, false); in onCreateContextMenu()
376 PackageManager pm = parent.getPackageManager(); in onCreateContextMenu()
479 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
480 return mAdapter.getGroupView(position, false, convertView, parent); in getView()
514 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument
[all …]
/packages/apps/Email/tests/src/com/android/email/
DTestUtils.java173 ViewParent parent = v.getParent(); in assertViewVisible() local
174 if (parent == null || !(parent instanceof View)) { in assertViewVisible()
177 v = (View) parent; in assertViewVisible()

12345678910>>...12