HomeSort by relevance Sort by last modified time
    Searched refs:selection (Results 1 - 25 of 327) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/WebCore/page/chromium/
FrameChromium.cpp 40 if (selection()->isRange())
  /external/webkit/WebCore/page/
DOMSelection.cpp 46 Node* node = frame->selection()->selection().base().anchorNode();
73 return m_frame->selection()->selection();
76 static Position anchorPosition(const VisibleSelection& selection)
78 Position anchor = selection.isBaseFirst() ? selection.start() : selection.end();
82 static Position focusPosition(const VisibleSelection& selection)
84 Position focus = selection.isBaseFirst() ? selection.end() : selection.start()
218 const VisibleSelection& selection = m_frame->selection()->selection(); local
227 const VisibleSelection& selection = m_frame->selection()->selection(); local
328 SelectionController* selection = m_frame->selection(); local
352 const VisibleSelection& selection = m_frame->selection()->selection(); local
    [all...]
  /external/webkit/WebCore/editing/
RemoveFormatCommand.cpp 53 // Make a plain text string from the selection to remove formatting like tables and lists.
54 String string = plainText(frame->selection()->selection().toNormalizedRange().get());
58 Node* root = frame->selection()->rootEditableElement();
70 // If the selection was all formatting (like an empty list) the format-less text will
MoveSelectionCommand.cpp 42 VisibleSelection selection = endingSelection(); local
43 ASSERT(selection.isRange());
49 // Update the position otherwise it may become invalid after the selection is deleted.
52 Position selectionEnd = selection.end();
56 Position selectionStart = selection.start();
68 // selection is empty, leading to null deref
Editor.cpp 79 // When an event handler has moved the selection outside of a text control
80 // we should use the target control's selection for this editing operation.
83 VisibleSelection selection = m_frame->selection()->selection(); local
85 return selection;
86 // If the target is a text control, and the current selection is outside of its shadow tree,
87 // then use the saved selection for that text control.
89 Node* selectionStart = selection.start().node();
92 return static_cast<HTMLInputElement*>(target)->selection();
187 SelectionController* selection = m_frame->selection(); local
1015 RefPtr<Range> selection = selectedRange(); local
    [all...]
ModifySelectionListLevel.cpp 49 static bool getStartEndListChildren(const VisibleSelection& selection, Node*& start, Node*& end)
51 if (selection.isNone())
55 Node* startListChild = enclosingListChild(selection.start().node());
60 Node* endListChild = selection.isRange() ? enclosingListChild(selection.end().node()) : startListChild;
64 // For a range selection we want the following behavior:
79 // if the selection ends on a list item with a sublist, include the entire sublist
144 static bool canIncreaseListLevel(const VisibleSelection& selection, Node*& start, Node*& end)
146 if (!getStartEndListChildren(selection, start, end))
209 return canIncreaseListLevel(document->frame()->selection()->selection(), startListChild, endListChild)
    [all...]
  /external/webkit/WebCore/inspector/front-end/
TextPrompt.js 48 // Append a break element instead of setting textContent to make sure the selection is inside the prompt.
127 var selection = window.getSelection(); variable
128 selection.removeAllRanges();
129 selection.addRange(finalSelectionRange);
160 var selection = window.getSelection(); variable
161 selection.removeAllRanges();
162 selection.addRange(selectionRange);
177 var selection = window.getSelection(); variable
178 if (!selection.rangeCount)
181 var selectionRange = selection.getRangeAt(0)
    [all...]
  /cts/tests/appsecurity-tests/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
PermissionContentProvider.java 30 public int delete(Uri uri, String selection, String[] selectionArgs) {
51 public Cursor query(Uri uri, String[] projection, String selection,
57 public int update(Uri uri, ContentValues values, String selection,
  /frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DisabledProvider.java 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
47 public int delete(Uri uri, String selection, String[] selectionArgs) {
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
EnabledProvider.java 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
47 public int delete(Uri uri, String selection, String[] selectionArgs) {
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
  /packages/experimental/RpcPerformance/src/com/android/rpc_performance/
Provider.java 32 String selection, String[] selectionArgs,
43 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
47 public int delete(Uri uri, String selection, String[] selectionArgs) {
  /frameworks/base/core/java/android/content/
ContentProviderClient.java 47 public Cursor query(Uri url, String[] projection, String selection,
49 return mContentProvider.query(url, projection, selection, selectionArgs, sortOrder);
69 public int delete(Uri url, String selection, String[] selectionArgs)
71 return mContentProvider.delete(url, selection, selectionArgs);
75 public int update(Uri url, ContentValues values, String selection,
77 return mContentProvider.update(url, values, selection, selectionArgs);
AsyncQueryHandler.java 52 public String selection; field in class:AsyncQueryHandler.WorkerArgs
80 args.selection, args.selectionArgs,
100 args.result = resolver.update(args.uri, args.values, args.selection,
105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
154 * @param selection A filter declaring which rows to return, formatted as an
157 * @param selectionArgs You may include ?s in selection, which will be
159 * appear in the selection. The values will be bound as Strings.
165 String[] projection, String selection, String[] selectionArgs,
175 args.selection = selection;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/actions/
ExportWizardAction.java 48 IStructuredSelection selection = (IStructuredSelection)mSelection; local
51 if (selection.size() == 1) {
52 Object element = selection.getFirstElement();
70 // call the export wizard on the current selection.
72 wizard.init(mWorkbench, selection);
82 public void selectionChanged(IAction action, ISelection selection) {
83 mSelection = selection;
ExportAction.java 47 IStructuredSelection selection = (IStructuredSelection)mSelection; local
49 if (selection.size() == 1) {
50 Object element = selection.getFirstElement();
74 public void selectionChanged(IAction action, ISelection selection) {
75 mSelection = selection;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
ConfigManagerDialog.java 83 * simple class representing the tree selection with the proper types.
285 DeviceSelection selection = getSelection();
288 if (selection.device != null) {
289 dlg.setDeviceName(selection.device.getName());
290 dlg.setXDpi(selection.device.getXDpi());
291 dlg.setYDpi(selection.device.getYDpi());
293 if (selection.entry != null) {
294 dlg.setConfigName(selection.entry.getKey());
295 dlg.setConfig(selection.entry.getValue());
308 if (selection.device == null)
465 TreeSelection selection = (TreeSelection)mTreeViewer.getSelection(); local
    [all...]
  /cts/tests/src/android/content/cts/
MockContentProvider.java 83 public int delete(Uri uri, String selection, String[] selectionArgs) {
90 if (null == selection) {
92 selection = "1";
94 count = db.delete("TestTable1", selection, selectionArgs);
99 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""),
103 count = db.delete("TestTable2", selection, selectionArgs);
108 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""),
177 public Cursor query(Uri uri, String[] projection, String selection,
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
StkResponseMessage.java 35 public void setMenuSelection(int selection) {
36 this.usersMenuSelection = selection;
  /packages/apps/Gallery3D/src/com/cooliris/picasa/
TableContentProvider.java 78 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) {
88 selection = whereWithId(uri, selection);
91 // System.out.println("QUERY " + uri + " WHERE (" + selection + ")");
95 Cursor cursor = mDatabase.getReadableDatabase().query(tableName, projection, selection, selectionArgs, null, null,
151 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
161 selection = whereWithId(uri, selection);
167 int count = db.update(tableName, values, selection, selectionArgs);
173 public int delete(Uri uri, String selection, String[] selectionArgs)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
DismissAllAlarmsService.java 50 String selection = CalendarAlerts.STATE + "=" + CalendarAlerts.FIRED; local
55 resolver.update(uri, values, selection, null);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
SQLiteContentProvider.java 64 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection,
70 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs);
132 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
139 count = updateInTransaction(uri, values, selection, selectionArgs);
150 count = updateInTransaction(uri, values, selection, selectionArgs);
160 public int delete(Uri uri, String selection, String[] selectionArgs) {
167 count = deleteInTransaction(uri, selection, selectionArgs);
178 count = deleteInTransaction(uri, selection, selectionArgs);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
SQLiteContentProvider.java 69 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection,
75 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs);
137 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
144 count = updateInTransaction(uri, values, selection, selectionArgs);
155 count = updateInTransaction(uri, values, selection, selectionArgs);
165 public int delete(Uri uri, String selection, String[] selectionArgs) {
172 count = deleteInTransaction(uri, selection, selectionArgs);
183 count = deleteInTransaction(uri, selection, selectionArgs);
  /development/samples/ApiDemos/src/com/example/android/apis/view/
RadioGroup1.java 54 String selection = getString(R.string.radio_group_selection); local
57 mChoice.setText(selection + mRadioGroup.getCheckedRadioButtonId());
59 // test clearing the selection
65 String selection = getString(R.string.radio_group_selection); local
67 mChoice.setText(selection +
  /external/webkit/WebCore/page/win/
FrameWin.cpp 50 if (selection()->isRange())
  /external/svox/pico/src/com/svox/pico/providers/
SettingsProvider.java 61 public int delete(Uri uri, String selection, String[] selectionArgs) {
81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
90 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {

Completed in 847 milliseconds

1 2 3 4 5 6 7 8 91011>>