OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BidiFormatter
(Results
1 - 25
of
102
) sorted by null
1
2
3
4
5
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
StringUtils.java
3
import android.support.v4.text.
BidiFormatter
;
12
* Additionally, each token is first passed through {@link
BidiFormatter
#unicodeWrap(String)}
16
return joinAndBidiFormat(delimiter, tokens,
BidiFormatter
.getInstance());
21
* Additionally, each token is first passed through {@link
BidiFormatter
#unicodeWrap(String)}
25
String delimiter, Iterable<String> tokens,
BidiFormatter
bidiFormatter
) {
34
sb.append(
bidiFormatter
.unicodeWrap(token));
EmptyStateUtils.java
21
import android.support.v4.text.
BidiFormatter
;
56
String searchQuery,
BidiFormatter
bidiFormatter
) {
63
bidiFormatter
.unicodeWrap(searchQuery));
/cts/tests/tests/text/src/android/text/cts/
BidiFormatterTest.java
27
import android.text.
BidiFormatter
;
42
private static final
BidiFormatter
LTR_FMT =
BidiFormatter
.getInstance(false /* LTR context */);
43
private static final
BidiFormatter
RTL_FMT =
BidiFormatter
.getInstance(true /* RTL context */);
45
private static final
BidiFormatter
LTR_FMT_EXIT_RESET =
46
new
BidiFormatter
.Builder(false /* LTR context */).stereoReset(false).build();
47
private static final
BidiFormatter
RTL_FMT_EXIT_RESET =
48
new
BidiFormatter
.Builder(true /* RTL context */).stereoReset(false).build();
64
assertEquals(false,
BidiFormatter
.getInstance(Locale.ENGLISH).isRtlContext())
[
all
...]
/frameworks/support/compat/tests/java/android/support/v4/text/
BidiFormatterTest.java
37
private static final
BidiFormatter
LTR_FMT =
BidiFormatter
.getInstance(false /* LTR context */);
38
private static final
BidiFormatter
RTL_FMT =
BidiFormatter
.getInstance(true /* RTL context */);
40
private static final
BidiFormatter
LTR_FMT_EXIT_RESET =
41
new
BidiFormatter
.Builder(false /* LTR context */).stereoReset(false).build();
42
private static final
BidiFormatter
RTL_FMT_EXIT_RESET =
43
new
BidiFormatter
.Builder(true /* RTL context */).stereoReset(false).build();
59
assertEquals(false,
BidiFormatter
.getInstance(Locale.ENGLISH).isRtlContext());
60
assertEquals(true,
BidiFormatter
.getInstance(true).isRtlContext())
[
all
...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/
BidiFormatterSupport.java
22
import android.support.v4.text.
BidiFormatter
;
27
* This example illustrates a common usage of the
BidiFormatter
in the Android support library.
46
String wrappedPhone =
BidiFormatter
.getInstance(true /* rtlContext */).unicodeWrap(phone);
/frameworks/base/core/tests/coretests/src/android/text/
BidiFormatterTest.java
30
private static final
BidiFormatter
LTR_FMT =
BidiFormatter
.getInstance(false /* LTR context */);
31
private static final
BidiFormatter
RTL_FMT =
BidiFormatter
.getInstance(true /* RTL context */);
/packages/apps/Messaging/src/com/android/messaging/ui/
BlockedParticipantListItemView.java
19
import android.support.v4.text.
BidiFormatter
;
57
final
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
58
mNameTextView.setText(
bidiFormatter
.unicodeWrap(
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
PhoneNumberPreference.java
21
import android.support.v4.text.
BidiFormatter
;
65
final
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
66
final String phoneNumber =
bidiFormatter
.unicodeWrap
81
final
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
82
final String phoneNumber =
bidiFormatter
.unicodeWrap
/packages/apps/Settings/src/com/android/settings/inputmethod/
VirtualKeyboardPreferenceController.java
23
import android.text.
BidiFormatter
;
82
final
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
87
summary =
bidiFormatter
.unicodeWrap(label);
90
bidiFormatter
.unicodeWrap(label));
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
MessageHeaderViewTest.java
20
import android.support.v4.text.
BidiFormatter
;
35
null, new HashMap<String, Address>(), null,
BidiFormatter
.getInstance()).toString();
48
bcc, new HashMap<String, Address>(), null,
BidiFormatter
.getInstance()).toString();
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationListEmptyView.java
21
import android.support.v4.text.
BidiFormatter
;
60
final
BidiFormatter
bidiFormatter
, boolean shouldShowIcon) {
69
bidiFormatter
);
/packages/services/Telecomm/src/com/android/server/telecom/settings/
BlockedNumbersUtil.java
21
import android.text.
BidiFormatter
;
48
return
BidiFormatter
.getInstance().unicodeWrap(
/frameworks/base/core/java/android/text/
BidiFormatter.java
32
* you can use the support library's {@link android.support.v4.text.
BidiFormatter
} class.
83
public final class
BidiFormatter
{
131
* A class for building a
BidiFormatter
with non-default options.
176
* Specifies whether the
BidiFormatter
to be built should also "reset" directionality before
189
* Specifies the default directionality estimation algorithm to be used by the
BidiFormatter
.
201
* @return A
BidiFormatter
with the specified options.
203
public
BidiFormatter
build() {
206
return
BidiFormatter
.getDefaultInstanceFromContext(mIsRtlContext);
208
return new
BidiFormatter
(mIsRtlContext, mFlags, mTextDirectionHeuristic);
216
private static final
BidiFormatter
DEFAULT_LTR_INSTANCE = new BidiFormatter
[
all
...]
/frameworks/support/compat/java/android/support/v4/text/
BidiFormatter.java
79
public final class
BidiFormatter
{
127
* A class for building a
BidiFormatter
with non-default options.
172
* Specifies whether the
BidiFormatter
to be built should also "reset" directionality before
185
* Specifies the default directionality estimation algorithm to be used by the
BidiFormatter
.
196
private static
BidiFormatter
getDefaultInstanceFromContext(boolean isRtlContext) {
201
* @return A
BidiFormatter
with the specified options.
203
public
BidiFormatter
build() {
208
return new
BidiFormatter
(mIsRtlContext, mFlags, mTextDirectionHeuristicCompat);
216
private static final
BidiFormatter
DEFAULT_LTR_INSTANCE = new
BidiFormatter
(
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/text/
FolderSpan.java
22
import android.support.v4.text.
BidiFormatter
;
39
private final
BidiFormatter
mFormatter;
43
FolderDisplayer.FolderDrawableResources res,
BidiFormatter
formatter,
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
MessageBuilder.java
20
import android.text.
BidiFormatter
;
60
String displayName =
BidiFormatter
.getInstance().unicodeWrap(docs.get(0).displayName);
120
list.append("• " + Html.escapeHtml(
BidiFormatter
.getInstance().unicodeWrap(
125
list.append("• " +
BidiFormatter
.getInstance().unicodeWrap(uri.toSafeString()) +
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
PhoneNumberDisplayUtil.java
21
import android.text.
BidiFormatter
;
81
BidiFormatter
.getInstance().unicodeWrap(number.toString(), TextDirectionHeuristics.LTR));
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
SubjectAndFolderView.java
25
import android.support.v4.text.
BidiFormatter
;
67
private
BidiFormatter
mBidiFormatter;
109
final
BidiFormatter
bidiFormatter
= getBidiFormatter();
110
final String wrappedSubject = mSubject == null ? "" :
bidiFormatter
.unicodeWrap(mSubject);
152
private
BidiFormatter
getBidiFormatter() {
157
mBidiFormatter =
BidiFormatter
.getInstance();
/packages/apps/Contacts/src/com/android/contacts/interactions/
SmsInteraction.java
24
import android.text.
BidiFormatter
;
39
private static
BidiFormatter
sBidiFormatter =
BidiFormatter
.getInstance();
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactDropdownLayouter.java
21
import android.support.v4.text.
BidiFormatter
;
87
final
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
88
final String displayName =
bidiFormatter
.unicodeWrap(
91
final String destination =
bidiFormatter
.unicodeWrap(
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
VirtualKeyboardPreferenceControllerTest.java
31
import android.support.v4.text.
BidiFormatter
;
106
final
BidiFormatter
formatter =
BidiFormatter
.getInstance();
/packages/services/Telephony/src/com/android/phone/
ADNList.java
31
import android.text.
BidiFormatter
;
180
BidiFormatter
bf =
BidiFormatter
.getInstance();
/packages/apps/Dialer/java/com/android/incallui/hold/
OnHoldFragment.java
24
import android.text.
BidiFormatter
;
64
BidiFormatter
.getInstance()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
AppPermissions.java
22
import android.text.
BidiFormatter
;
51
mAppLabel =
BidiFormatter
.getInstance().unicodeWrap(
/packages/apps/Settings/src/com/android/settings/display/
DensityPreference.java
19
import android.text.
BidiFormatter
;
44
final CharSequence dpValue =
BidiFormatter
.getInstance()
Completed in 1941 milliseconds
1
2
3
4
5