Searched refs:id (Results 101 - 125 of 1376) sorted by relevance

1234567891011>>

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/
H A DBasicParameterInt.java44 public BasicParameterInt(int id, int value) { argument
45 ID = id;
49 public BasicParameterInt(int id, int value, int min, int max) { argument
50 ID = id;
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DMockLogger.java31 public void logSuggestionClick(long id, argument
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
H A DProviderPerfActivity.java105 setButtonAction(R.id.file_read_button, new Runnable() {
108 endAsyncOp(R.id.file_read_button, R.id.file_read_text, avgTime);
111 setButtonAction(R.id.file_write_button, new Runnable() {
114 endAsyncOp(R.id.file_write_button, R.id.file_write_text, avgTime);
117 setButtonAction(R.id.settings_read_button, new Runnable() {
120 endAsyncOp(R.id.settings_read_button, R.id.settings_read_text, avgTime);
123 setButtonAction(R.id
278 setTextTime(int id, float avgTime) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
H A DUserUtils.java69 Log.v(TAG, "Enterprise caller-id disabled.");
79 final UserInfo parent = um.getProfileParent(ui.id);
84 if (parent.id == myUser) {
86 Log.v(TAG, "Corp user=" + ui.id);
88 return ui.id;
/packages/apps/Email/tests/src/com/android/email/
H A DVendorPolicyLoaderTest.java116 String id = pl.getImapIdValues("user-name", "server.yahoo.com",
119 if (id == null) return;
122 assertEquals("\"", id.charAt(0));
123 assertEquals("\"", id.charAt(id.length()-1));
125 String[] elements = id.split("\"");
153 assertNull(p.id);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DBasicEditor.java34 public static int ID = R.id.basicEditor;
38 super(ID, R.layout.filtershow_default_editor, R.id.basicEditor);
41 protected BasicEditor(int id) { argument
42 super(id, R.layout.filtershow_default_editor, R.id.basicEditor);
45 protected BasicEditor(int id, int layoutID, int viewID) { argument
46 super(id, layoutID, viewID);
H A DEditorVignette.java40 public static final int ID = R.id.vignetteEditor;
72 super(ID, R.layout.filtershow_vignette_editor, R.id.imageVignette);
157 mButton = (SwapButton) accessoryViewList.findViewById(R.id.applyEffect);
210 mVignetteBar = (SeekBar) controls.findViewById(R.id.mainVignetteSeekbar);
213 mVignetteValue = (TextView) controls.findViewById(R.id.mainVignetteValue);
214 mExposureBar = (SeekBar) controls.findViewById(R.id.exposureSeekBar);
217 mExposureValue = (TextView) controls.findViewById(R.id.exposureValue);
218 mSaturationBar = (SeekBar) controls.findViewById(R.id.saturationSeekBar);
221 mSaturationValue = (TextView) controls.findViewById(R.id.saturationValue);
222 mContrastBar = (SeekBar) controls.findViewById(R.id
232 getParameterIndex(int id) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DDebugFragment.java56 final CheckBox enableDebugLoggingView = UiUtilities.getView(view, R.id.debug_logging);
59 final CheckBox enableVerboseLoggingView = UiUtilities.getView(view, R.id.verbose_logging);
60 final CheckBox enableFileLoggingView = UiUtilities.getView(view, R.id.file_logging);
75 UiUtilities.getView(view, R.id.clear_webview_cache).setOnClickListener(this);
78 UiUtilities.getView(view, R.id.debug_enable_strict_mode);
88 case R.id.debug_logging:
93 case R.id.verbose_logging:
97 case R.id.file_logging:
101 case R.id.debug_enable_strict_mode:
113 case R.id
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DOpenDownloadReceiver.java54 final long id = ids[0];
59 onReceiveAsync(context, id);
66 private void onReceiveAsync(Context context, long id) { argument
69 Uri uri = manager.getUriForDownloadedFile(id);
75 launchIntent.setDataAndType(uri, manager.getMimeTypeForDownloadedFile(id));
H A DPreloadRequestReceiver.java98 String id = i.getStringExtra(EXTRA_PRELOAD_ID);
100 if (id == null) {
105 if (LOGD_ENABLED) Log.d(LOGTAG, "Got " + id + " preload discard request");
106 Preloader.getInstance().discardPreload(id);
108 if (LOGD_ENABLED) Log.d(LOGTAG, "Got " + id + " searchbox cancel request");
109 Preloader.getInstance().cancelSearchBoxPreload(id);
111 if (LOGD_ENABLED) Log.d(LOGTAG, "Got " + id + " preload request for " + url);
126 Log.d(LOGTAG, "Preload request(" + id + ", " + url + ", " +
129 Preloader.getInstance().handlePreloadRequest(id, url, headers, sbQuery);
H A DBrowserSnapshotPage.java95 mEmpty = view.findViewById(android.R.id.empty);
96 mGrid = (GridView) view.findViewById(R.id.grid);
123 public Loader<Cursor> onCreateLoader(int id, Bundle args) { argument
124 if (id == LOADER_SNAPSHOTS) {
185 if (item.getItemId() == R.id.delete_context_menu_id) {
187 deleteSnapshot(info.id);
193 void deleteSnapshot(long id) { argument
194 final Uri uri = ContentUris.withAppendedId(Snapshots.CONTENT_URI, id);
207 long id) {
208 mCallback.openSnapshot(id);
206 onItemClick(AdapterView<?> parent, View view, int position, long id) argument
246 animateIn(long id) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DViewIdGenerator.java30 * It is used to assign a unique but consistent id to each view across {@link EditContactActivity}'s
63 * Returns an id for a view associated with specified contact field.
75 int id = mIdMap.getInt(k, INVALID_VIEW_ID);
76 if (id == INVALID_VIEW_ID) {
77 // Make sure the new id won't conflict with auto-generated ids by masking with 0xffff.
78 id = (mNextId++) & 0xFFFF;
79 mIdMap.putInt(k, id);
81 return id;
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DExportVCardActivity.java74 showDialog(R.id.dialog_fail_to_export_with_reason);
80 showDialog(R.id.dialog_fail_to_export_with_reason);
87 showDialog(R.id.dialog_export_confirmation);
155 showDialog(R.id.dialog_sdcard_not_found);
164 showDialog(R.id.dialog_sdcard_not_found);
176 showDialog(R.id.dialog_fail_to_export_with_reason);
183 showDialog(R.id.dialog_fail_to_export_with_reason);
207 showDialog(R.id.dialog_fail_to_export_with_reason);
212 protected Dialog onCreateDialog(int id, Bundle bundle) { argument
213 switch (id) {
256 onPrepareDialog(int id, Dialog dialog, Bundle args) argument
[all...]
/packages/apps/Dialer/tests/src/com/android/dialer/list/
H A DPhoneFavoritesTileAdapterTest.java70 // The only field that really matters for testing is the contact id.
89 * @param id Non-negative id
92 private ContactEntry getTestContactEntry(int id, boolean isFavorite) { argument
94 contactEntry.id = id;
103 assertEquals(expected.get(i).id, actual.get(i).id);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DPresetManagementDialog.java41 mEditText = (EditText) view.findViewById(R.id.editView);
42 view.findViewById(R.id.cancel).setOnClickListener(this);
43 view.findViewById(R.id.ok).setOnClickListener(this);
52 case R.id.cancel:
58 case R.id.ok:
/packages/apps/Gallery2/src/com/android/photos/
H A DMultiChoiceManager.java109 public void onItemCheckedStateChanged(ActionMode mode, int position, long id, argument
134 MenuItem editItem = menu.findItem(R.id.menu_edit);
135 MenuItem deleteItem = menu.findItem(R.id.menu_delete);
136 MenuItem shareItem = menu.findItem(R.id.menu_share);
137 MenuItem cropItem = menu.findItem(R.id.menu_crop);
138 MenuItem trimItem = menu.findItem(R.id.menu_trim);
139 MenuItem muteItem = menu.findItem(R.id.menu_mute);
140 MenuItem setAsItem = menu.findItem(R.id.menu_set_as);
157 MenuItem menuItem = menu.findItem(R.id.menu_share);
210 case R.id
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppViewHolder.java31 holder.appName = (TextView) convertView.findViewById(R.id.app_name);
32 holder.appIcon = (ImageView) convertView.findViewById(R.id.app_icon);
33 holder.appSize = (TextView) convertView.findViewById(R.id.app_size);
34 holder.disabled = (TextView) convertView.findViewById(R.id.app_disabled);
35 holder.checkBox = (CheckBox) convertView.findViewById(R.id.app_on_sdcard);
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
H A DPhoneService.java35 public static final String EXTRA_ID = "id";
57 final int id = intent.getIntExtra(EXTRA_ID, -1);
62 if (id >= 0) {
65 noMa.cancel(NotificationService.NOTIFICATION_ID + id);
72 public static PendingIntent getPendingIntent(Context context, int id, String action) { argument
76 phoneIntent.putExtra(EXTRA_ID, id);
/packages/apps/CellBroadcastReceiver/tests/src/com/android/cellbroadcastreceiver/tests/
H A DSendTestBroadcastActivity.java59 EditText messageIdField = (EditText) findViewById(R.id.message_id);
79 EditText categoryField = (EditText) findViewById(R.id.category_id);
95 EditText messageIdField = (EditText) findViewById(R.id.message_id);
99 EditText categoryIdField = (EditText) findViewById(R.id.category_id);
103 Button etwsNormalTypeButton = (Button) findViewById(R.id.button_etws_normal_type);
117 Button etwsCancelTypeButton = (Button) findViewById(R.id.button_etws_cancel_type);
131 Button etwsTestTypeButton = (Button) findViewById(R.id.button_etws_test_type);
145 Button cmasPresAlertButton = (Button) findViewById(R.id.button_cmas_pres_alert);
159 Button cmasExtremeAlertButton = (Button) findViewById(R.id.button_cmas_extreme_alert);
173 Button cmasSevereAlertButton = (Button) findViewById(R.id
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherClings.java65 int id = v.getId();
66 if (id == R.id.cling_dismiss_migration_use_default) {
69 } else if (id == R.id.cling_dismiss_migration_copy_apps) {
84 } else if (id == R.id.cling_dismiss_longpress_info) {
98 ViewGroup root = (ViewGroup) mLauncher.findViewById(R.id.launcher);
100 inflated.findViewById(R.id.cling_dismiss_migration_copy_apps).setOnClickListener(this);
101 inflated.findViewById(R.id
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardId.java96 private static int computeHashCode(final KeyboardId id) { argument
98 id.mElementId,
99 id.mMode,
100 id.mWidth,
101 id.mHeight,
102 id.passwordInput(),
103 id.mClobberSettingsKey,
104 id.mHasShortcutKey,
105 id.mLanguageSwitchKeyEnabled,
106 id
[all...]
/packages/apps/Settings/src/com/android/settings/wifi/
H A DWifiConfigController.java179 mIpSettingsSpinner = (Spinner) mView.findViewById(R.id.ip_settings);
181 mProxySettingsSpinner = (Spinner) mView.findViewById(R.id.proxy_settings);
187 mSsidView = (TextView) mView.findViewById(R.id.ssid);
189 mSecuritySpinner = ((Spinner) mView.findViewById(R.id.security));
192 mView.findViewById(R.id.type_ssid).setVisibility(View.VISIBLE);
193 mView.findViewById(R.id.type_security).setVisibility(View.VISIBLE);
197 R.layout.wifi_setup_custom_list_item_1, android.R.id.text1,
201 mView.findViewById(R.id.type).setVisibility(View.VISIBLE);
206 mView.findViewById(R.id.wifi_advanced_toggle).setVisibility(View.VISIBLE);
207 ((CheckBox)mView.findViewById(R.id
894 setVisibility(int id, int visibility) argument
977 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetService.java43 int id = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
49 id, type, albumPath);
62 public PhotoRVFactory(GalleryApp app, int id, int type, String albumPath) { argument
64 mAppWidgetId = id;
79 mAppWidgetId, R.id.appwidget_stack_view);
113 rv.setProgressBar(R.id.appwidget_loading_item, 0, 0, true);
124 views.setImageViewBitmap(R.id.appwidget_photo_item, bitmap);
125 views.setOnClickFillInIntent(R.id.appwidget_photo_item, new Intent()
140 mAppWidgetId, R.id.appwidget_stack_view);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DRotateDialogController.java61 mDialogRootLayout = v.findViewById(R.id.rotate_dialog_root_layout);
62 mRotateDialog = (RotateLayout) v.findViewById(R.id.rotate_dialog_layout);
63 mRotateDialogTitleLayout = v.findViewById(R.id.rotate_dialog_title_layout);
64 mRotateDialogButtonLayout = v.findViewById(R.id.rotate_dialog_button_layout);
65 mRotateDialogTitle = (TextView) v.findViewById(R.id.rotate_dialog_title);
66 mRotateDialogSpinner = (ProgressBar) v.findViewById(R.id.rotate_dialog_spinner);
67 mRotateDialogText = (TextView) v.findViewById(R.id.rotate_dialog_text);
68 mRotateDialogButton1 = (Button) v.findViewById(R.id.rotate_dialog_button1);
69 mRotateDialogButton2 = (Button) v.findViewById(R.id.rotate_dialog_button2);
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetConversationListItemViewBuilder.java75 return R.id.widget_folder_0;
77 return R.id.widget_folder_1;
79 return R.id.widget_folder_2;
185 remoteViews.setTextViewText(R.id.widget_senders, senders);
186 remoteViews.setTextViewText(R.id.widget_date, styledDate);
187 remoteViews.setTextViewText(R.id.widget_subject, styledSubject);
188 remoteViews.setTextViewText(R.id.widget_snippet, styledSnippet);
190 remoteViews.setViewVisibility(R.id.widget_attachment, View.VISIBLE);
191 remoteViews.setImageViewBitmap(R.id.widget_attachment, paperclipBitmap);
193 remoteViews.setViewVisibility(R.id
[all...]

Completed in 776 milliseconds

1234567891011>>