Home
last modified time | relevance | path

Searched refs:chooser (Results 1 – 25 of 40) sorted by relevance

12

/external/proguard/src/proguard/gui/
DClassPathPanel.java42 private final JFileChooser chooser; field in ClassPathPanel
57 chooser = new JFileChooser(""); in ClassPathPanel()
58 chooser.setMultiSelectionEnabled(true); in ClassPathPanel()
59 chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES); in ClassPathPanel()
60 chooser.addChoosableFileFilter( in ClassPathPanel()
63 chooser.setApproveButtonText(msg("ok")); in ClassPathPanel()
93 chooser.setDialogTitle(msg("addJars")); in addAddButton()
94 chooser.setSelectedFile(null); in addAddButton()
95 chooser.setSelectedFiles(null); in addAddButton()
97 int returnValue = chooser.showOpenDialog(owner); in addAddButton()
[all …]
/external/chromium_org/ppapi/api/dev/
Dppb_file_chooser_dev.idl20 * chooser dialog.
36 * This function creates a file chooser dialog resource. The chooser is
43 * the behavior of the file chooser dialog.
53 * @return A <code>PP_Resource</code> containing the file chooser if
62 * Determines if the provided resource is a file chooser.
68 * resource is a file chooser resource, otherwise <code>PP_FALSE</code>.
74 * This function displays a previously created file chooser resource as a
89 * have switched tabs and will not want to see a file chooser from a
92 * @param[in] chooser The file chooser resource.
94 * the user has closed the file chooser dialog.
[all …]
/external/chromium_org/ppapi/api/trusted/
Dppb_file_chooser_trusted.idl21 * This function displays a previously created file chooser resource as a
27 * @param[in] chooser The file chooser resource.
33 * the user has closed the file chooser dialog.
40 [in] PP_Resource chooser,
46 * This function displays a previously created file chooser resource as a
52 * @param[in] chooser The file chooser resource.
58 * the user has closed the file chooser dialog.
65 [in] PP_Resource chooser,
/external/chromium_org/ppapi/thunk/
Dppb_file_chooser_dev_thunk.cc38 int32_t Show_0_5(PP_Resource chooser, struct PP_CompletionCallback callback) { in Show_0_5() argument
40 EnterResource<PPB_FileChooser_API> enter(chooser, callback, true); in Show_0_5()
46 PP_Resource GetNextChosenFile(PP_Resource chooser) { in GetNextChosenFile() argument
48 EnterResource<PPB_FileChooser_API> enter(chooser, true); in GetNextChosenFile()
54 int32_t Show(PP_Resource chooser, in Show() argument
58 EnterResource<PPB_FileChooser_API> enter(chooser, callback, true); in Show()
Dppb_file_chooser_trusted_thunk.cc23 int32_t ShowWithoutUserGesture_0_5(PP_Resource chooser, in ShowWithoutUserGesture_0_5() argument
28 EnterResource<PPB_FileChooser_API> enter(chooser, callback, true); in ShowWithoutUserGesture_0_5()
37 int32_t ShowWithoutUserGesture(PP_Resource chooser, in ShowWithoutUserGesture() argument
43 EnterResource<PPB_FileChooser_API> enter(chooser, callback, true); in ShowWithoutUserGesture()
/external/chromium_org/third_party/WebKit/Source/web/
DExternalDateTimeChooser.cpp44 WebDateTimeChooserCompletionImpl(ExternalDateTimeChooser* chooser) in WebDateTimeChooserCompletionImpl() argument
45 : m_chooser(chooser) in WebDateTimeChooserCompletionImpl()
84 RefPtr<ExternalDateTimeChooser> chooser = adoptRef(new ExternalDateTimeChooser(client)); in create() local
85 if (!chooser->openDateTimeChooser(chromeClient, webViewClient, parameters)) in create()
86 chooser.clear(); in create()
87 return chooser.release(); in create()
DWebFileChooserCompletionImpl.cpp36 WebFileChooserCompletionImpl::WebFileChooserCompletionImpl(PassRefPtr<WebCore::FileChooser> chooser) in WebFileChooserCompletionImpl() argument
37 : m_fileChooser(chooser) in WebFileChooserCompletionImpl()
DWebFileChooserCompletionImpl.h48 WebFileChooserCompletionImpl(PassRefPtr<WebCore::FileChooser> chooser);
/external/chromium_org/third_party/skia/src/images/
DSkImageDecoder.cpp106 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser* chooser) { in setChooser() argument
107 SkRefCnt_SafeAssign(fChooser, chooser); in setChooser()
108 return chooser; in setChooser()
125 Chooser* chooser = fChooser; in chooseFromOneChoice() local
127 if (NULL == chooser) { // no chooser, we just say YES to decoding :) in chooseFromOneChoice()
130 chooser->begin(1); in chooseFromOneChoice()
131 chooser->inspect(0, config, width, height); in chooseFromOneChoice()
132 return chooser->choose() == 0; in chooseFromOneChoice()
DSkImageDecoder_libico.cpp98 Chooser* chooser = this->getChooser(); in onDecode() local
101 if (NULL == chooser) { in onDecode()
104 chooser->begin(count); in onDecode()
133 chooser->inspect(i, c, width, height); in onDecode()
135 choice = chooser->choose(); in onDecode()
/external/skia/src/images/
DSkImageDecoder.cpp106 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser* chooser) { in setChooser() argument
107 SkRefCnt_SafeAssign(fChooser, chooser); in setChooser()
108 return chooser; in setChooser()
125 Chooser* chooser = fChooser; in chooseFromOneChoice() local
127 if (NULL == chooser) { // no chooser, we just say YES to decoding :) in chooseFromOneChoice()
130 chooser->begin(1); in chooseFromOneChoice()
131 chooser->inspect(0, config, width, height); in chooseFromOneChoice()
132 return chooser->choose() == 0; in chooseFromOneChoice()
DSkImageDecoder_libico.cpp98 Chooser* chooser = this->getChooser(); in onDecode() local
101 if (NULL == chooser) { in onDecode()
104 chooser->begin(count); in onDecode()
133 chooser->inspect(i, c, width, height); in onDecode()
135 choice = chooser->choose(); in onDecode()
/external/chromium_org/ppapi/c/dev/
Dppb_file_chooser_dev.h122 int32_t (*Show)(PP_Resource chooser,
134 int32_t (*Show)(PP_Resource chooser, struct PP_CompletionCallback callback);
135 PP_Resource (*GetNextChosenFile)(PP_Resource chooser);
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/
DColorChooserAndroid.java54 ColorChooserAndroid chooser = new ColorChooserAndroid(nativeColorChooserAndroid, in createColorChooserAndroid() local
56 chooser.openColorChooser(); in createColorChooserAndroid()
57 return chooser; in createColorChooserAndroid()
/external/jmonkeyengine/engine/src/test/jme3test/audio/
DTestMusicPlayer.java168 JFileChooser chooser = new JFileChooser(); in btnOpenActionPerformed() local
169 chooser.setAcceptAllFileFilterUsed(true); in btnOpenActionPerformed()
170 chooser.setDialogTitle("Select OGG file"); in btnOpenActionPerformed()
171 chooser.setFileSelectionMode(JFileChooser.FILES_ONLY); in btnOpenActionPerformed()
172 chooser.setMultiSelectionEnabled(false); in btnOpenActionPerformed()
173 if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION){ in btnOpenActionPerformed()
176 final File selected = chooser.getSelectedFile(); in btnOpenActionPerformed()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DDateTimeChooserAndroid.java53 DateTimeChooserAndroid chooser = in createDateTimeChooser() local
57 chooser.showDialog(dialogType, dialogValue, min, max, step, suggestions); in createDateTimeChooser()
58 return chooser; in createDateTimeChooser()
/external/chromium_org/content/renderer/pepper/
Dpepper_file_chooser_host_unittest.cc74 PepperFileChooserHost chooser(&host, pp_instance(), pp_resource); in TEST_F() local
85 int32 result = chooser.OnResourceMessageReceived(show_msg, &context); in TEST_F()
137 PepperFileChooserHost chooser(&host, pp_instance(), pp_resource); in TEST_F() local
148 int32 result = chooser.OnResourceMessageReceived(show_msg, &context); in TEST_F()
/external/chromium_org/ppapi/c/trusted/
Dppb_file_chooser_trusted.h54 int32_t (*ShowWithoutUserGesture)(PP_Resource chooser,
64 int32_t (*ShowWithoutUserGesture)(PP_Resource chooser,
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DIntentHelper.java72 Intent chooser = Intent.createChooser(send, chooserTitle); in sendEmail() local
74 chooser.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in sendEmail()
75 context.startActivity(chooser); in sendEmail()
/external/chromium/chrome/browser/ui/gtk/
Ddialogs_gtk.cc57 void AddFilters(GtkFileChooser* chooser);
257 void SelectFileDialogImpl::AddFilters(GtkFileChooser* chooser) { in AddFilters() argument
291 gtk_file_chooser_add_filter(chooser, filter); in AddFilters()
293 gtk_file_chooser_set_filter(chooser, filter); in AddFilters()
303 gtk_file_chooser_add_filter(chooser, filter); in AddFilters()
571 void SelectFileDialogImpl::OnUpdatePreview(GtkWidget* chooser) { in OnUpdatePreview() argument
573 GTK_FILE_CHOOSER(chooser)); in OnUpdatePreview()
584 gtk_file_chooser_set_preview_widget_active(GTK_FILE_CHOOSER(chooser), in OnUpdatePreview()
/external/chromium_org/ui/shell_dialogs/gtk/
Dselect_file_dialog_impl_gtk.cc64 void AddFilters(GtkFileChooser* chooser);
237 void SelectFileDialogImplGTK::AddFilters(GtkFileChooser* chooser) { in AddFilters() argument
276 gtk_file_chooser_add_filter(chooser, filter); in AddFilters()
278 gtk_file_chooser_set_filter(chooser, filter); in AddFilters()
288 gtk_file_chooser_add_filter(chooser, filter); in AddFilters()
570 void SelectFileDialogImplGTK::OnUpdatePreview(GtkWidget* chooser) { in OnUpdatePreview() argument
572 GTK_FILE_CHOOSER(chooser)); in OnUpdatePreview()
583 gtk_file_chooser_set_preview_widget_active(GTK_FILE_CHOOSER(chooser), in OnUpdatePreview()
/external/chromium_org/ui/android/java/src/org/chromium/ui/base/
DSelectFileDialog.java60 Intent chooser = new Intent(Intent.ACTION_CHOOSER); in selectFile() local
106 chooser.putExtra(Intent.EXTRA_INITIAL_INTENTS, in selectFile()
109 chooser.putExtra(Intent.EXTRA_INTENT, getContentIntent); in selectFile()
111 if (!window.showIntent(chooser, this, R.string.low_memory_error)) { in selectFile()
/external/chromium_org/chrome/browser/ui/cocoa/
Dcolor_chooser_mac.mm26 - (id)initWithChooser:(ColorChooserMac*)chooser;
54 // The web contents invoking the color chooser. No ownership because it will
109 - (id)initWithChooser:(ColorChooserMac*)chooser {
111 chooser_ = chooser;
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dselect_file_dialog_impl_gtk2.cc97 void AddFilters(GtkFileChooser* chooser);
281 void SelectFileDialogImplGTK::AddFilters(GtkFileChooser* chooser) { in AddFilters() argument
320 gtk_file_chooser_add_filter(chooser, filter); in AddFilters()
322 gtk_file_chooser_set_filter(chooser, filter); in AddFilters()
332 gtk_file_chooser_add_filter(chooser, filter); in AddFilters()
614 void SelectFileDialogImplGTK::OnUpdatePreview(GtkWidget* chooser) { in OnUpdatePreview() argument
616 GTK_FILE_CHOOSER(chooser)); in OnUpdatePreview()
627 gtk_file_chooser_set_preview_widget_active(GTK_FILE_CHOOSER(chooser), in OnUpdatePreview()
/external/chromium_org/ppapi/cpp/dev/
Dfile_chooser_dev.cc75 const PPB_FileChooser_Dev_0_5* chooser = in CallbackConverter() local
77 while (PP_Resource cur = chooser->GetNextChosenFile(data->file_chooser)) in CallbackConverter()

12