/external/chromium_org/ui/views/controls/ |
progress_bar_unittest.cc | 15 string16 tooltip = ASCIIToUTF16("Some text"); local 16 EXPECT_FALSE(bar.GetTooltipText(gfx::Point(), &tooltip)); 17 EXPECT_EQ(string16(), tooltip); local 20 EXPECT_TRUE(bar.GetTooltipText(gfx::Point(), &tooltip)); 21 EXPECT_EQ(tooltip_text, tooltip);
|
label_unittest.cc | 104 string16 tooltip; local 105 EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); 106 EXPECT_EQ(test_text, tooltip); 108 string16 tooltip_text(ASCIIToUTF16("The tooltip!")); 110 EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); 111 EXPECT_EQ(tooltip_text, tooltip); 115 EXPECT_TRUE(label.GetTooltipText(gfx::Point(), &tooltip)); 116 EXPECT_EQ(test_text, tooltip); 119 // and expect there to be no tooltip. 121 EXPECT_FALSE(label.GetTooltipText(gfx::Point(), &tooltip)); [all...] |
styled_label.h | 46 // Tooltip for the range. 47 string16 tooltip; member in struct:views::StyledLabel::RangeStyleInfo
|
styled_label_unittest.cc | 315 const std::string tooltip_text("this should have a tooltip,"); 316 const std::string normal_text(" this should not have a tooltip, "); 325 tooltip_style.tooltip = ASCIIToUTF16("tooltip"); 332 // Break line inside the range with the tooltip. 354 string16 tooltip; local 356 styled()->child_at(1)->GetTooltipText(gfx::Point(1, 1), &tooltip)); 357 EXPECT_EQ(ASCIIToUTF16("tooltip"), tooltip); 359 styled()->child_at(2)->GetTooltipText(gfx::Point(1, 1), &tooltip)); [all...] |
/external/chromium_org/ui/app_list/ |
search_box_model.h | 28 ButtonProperty(const gfx::ImageSkia& icon, const base::string16& tooltip); 32 base::string16 tooltip; member in struct:app_list::SearchBoxModel::ButtonProperty
|
/external/chromium/chrome/browser/ui/gtk/ |
back_forward_button_gtk.cc | 28 int normal, pushed, hover, disabled, tooltip; local 35 tooltip = IDS_TOOLTIP_FORWARD; 42 tooltip = IDS_TOOLTIP_BACK; 49 l10n_util::GetStringUTF8(tooltip).c_str());
|
/external/chromium_org/chrome/browser/ui/gtk/ |
back_forward_button_gtk.cc | 31 int normal, pushed, hover, disabled, tooltip; local 38 tooltip = IDS_TOOLTIP_FORWARD; 45 tooltip = IDS_TOOLTIP_BACK; 52 l10n_util::GetStringUTF8(tooltip).c_str());
|
global_history_menu.cc | 212 std::string tooltip = gtk_util::BuildTooltipTitleFor(item->title, item->url); local 213 gtk_widget_set_tooltip_markup(menu_item, tooltip.c_str());
|
location_bar_view_gtk.cc | 1607 base::string16 tooltip = l10n_util::GetStringFUTF16Int( local 1633 base::string16 tooltip = local [all...] |
/external/chromium_org/ui/views/corewm/ |
tooltip_aura_unittest.cc | 26 string16 tooltip; local 35 int error_in_pixel_width = font.GetStringWidth(ASCIIToUTF16("tooltip")); 38 tooltip.clear(); 41 for (; font.GetStringWidth(tooltip) <= (expect_lines - 1) * max_pixel_width;) 42 tooltip.append(ASCIIToUTF16("This is part of the tooltip")); 43 tooltip_len = tooltip.length(); 44 TooltipAura::TrimTooltipToFit(max_width, &tooltip, &width, &line_count); 47 EXPECT_EQ(tooltip_len + expect_lines - 1, tooltip.length()); 50 tooltip.clear() 83 max_pixel_width, gfx::ELIDE_AT_END), tooltip); local [all...] |
/external/chromium/chrome/browser/chromeos/status/ |
input_method_menu_button.cc | 44 const std::wstring& tooltip, 46 button_->UpdateUI(input_method_id, name, tooltip, num_active_input_methods); 116 const std::wstring& tooltip, 128 SetTooltipText(L""); // remove tooltip 131 SetTooltipText(tooltip); 163 const std::wstring tooltip = InputMethodMenu::GetTextForMenu(input_method); local 166 UpdateUI(input_method.id, name, tooltip, num_active_input_methods);
|
input_method_menu.cc | 478 const std::wstring tooltip = GetTextForMenu(input_method); local 479 UpdateUI(input_method.id, name, tooltip, num_active_input_methods);
|
/external/chromium/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 42 // Set the tooltip for this item. 43 std::wstring tooltip = UTF8ToWide( local 46 menu_->SetTooltip(tooltip, command_id);
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 50 // Set the tooltip for this item. 51 base::string16 tooltip = UTF8ToUTF16( local 55 menu_->SetTooltip(tooltip, command_id);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
TextAttributeDescriptor.java | 42 * Such an attribute has a tooltip and would typically be displayed by 105 * Sets the tooltip to be associated with this descriptor. This is usually 109 * @param tooltip the new tooltip to be used 112 public TextAttributeDescriptor setTooltip(String tooltip) { 113 mTooltip = tooltip; 140 * The tooltip string is either null or a non-empty string. 142 * The tooltip is based on the Javadoc of the attribute and already processed via 144 * a UI tooltip. 149 * @return A non-empty tooltip string or nul 160 String tooltip = null; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
CompletionProposal.java | 132 String tooltip = ((ElementDescriptor)mChoice).getTooltip(); local 133 mAdditionalProposalInfo = DescriptorsUtils.formatTooltip(tooltip);
|
AndroidContentAssist.java | 560 * is the tooltip/help for the value to be displayed in the documentation popup. 577 String tooltip = null; local 581 // Tooltip computed lazily in {@link CompletionProposal} 589 // Tooltip computed lazily in {@link CompletionProposal} 614 tooltip = pair.getSecond(); 691 tooltip, // String additionalProposalInfo [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
ApplicationToggle.java | 124 * Updates the application tooltip in the form text. 125 * If there is no tooltip, the form text is hidden. 130 String tooltip = getUiElementNode().getDescriptor().getTooltip(); local 131 if (tooltip != null) { 132 tooltip = DescriptorsUtils.formatFormText(tooltip, 136 mTooltipFormText.setText(tooltip, true /* parseTags */, true /* expandURLs */);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/ |
ChooseConfigurationPage.java | 103 String tooltip = "The folder where the file will be generated, relative to the project."; local 111 folderLabel.setToolTipText(tooltip); 115 mWsFolderPathTextField.setToolTipText(tooltip);
|
NewXmlFileCreationPage.java | 125 String tooltip, 134 mTooltip = tooltip; 147 /** Returns the tooltip for the resource type. Can be null. */ 247 "An XML file that describes a screen layout.", // tooltip 314 "An XML file with simple values: colors, strings, dimensions, etc.", // tooltip 323 "An XML file that describes a drawable.", // tooltip 332 "An XML file that describes an menu.", // tooltip 341 "An XML file that describes a color state list.", // tooltip 350 "An XML file that describes a property animation", // tooltip 359 "An XML file that describes a tween animation.", // tooltip 474 String tooltip = "The Android Project where the new resource file will be created."; local [all...] |
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
bookmark_utils_gtk.cc | 236 std::string tooltip = BuildTooltipFor(node); local 237 if (!tooltip.empty()) 238 gtk_widget_set_tooltip_markup(button, tooltip.c_str()); 258 std::string tooltip; local
|
/external/chromium_org/chrome/browser/download/ |
download_item_model.cc | 343 base::string16 tooltip = gfx::ElideFilename( local 348 tooltip += ASCIIToUTF16("\n"); 349 tooltip += gfx::ElideText(InterruptReasonStatusMessage(reason), 352 return tooltip;
|
/external/chromium_org/chrome/browser/ui/gtk/bookmarks/ |
bookmark_utils_gtk.cc | 253 std::string tooltip = BuildTooltipFor(node); local 254 if (!tooltip.empty()) 255 gtk_widget_set_tooltip_markup(button, tooltip.c_str());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/descriptors/ |
LayoutDescriptors.java | 233 String tooltip = info.getJavaDoc(); local 242 styleInfo.setJavaDoc("A reference to a custom style"); //tooltip 302 tooltip, 357 "Lets you statically include XML layouts inside other XML layouts.", // tooltip 378 "A root tag useful for XML layouts inflated using a ViewStub.", // tooltip 415 fragmentTooltip, // tooltip 483 "A view tag whose class attribute names the class to be instantiated", // tooltip 506 "Requests focus for the parent element or one of its descendants", // tooltip
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
UiElementDetail.java | 268 String tooltip; local 271 tooltip = DescriptorsUtils.formatFormText(elem_desc.getTooltip(), 275 tooltip = elem_desc.getTooltip(); 280 true /* isHtml */, tooltip, true /* setupLayoutData */); 292 tooltip); 294 // Fallback to a pure text tooltip, no fancy HTML 295 tooltip = DescriptorsUtils.formatTooltip(elem_desc.getTooltip()); 296 SectionHelper.createLabel(masterTable, toolkit, tooltip, tooltip);
|