Home
last modified time | relevance | path

Searched refs:chooser (Results 1 – 25 of 31) 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/skia/legacy/src/images/
DSkImageDecoder.cpp67 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser* chooser) { in setChooser() argument
68 SkRefCnt_SafeAssign(fChooser, chooser); in setChooser()
69 return chooser; in setChooser()
91 Chooser* chooser = fChooser; in chooseFromOneChoice() local
93 if (NULL == chooser) { // no chooser, we just say YES to decoding :) in chooseFromOneChoice()
96 chooser->begin(1); in chooseFromOneChoice()
97 chooser->inspect(0, config, width, height); in chooseFromOneChoice()
98 return chooser->choose() == 0; in chooseFromOneChoice()
DSkImageDecoder_libico.cpp100 Chooser* chooser = this->getChooser(); in onDecode() local
103 if (NULL == chooser) { in onDecode()
106 chooser->begin(count); in onDecode()
135 chooser->inspect(i, c, width, height); in onDecode()
137 choice = chooser->choose(); in onDecode()
/external/skia/src/images/
DSkImageDecoder.cpp71 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser* chooser) { in setChooser() argument
72 SkRefCnt_SafeAssign(fChooser, chooser); in setChooser()
73 return chooser; in setChooser()
95 Chooser* chooser = fChooser; in chooseFromOneChoice() local
97 if (NULL == chooser) { // no chooser, we just say YES to decoding :) in chooseFromOneChoice()
100 chooser->begin(1); in chooseFromOneChoice()
101 chooser->inspect(0, config, width, height); in chooseFromOneChoice()
102 return chooser->choose() == 0; in chooseFromOneChoice()
DSkImageDecoder_libico.cpp100 Chooser* chooser = this->getChooser(); in onDecode() local
103 if (NULL == chooser) { in onDecode()
106 chooser->begin(count); in onDecode()
135 chooser->inspect(i, c, width, height); in onDecode()
137 choice = chooser->choose(); in onDecode()
/external/webkit/Source/WebCore/platform/
DFileChooser.cpp55 RefPtr<FileChooser> chooser(adoptRef(new FileChooser(client, initialFilenames))); in create() local
56 chooser->initialize(); in create()
57 return chooser; in create()
/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/webkit/Source/WebKit/chromium/src/
DWebIconLoadingCompletionImpl.cpp42 WebIconLoadingCompletionImpl::WebIconLoadingCompletionImpl(FileChooser* chooser) in WebIconLoadingCompletionImpl() argument
43 : m_fileChooser(chooser) in WebIconLoadingCompletionImpl()
DWebFileChooserCompletionImpl.cpp36 WebFileChooserCompletionImpl::WebFileChooserCompletionImpl(PassRefPtr<WebCore::FileChooser> chooser) in WebFileChooserCompletionImpl() argument
37 : m_fileChooser(chooser) in WebFileChooserCompletionImpl()
DWebFileChooserCompletionImpl.h49 WebFileChooserCompletionImpl(PassRefPtr<WebCore::FileChooser> chooser);
/external/webkit/Source/WebKit/efl/WebCoreSupport/
DChromeClientEfl.cpp429 RefPtr<FileChooser> chooser = prpFileChooser; in runOpenPanel() local
436 for (unsigned i = 0; i < chooser->filenames().size(); i++) { in runOpenPanel()
437 CString str = chooser->filenames()[i].utf8(); in runOpenPanel()
442 …confirm = ewk_view_run_open_panel(m_view, kit(frame), chooser->allowsMultipleFiles(), suggestedFil… in runOpenPanel()
454 if (chooser->allowsMultipleFiles()) in runOpenPanel()
455 chooser->chooseFiles(filenames); in runOpenPanel()
457 chooser->chooseFile(filenames[0]); in runOpenPanel()
/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/webkit/Source/WebKit/gtk/WebCoreSupport/
DChromeClientGtk.cpp614 RefPtr<FileChooser> chooser = prpFileChooser; in runOpenPanel() local
623 gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), chooser->allowsMultipleFiles()); in runOpenPanel()
636 chooser->chooseFiles(names); in runOpenPanel()
640 chooser->chooseFile(filenameToString(filename)); in runOpenPanel()
647 …romeClient::chooseIconForFiles(const Vector<WTF::String>& filenames, WebCore::FileChooser* chooser) in chooseIconForFiles() argument
649 chooser->iconLoaded(Icon::createIconForFiles(filenames)); in chooseIconForFiles()
/external/webkit/Source/WebKit/wince/WebCoreSupport/
DChromeClientWinCE.cpp353 void ChromeClientWinCE::chooseIconForFiles(const Vector<String>& filenames, FileChooser* chooser) in chooseIconForFiles() argument
355 chooser->iconLoaded(Icon::createIconForFiles(filenames)); in chooseIconForFiles()
/external/webkit/Source/WebKit/haiku/WebCoreSupport/
DChromeClientHaiku.cpp374 void ChromeClientHaiku::chooseIconForFiles(const Vector<String>& filenames, FileChooser* chooser) in chooseIconForFiles() argument
376 chooser->iconLoaded(Icon::createIconForFiles(filenames)); in chooseIconForFiles()
/external/webkit/Source/WebKit/wx/WebKitSupport/
DChromeClientWx.cpp458 void ChromeClientWx::chooseIconForFiles(const Vector<String>& filenames, FileChooser* chooser) in chooseIconForFiles() argument
460 chooser->iconLoaded(Icon::createIconForFiles(filenames)); in chooseIconForFiles()
/external/webkit/Source/WebCore/rendering/
DRenderFileUploadControl.cpp132 void RenderFileUploadControl::chooseIconForFiles(FileChooser* chooser, const Vector<String>& filena… in chooseIconForFiles() argument
135 chromePointer->chooseIconForFiles(filenames, chooser); in chooseIconForFiles()
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebChromeClient.mm133 - (id)initWithChooser:(PassRefPtr<FileChooser>)chooser;
776 void WebChromeClient::runOpenPanel(Frame*, PassRefPtr<FileChooser> chooser)
779 BOOL allowMultipleFiles = chooser->allowsMultipleFiles();
780 …ebOpenPanelResultListener *listener = [[WebOpenPanelResultListener alloc] initWithChooser:chooser];
790 void WebChromeClient::chooseIconForFiles(const Vector<String>& filenames, FileChooser* chooser)
792 chooser->iconLoaded(Icon::createIconForFiles(filenames));
1024 - (id)initWithChooser:(PassRefPtr<FileChooser>)chooser
1029 _chooser = chooser.releaseRef();
/external/webkit/Source/WebKit/android/WebCoreSupport/
DChromeClientAndroid.cpp516 PassRefPtr<FileChooser> chooser) in runOpenPanel() argument
520 core->openFileChooser(chooser); in runOpenPanel()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DChromeClientQt.cpp602 void ChromeClientQt::chooseIconForFiles(const Vector<String>& filenames, FileChooser* chooser) in chooseIconForFiles() argument
604 chooser->iconLoaded(Icon::createIconForFiles(filenames)); in chooseIconForFiles()
/external/dropbear/
Dfilelist.txt67 dbmulti.c Combination binary chooser main() function
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/
DWebChromeClient.cpp611 void WebChromeClient::chooseIconForFiles(const Vector<String>& filenames, FileChooser* chooser) in chooseIconForFiles() argument
613 chooser->iconLoaded(Icon::createIconForFiles(filenames)); in chooseIconForFiles()
/external/webkit/Source/WebKit/win/WebCoreSupport/
DWebChromeClient.cpp790 …romeClient::chooseIconForFiles(const Vector<WTF::String>& filenames, WebCore::FileChooser* chooser) in chooseIconForFiles() argument
792 chooser->iconLoaded(Icon::createIconForFiles(filenames)); in chooseIconForFiles()
/external/webkit/Source/WebKit/android/jni/
DWebViewCore.cpp3056 void WebViewCore::openFileChooser(PassRefPtr<WebCore::FileChooser> chooser) in openFileChooser() argument
3063 if (!chooser) in openFileChooser()
3066 WTF::String acceptType = chooser->acceptTypes(); in openFileChooser()
3070 capture = chooser->capture(); in openFileChooser()
3085 chooser->chooseFile(wtfString); in openFileChooser()
/external/webkit/Source/WebKit/chromium/
DChangeLog2372 Don't clear existing files if the user cancels the file chooser dialog.

12