HomeSort by relevance Sort by last modified time
    Searched defs:selection (Results 76 - 100 of 303) sorted by null

1 2 34 5 6 7 8 91011>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
KeySelectionPage.java 48 * Key Selection Page. This is used when an existing keystore is used.
65 setTitle("Key alias selection");
172 int selection = -1; local
178 if (selection == -1 && alias.equalsIgnoreCase(keyAlias)) {
179 selection = count;
186 if (selection != -1) {
187 mKeyAliases.select(selection);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
TestTargetPage.java 111 // No initial selection: force the user to choose
136 // in the list, even when the selection is explicitly set to an empty
137 // array. This means the user is looking at a selection, so we need
140 // selection.
170 // pass itself as the selection event, it passes a reference to some internal
182 Object[] selection = mProjectList.getSelection(); local
183 IProject project = selection != null && selection.length == 1
184 ? ((IJavaProject) selection[0]).getProject() : null;
265 // Ensure that the user sees the page and makes a selection
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
ImageCanvas.java 169 int selection = mHorizontalScrollBar.getSelection(); local
170 int destX = -selection - mOrigin.x;
173 mOrigin.x = -selection;
181 int selection = mVerticalScrollBar.getSelection(); local
182 int destY = -selection - mOrigin.y;
185 mOrigin.y = -selection;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
ExtractStyleRefactoringTest.java 100 // Test extracting on a range selection inside an element: should extract just
101 // the attributes that overlap the selection
130 // Check extract style on a selection of elements
174 ITextSelection selection = new TextSelection(beginOffset, endOffset - beginOffset); local
176 layoutEditor, selection, null);
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
LayoutRenderer.java 92 Set<?> selection = scene.getSelectedObjects(); local
93 if (selection.size() > 0) {
94 ViewNode node = (ViewNode) selection.iterator().next();
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PhoneNumberListAdapter.java 251 final StringBuilder selection = new StringBuilder(); local
256 selection.append(Contacts.IN_VISIBLE_GROUP + "=1");
257 selection.append(" AND " + Contacts.HAS_PHONE_NUMBER + "=1");
266 break; // No selection needed.
268 break; // This adapter is always "phone only", so no selection needed either.
273 // No selection.
276 loader.setSelection(selection.toString());
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
VideoDatabase.java 123 String selection = "rowid = ?"; local
126 return query(selection, selectionArgs, columns);
147 * the selection clause to use FTS_VIRTUAL_TABLE instead of KEY_WORD (to search across
150 String selection = KEY_NAME + " MATCH ?"; local
153 return query(selection, selectionArgs, columns);
159 * @param selection The selection clause
160 * @param selectionArgs Selection arguments for "?" components in the selection
164 private Cursor query(String selection, String[] selectionArgs, String[] columns)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ChangedContacts.java 179 String selection = ContactsContract.Data.CONTACT_LAST_UPDATED_TIMESTAMP + " > ?"; local
182 selection, bindArgs, ContactsContract.Data.CONTACT_LAST_UPDATED_TIMESTAMP
194 String selection = ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP + " > ?"; local
197 selection, bindArgs, ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP +
  /frameworks/opt/vcard/java/com/android/vcard/
VCardComposer.java 258 * String selection = Data.CONTACT_ID + "=?";
261 * contentUriForRawContactsEntity, null, selection, selectionArgs, null)
277 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection
280 public boolean init(final String selection, final String[] selectionArgs) {
281 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs,
288 public boolean init(final Uri contentUri, final String selection,
290 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null);
296 * @param selection selection used with
306 public boolean init(final Uri contentUri, final String selection,
517 final String selection = Data.CONTACT_ID + "=?"; local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
AsyncQueryServiceHelper.java 59 public String selection; field in class:AsyncQueryServiceHelper.OperationInfo
123 builder.append(",\n\t selection= ");
124 builder.append(selection);
287 cursor = resolver.query(args.uri, args.projection, args.selection,
310 args.result = resolver.update(args.uri, args.values, args.selection,
316 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
DefaultVoicemailNotifier.java 291 final String selection = String.format("%s = 1 AND %s = ?", Calls.NEW, Calls.TYPE); local
296 selection, selectionArgs, Calls.DEFAULT_SORT_ORDER);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
MainPanel.java 53 private void selection(int position, boolean value) { method in class:MainPanel
155 selection(mCurrentSelected, false); method
160 selection(mCurrentSelected, true); method
168 selection(mCurrentSelected, false); method
173 selection(mCurrentSelected, true); method
184 selection(mCurrentSelected, false); method
189 selection(mCurrentSelected, true); method
197 selection(mCurrentSelected, false); method
202 selection(mCurrentSelected, true); method
212 selection(mCurrentSelected, false) method
217 selection(mCurrentSelected, true); method
    [all...]
  /packages/apps/LegacyCamera/src/com/android/camera/
Thumbnail.java 201 String selection = ImageColumns.MIME_TYPE + "='image/jpeg' AND " + local
207 cursor = resolver.query(query, projection, selection, null, order);
227 String selection = VideoColumns.BUCKET_ID + '=' + Storage.BUCKET_ID; local
232 cursor = resolver.query(query, projection, selection, null, order);
  /packages/apps/Messaging/src/com/android/messaging/util/
ContactUtil.java 390 String selection = ContactsContract.Data.MIMETYPE + "=?"; local
395 selection += " AND " + Contacts.DISPLAY_NAME_PRIMARY + "="
400 StructuredNameQuery.PROJECTION, selection, selectionArgs, null);
  /packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
SourceLatency.java 189 // get the query selection, may be null
190 String selection = searchable.getSuggestSelection(); local
191 // inject query, either as selection args or inline
193 if (selection != null) { // use selection if provided
195 } else { // no selection, use REST pattern
207 return getContentResolver().query(uri, null, selection, selArgs, null);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/
ReferenceChooserDialog.java 115 // get the selection
138 // setup the initial selection
226 * @return the <code>TreePath</code> object or <code>null</code> if there was no selection.
229 ISelection selection = mFilteredTree.getViewer().getSelection(); local
230 if (selection instanceof TreeSelection) {
231 TreeSelection treeSelection = (TreeSelection)selection;
234 // the selection mode is SWT.SINGLE, so we just get the first one.
269 * Updates the new res button when the list selection changes.
324 TreePath selection = getSelection(); local
325 if (selection != null && selection.getSegmentCount() > 0)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
HyperlinksTest.java 253 Point selection = null; local
258 selection = xmlEditor.getStructuredSourceViewer().getSelectedRange();
270 selection = textViewer.getSelectedRange();
289 selection = new Point(range.getOffset(), range.getLength());
295 if (document != null && selection != null) {
296 int lineStart = document.getLineInformationOfOffset(selection.x).getOffset();
297 IRegion lineEndInfo = document.getLineInformationOfOffset(selection.x + selection.y);
300 int selectionStart = selection.x - lineStart;
301 int selectionEnd = selectionStart + selection.y
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_TestDataBuilder.java 168 StringBuilder selection = new StringBuilder(); local
175 if (selection.length() != 0) {
176 selection.append(" AND ");
179 selection.append(column);
181 selection.append(" NOT NULL");
183 selection.append("=?");
188 selection.toString(),
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
BarPlotExampleActivity.java 97 private Pair<Integer, XYSeries> selection; field in class:BarPlotExampleActivity
117 // add a dark, semi-transparent background to the selection label widget:
319 selection = null;
323 // find the closest value to the selection:
333 if (selection == null) {
334 selection = new Pair<Integer, XYSeries>(i, series);
338 selection = new Pair<Integer, XYSeries>(i, series);
344 selection = new Pair<Integer, XYSeries>(i, series);
354 selection = null;
357 if(selection == null)
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ContentResolverTest.java 158 String selection = "select"; local
165 Cursor cursor = shadowContentResolver.query(uri21, projection, selection, selectionArgs, sortOrder);
169 assertThat(testCursor.selection, equalTo(selection));
325 @Override public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
331 @Override public int delete(Uri uri, String selection, String[] selectionArgs) {
334 @Override public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
358 public String selection; field in class:ContentResolverTest.QueryParamTrackingTestCursor
363 public void setQuery(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
366 this.selection = selection
    [all...]
  /frameworks/base/core/java/android/content/
ContentProviderNative.java 95 // String selection, String[] selectionArgs...
96 String selection = data.readString(); local
112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs,
203 String selection = data.readString(); local
206 int count = delete(callingPkg, url, selection, selectionArgs);
219 String selection = data.readString(); local
222 int count = update(callingPkg, url, values, selection, selectionArgs);
386 public Cursor query(String callingPkg, Uri url, String[] projection, String selection,
405 data.writeString(selection);
530 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs
    [all...]
  /frameworks/opt/chips/src/com/android/ex/chips/
RecipientAlternatesAdapter.java 387 final StringBuilder selection = new StringBuilder(); local
388 selection.append(Queries.EMAIL.getProjection()[Queries.Query.CONTACT_ID]);
389 selection.append(" = ?");
405 selection.toString(), new String[] {
410 final StringBuilder selection = new StringBuilder(); local
411 selection.append(Queries.PHONE.getProjection()[Queries.Query.CONTACT_ID]);
412 selection.append(" = ?");
428 selection.toString(), new String[] {
  /packages/apps/Calendar/src/com/android/calendar/alerts/
AlertActivity.java 84 private static final String SELECTION = CalendarAlerts.STATE + "=?";
99 String selection = CalendarAlerts.STATE + "=" + CalendarAlerts.STATE_FIRED; local
101 selection, null /* selectionArgs */, Utils.UNDO_DELAY);
128 String selection = CalendarAlerts._ID + "=" + id; local
130 selection, null /* selectionArgs */, Utils.UNDO_DELAY);
236 mQueryHandler.startQuery(0, null, uri, PROJECTION, SELECTION, SELECTIONARG,
  /packages/apps/Calendar/src/com/android/calendar/event/
AttendeesView.java 351 String selection = null; local
356 selection = Data.MIMETYPE + "=? AND " + Identity.IDENTITY + "=? AND " +
365 mPresenceQueryHandler.startQuery(item.mUpdateCounts + 1, item, uri, PROJECTION, selection,
  /packages/apps/DeskClock/src/com/android/deskclock/
HandleApiCalls.java 204 final String selection = String.format("%s=?", Alarm.ENABLED); local
206 return Alarm.getAlarms(context.getContentResolver(), selection, args);
288 final StringBuilder selection = new StringBuilder(); local
290 setSelectionFromIntent(intent, hour, minutes, selection, args);
433 StringBuilder selection,
435 selection.append(Alarm.HOUR).append("=?");
437 selection.append(" AND ").append(Alarm.MINUTES).append("=?");
441 selection.append(" AND ").append(Alarm.LABEL).append("=?");
447 selection.append(" AND ").append(Alarm.DAYS_OF_WEEK).append("=?");
452 selection.append(" AND ").append(Alarm.VIBRATE).append("=?")
    [all...]

Completed in 1309 milliseconds

1 2 34 5 6 7 8 91011>>