/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FocusHelper.java | 136 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/ |
D | DefaultSoftKeyboardJAJP.java | 328 @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/Settings/src/com/android/settings/ |
D | DataUsageSummary.java | 1088 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 1090 final AppItem app = (AppItem) parent.getItemAtPosition(position); 1102 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { 1103 final CycleItem cycle = (CycleItem) parent.getItemAtPosition(position); 1127 public void onNothingSelected(AdapterView<?> parent) { 1561 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 1563 convertView = LayoutInflater.from(parent.getContext()).inflate( in getView() 1564 R.layout.data_usage_item, parent, false); in getView() 1571 final Context context = parent.getContext(); in getView() 1603 public static void show(DataUsageSummary parent, AppItem app, CharSequence label) { in show() argument [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | Keyboard.java | 186 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 …]
|
D | DefaultSoftKeyboard.java | 367 protected void createKeyboards(OpenWnn parent) { in createKeyboards() argument 593 public View initView(OpenWnn parent, int width, int height) { in initView() argument 594 mWnn = parent; in initView() 596 … (parent.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) in initView() 604 createKeyboards(parent); in initView() 607 mSymbolKeyboard = new Keyboard(parent, R.xml.keyboard_4key); in initView() 609 SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(parent); in initView() 612 int id = parent.getResources().getIdentifier(skin, "layout", "jp.co.omronsoft.openwnn"); in initView() 618 …mMainView = (BaseInputView) parent.getLayoutInflater().inflate(R.layout.keyboard_default_main, nul… in initView() 619 … mSubView = (ViewGroup) parent.getLayoutInflater().inflate(R.layout.keyboard_default_sub, null); in initView() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | MtpImageView.java | 190 MtpImageView parent = ((WeakReference<MtpImageView>) msg.obj).get(); in handleMessage() local 191 if (parent == null) return; in handleMessage() 194 synchronized (parent.mFetchLock) { in handleMessage() 195 parent.mFetchPending = false; in handleMessage() 196 device = parent.mFetchDevice; in handleMessage() 197 objectInfo = parent.mFetchObjectInfo; in handleMessage() 200 Object result = parent.fetchMtpImageDataFromDevice(device, objectInfo); in handleMessage() 202 synchronized (parent.mFetchLock) { in handleMessage() 203 if (parent.mFetchObjectInfo != objectInfo) return; in handleMessage() 204 parent.mFetchResult = result; in handleMessage() [all …]
|
/packages/apps/Email/src/com/android/email/activity/ |
D | UiUtilities.java | 72 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/Browser/src/com/android/browser/ |
D | BrowserHistoryPage.java | 255 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 …]
|
D | Controller.java | 507 final Tab parent = mTabControl.getCurrentTab(); in startHandler() 508 openTab(url, parent, in startHandler() 1190 Tab parent = getCurrentTab(); in onActivityResult() local 1192 parent = openTab(url, parent, in onActivityResult() 1406 final Tab parent = mTabControl.getCurrentTab(); in onCreateContextMenu() 1407 openTab(extra, parent, in onCreateContextMenu() 2416 public Tab openTab(String url, Tab parent, boolean setActive, in openTab() argument 2418 return openTab(url, (parent != null) && parent.isPrivateBrowsingEnabled(), in openTab() 2419 setActive, useCurrent, parent); in openTab() 2423 boolean useCurrent, Tab parent) { in openTab() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragment.java | 896 public void onItemClick(AdapterView<?> parent, View view, int position, in addMoreNetworks() 1054 public void onItemClick(AdapterView<?> parent, View view, int position, in showListPopup() 1056 onItemClickListener.onItemClick(parent, view, position, id); in showListPopup() 1495 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 1498 return getHeaderEntryView(convertView, parent); in getView() 1500 return getSeparatorEntryView(position, convertView, parent); in getView() 1502 return getKindTitleEntryView(position, convertView, parent); in getView() 1504 return getDetailEntryView(position, convertView, parent); in getView() 1506 return getNetworkTitleEntryView(position, convertView, parent); in getView() 1508 return getAddConnectionEntryView(position, convertView, parent); in getView() [all …]
|
/packages/apps/Email/src/org/apache/james/mime4j/message/ |
D | Multipart.java | 49 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()
|
D | Entity.java | 38 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()
|
D | AbstractBody.java | 31 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()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiSettingsForSetupWizardXL.java | 438 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in showConfigUi() local 439 parent.setVisibility(View.VISIBLE); in showConfigUi() 440 parent.removeAllViews(); in showConfigUi() 441 mWifiConfig = new WifiConfigUiForSetupWizardXL(this, parent, selectedAccessPoint, edit); in showConfigUi() 559 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in onConnectButtonPressed() local 560 parent.setVisibility(View.GONE); in onConnectButtonPressed() 623 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in onBackButtonPressed() local 624 parent.removeAllViews(); in onBackButtonPressed() 625 parent.setVisibility(View.GONE); in onBackButtonPressed() 704 final ViewGroup parent = (ViewGroup)findViewById(R.id.wifi_config_ui); in onAuthenticationFailure() local [all …]
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/ |
D | DefaultSoftKeyboardEN.java | 72 @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/experimental/Bummer/src/com/android/dreams/bummer/ |
D | BummerView.java | 43 final View parent = (View) BummerView.this.getParent(); 44 if (parent == null) 47 final float framew = parent.getMeasuredWidth(); 48 final float frameh = parent.getMeasuredHeight(); 92 final View parent = (View) this.getParent(); in onAttachedToWindow() local 93 parent.addOnLayoutChangeListener(new OnLayoutChangeListener() { in onAttachedToWindow() 96 if (v == parent && right != oldRight) { in onAttachedToWindow()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | BummerView.java | 43 final View parent = (View) BummerView.this.getParent(); 44 if (parent == null) 47 final float framew = parent.getMeasuredWidth(); 48 final float frameh = parent.getMeasuredHeight(); 92 final View parent = (View) this.getParent(); in onAttachedToWindow() local 93 parent.addOnLayoutChangeListener(new OnLayoutChangeListener() { in onAttachedToWindow() 96 if (v == parent && right != oldRight) { in onAttachedToWindow()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchFragment.java | 111 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 119 lapInfo = mInflater.inflate(R.layout.lap_view, parent, false); in getView() 455 Activity parent = getActivity(); in showSharePopup() local 456 PackageManager packageManager = parent.getPackageManager(); in showSharePopup() 494 mSharePopup = new ListPopupWindow(parent); in showSharePopup() 498 ImageLabelAdapter showAllAdapter = new ImageLabelAdapter(parent, in showSharePopup() 502 mSharePopup.setAdapter(new ImageLabelAdapter(parent, R.layout.popup_window_item, in showSharePopup() 511 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { in showSharePopup() 515 ((ImageLabelAdapter) parent.getAdapter()).getShowAllAdapter()); in showSharePopup() 521 ImageLabelAdapter adapter = (ImageLabelAdapter) parent.getAdapter(); in showSharePopup() [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
D | SwipeHelper.java | 217 View parent = (View) button.getParent(); in onInterceptTouchEvent() local 218 while (parent != null) { in onInterceptTouchEvent() 219 left += parent.getLeft(); in onInterceptTouchEvent() 220 top += parent.getTop(); in onInterceptTouchEvent() 221 if (parent.getParent() == parent.getRootView()) { in onInterceptTouchEvent() 222 parent = null; in onInterceptTouchEvent() 224 parent = (View) parent.getParent(); in onInterceptTouchEvent()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartSweepView.java | 418 final View parent = (View) getParent(); in onTouchEvent() 455 if (!parent.isActivated()) { in onTouchEvent() 456 parent.setActivated(true); in onTouchEvent() 551 final View parent = (View) getParent(); 552 return new Rect(parent.getPaddingLeft(), parent.getPaddingTop(), 553 parent.getWidth() - parent.getPaddingRight(), 554 parent.getHeight() - parent.getPaddingBottom());
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestActivity.java | 496 public ItemListHandler(IngestActivity parent) { in ItemListHandler() argument 498 mParentReference = new WeakReference<IngestActivity>(parent); in ItemListHandler() 502 IngestActivity parent = mParentReference.get(); in handleMessage() local 503 if (parent == null || !parent.mActive) in handleMessage() 507 parent.cleanupProgressDialog(); in handleMessage() 510 parent.updateProgressDialog(); in handleMessage() 513 parent.UiThreadNotifyIndexChanged(); in handleMessage() 516 parent.mPositionMappingCheckBroker.onBulkCheckedChange(); in handleMessage()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | JoinContactListAdapter.java | 143 ViewGroup parent) { in newHeaderView() argument 146 View view = inflate(R.layout.join_contact_picker_section_header, parent); in newHeaderView() 152 View view = inflate(R.layout.join_contact_picker_section_header, parent); in newHeaderView() 169 ViewGroup parent) { in newView() argument 173 return super.newView(context, partition, cursor, position, parent); in newView() 178 private View inflate(int layoutId, ViewGroup parent) { in inflate() argument 179 return LayoutInflater.from(getContext()).inflate(layoutId, parent, false); in inflate()
|
/packages/apps/Contacts/tests/src/com/android/contacts/detail/ |
D | ContactDetailDisplayUtilsTest.java | 73 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/apps/Contacts/src/com/android/contacts/editor/ |
D | LabeledEditorView.java | 100 AdapterView<?> parent, View view, int position, long id) { 105 public void onNothingSelected(AdapterView<?> parent) { 544 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 546 position, convertView, parent, android.R.layout.simple_spinner_item); in getView() 550 public View getDropDownView(int position, View convertView, ViewGroup parent) { in getDropDownView() argument 552 position, convertView, parent, android.R.layout.simple_spinner_dropdown_item); in getDropDownView() 555 private View createViewFromResource(int position, View convertView, ViewGroup parent, in createViewFromResource() argument 560 textView = (TextView) mInflater.inflate(resource, parent, false); in createViewFromResource()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutDialogFragment.java | 229 public View getView(int position, View convertView, ViewGroup parent) { in getView() argument 242 return inflateOneLine(convertView, parent, label, checked); in getView() 244 return inflateTwoLine(convertView, parent, label, collection, checked); in getView() 248 private View inflateOneLine(View convertView, ViewGroup parent, in inflateOneLine() argument 254 parent, false); in inflateOneLine() 263 private View inflateTwoLine(View convertView, ViewGroup parent, in inflateTwoLine() argument 269 parent, false); in inflateTwoLine()
|