OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BidiFormatter
(Results
1 - 17
of
17
) sorted by null
/frameworks/support/v4/tests/java/android/support/v4/text/
BidiFormatterTest.java
26
private static final
BidiFormatter
LTR_FMT =
BidiFormatter
.getInstance(false /* LTR context */);
27
private static final
BidiFormatter
RTL_FMT =
BidiFormatter
.getInstance(true /* RTL context */);
29
private static final
BidiFormatter
LTR_FMT_EXIT_RESET =
30
new
BidiFormatter
.Builder(false /* LTR context */).stereoReset(false).build();
31
private static final
BidiFormatter
RTL_FMT_EXIT_RESET =
32
new
BidiFormatter
.Builder(true /* RTL context */).stereoReset(false).build();
47
assertEquals(false,
BidiFormatter
.getInstance(Locale.ENGLISH).isRtlContext());
48
assertEquals(true,
BidiFormatter
.getInstance(true).isRtlContext())
[
all
...]
/cts/tests/tests/text/src/android/text/cts/
BidiFormatterTest.java
20
import android.text.
BidiFormatter
;
27
private static final
BidiFormatter
LTR_FMT =
BidiFormatter
.getInstance(false /* LTR context */);
28
private static final
BidiFormatter
RTL_FMT =
BidiFormatter
.getInstance(true /* RTL context */);
30
private static final
BidiFormatter
LTR_FMT_EXIT_RESET =
31
new
BidiFormatter
.Builder(false /* LTR context */).stereoReset(false).build();
32
private static final
BidiFormatter
RTL_FMT_EXIT_RESET =
33
new
BidiFormatter
.Builder(true /* RTL context */).stereoReset(false).build();
48
assertEquals(false,
BidiFormatter
.getInstance(Locale.ENGLISH).isRtlContext())
[
all
...]
/development/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/java/android/text/
BidiFormatter.java
31
* you can use the support library's {@link android.support.v4.text.
BidiFormatter
} class.
82
public final class
BidiFormatter
{
130
* A class for building a
BidiFormatter
with non-default options.
175
* Specifies whether the
BidiFormatter
to be built should also "reset" directionality before
188
* Specifies the default directionality estimation algorithm to be used by the
BidiFormatter
.
199
private static
BidiFormatter
getDefaultInstanceFromContext(boolean isRtlContext) {
204
* @return A
BidiFormatter
with the specified options.
206
public
BidiFormatter
build() {
211
return new
BidiFormatter
(mIsRtlContext, mFlags, mTextDirectionHeuristic);
219
private static final
BidiFormatter
DEFAULT_LTR_INSTANCE = new BidiFormatter
[
all
...]
/frameworks/support/v4/java/android/support/v4/text/
BidiFormatter.java
78
public final class
BidiFormatter
{
126
* A class for building a
BidiFormatter
with non-default options.
171
* Specifies whether the
BidiFormatter
to be built should also "reset" directionality before
184
* Specifies the default directionality estimation algorithm to be used by the
BidiFormatter
.
195
private static
BidiFormatter
getDefaultInstanceFromContext(boolean isRtlContext) {
200
* @return A
BidiFormatter
with the specified options.
202
public
BidiFormatter
build() {
207
return new
BidiFormatter
(mIsRtlContext, mFlags, mTextDirectionHeuristicCompat);
215
private static final
BidiFormatter
DEFAULT_LTR_INSTANCE = new
BidiFormatter
(
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/adapter/
DrawerItem.java
30
import android.support.v4.text.
BidiFormatter
;
43
com.android.mail.providers.Account, int, boolean,
BidiFormatter
)},
44
* {@link DrawerItem#ofWaitView(com.android.mail.ui.ControllableActivity,
BidiFormatter
)}, etc.
74
private final
BidiFormatter
mBidiFormatter;
131
Account account, int resource, boolean isCurrentAccount,
BidiFormatter
bidiFormatter
) {
141
mBidiFormatter =
bidiFormatter
;
154
int folderType,
BidiFormatter
bidiFormatter
) {
156
bidiFormatter
);
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
FolderItemView.java
20
import android.support.v4.text.
BidiFormatter
;
114
final
BidiFormatter
bidiFormatter
) {
118
mFolderTextView.setText(
bidiFormatter
.unicodeWrap(folder.name));
FolderListFragment.java
26
import android.support.v4.text.
BidiFormatter
;
93
private
BidiFormatter
mBidiFormatter;
247
mBidiFormatter =
BidiFormatter
.getInstance();
[
all
...]
/packages/apps/Settings/src/com/android/settings/applications/
RunningProcessesView.java
19
import android.text.
BidiFormatter
;
346
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
347
String sizeStr =
bidiFormatter
.unicodeWrap(
351
sizeStr =
bidiFormatter
.unicodeWrap(
ManageApplications.java
53
import android.text.
BidiFormatter
;
389
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
395
String sizeStr =
bidiFormatter
.unicodeWrap(
402
String sizeStr =
bidiFormatter
.unicodeWrap(
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
SendersView.java
26
import android.support.v4.text.
BidiFormatter
;
78
private static
BidiFormatter
sBidiFormatter;
133
sBidiFormatter =
BidiFormatter
.getInstance();
/packages/services/Telephony/src/com/android/phone/
NotificationMgr.java
45
import android.text.
BidiFormatter
;
508
final
BidiFormatter
bidiFormatter
=
BidiFormatter
.getInstance();
509
// A number should always be displayed LTR using {@link
BidiFormatter
}
511
callName =
bidiFormatter
.unicodeWrap(number, TextDirectionHeuristics.LTR);
[
all
...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
NotificationUtils.java
35
import android.support.v4.text.
BidiFormatter
;
100
private static final
BidiFormatter
BIDI_FORMATTER =
BidiFormatter
.getInstance();
[
all
...]
/development/samples/training/NavigationDrawer/libs/
android-support-v4.jar
/prebuilts/sdk/18/
android.jar
/prebuilts/sdk/19/
android.jar
/prebuilts/sdk/current/
android.jar
Completed in 4386 milliseconds