Lines Matching refs:WideToUTF16
228 textfield_->SetText(WideToUTF16(L"abc\x05d0\x05d1\x05d2"));
314 textfield_->SetText(WideToUTF16(L"abc\x05e1\x05e2\x05e3" L"def"));
322 EXPECT_EQ(WideToUTF16(L"c"), textfield_->GetSelectedText());
327 int x = font.GetStringWidth(WideToUTF16(L"\x05e3"));
329 EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText());
333 x = font.GetStringWidth(WideToUTF16(L"b"));
335 EXPECT_EQ(WideToUTF16(L"bc\x05e1\x05e2"), textfield_->GetSelectedText());
340 EXPECT_EQ(WideToUTF16(L"c"), textfield_->GetSelectedText());
344 x = font.GetStringWidth(WideToUTF16(L"\x05e3"));
346 EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText());
350 x = font.GetStringWidth(WideToUTF16(L"b"));
352 EXPECT_EQ(WideToUTF16(L"bc\x05e1\x05e2"), textfield_->GetSelectedText());
357 EXPECT_EQ(WideToUTF16(L"\x05e1"), textfield_->GetSelectedText());
369 x = font.GetStringWidth(WideToUTF16(L"\x05e2"));
371 EXPECT_EQ(WideToUTF16(L"\x05e1\x05e2"), textfield_->GetSelectedText());
376 x = font.GetStringWidth(WideToUTF16(L"d"));
378 EXPECT_EQ(WideToUTF16(L"\x05e2\x05e3" L"d"), textfield_->GetSelectedText());
383 EXPECT_EQ(WideToUTF16(L"\x05e1"), textfield_->GetSelectedText());
388 x = font.GetStringWidth(WideToUTF16(L"\x05e2"));
390 EXPECT_EQ(WideToUTF16(L"\x05e1\x05e2"), textfield_->GetSelectedText());
395 x = font.GetStringWidth(WideToUTF16(L"d"));
397 EXPECT_EQ(WideToUTF16(L"\x05e2\x05e3" L"d"), textfield_->GetSelectedText());
402 EXPECT_EQ(WideToUTF16(L"\x05e3"), textfield_->GetSelectedText());
406 x = font.GetStringWidth(WideToUTF16(L"c"));
408 EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText());
412 x = font.GetStringWidth(WideToUTF16(L"\x05e2"));
414 EXPECT_EQ(WideToUTF16(L"c\x05e1"), textfield_->GetSelectedText());
419 EXPECT_EQ(WideToUTF16(L"\x05e3"), textfield_->GetSelectedText());
423 x = font.GetStringWidth(WideToUTF16(L"c"));
425 EXPECT_EQ(WideToUTF16(L"c\x05e1\x05e2"), textfield_->GetSelectedText());
429 x = font.GetStringWidth(WideToUTF16(L"\x05e2"));
431 EXPECT_EQ(WideToUTF16(L"c\x05e1"), textfield_->GetSelectedText());