Searched refs:name (Results 126 - 150 of 1057) sorted by relevance

1234567891011>>

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DContactsBinaryDictionary.java54 final File dictFile, final String name) {
55 super(context, getDictName(name, locale, dictFile), locale, Dictionary.TYPE_CONTACTS,
119 for (final String name : validNames) {
120 addNameLocked(name);
130 * Adds the words in a name (e.g., firstname/lastname) to the binary dictionary along with their
133 private void addNameLocked(final String name) { argument
134 int len = StringUtils.codePointCount(name);
139 if (Character.isLetter(name.codePointAt(i))) {
140 int end = ContactsDictionaryUtils.getWordEndPosition(name, len, i);
141 String word = name
53 ContactsBinaryDictionary(final Context context, final Locale locale, final File dictFile, final String name) argument
[all...]
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
H A DPrimaryInfo.java28 @Nullable public final String name; field in class:PrimaryInfo
69 @Nullable String name,
85 this.name = name;
106 "PrimaryInfo, number: %s, name: %s, location: %s, label: %s, "
109 LogUtil.sanitizePii(name),
67 PrimaryInfo( @ullable String number, @Nullable String name, boolean nameIsNumber, @Nullable String location, @Nullable String label, @Nullable Drawable photo, @ContactPhotoType int phototType, boolean isSipCall, boolean isContactPhotoShown, boolean isWorkCall, boolean isSpam, boolean answeringDisconnectsOngoingCall, boolean shouldShowLocation, @Nullable String contactInfoLookupKey, @Nullable MultimediaData multimediaData, int numberPresentation) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppPreference.java16 * - Neither the name of the Motorola, Inc. nor the names of its contributors
44 * This class cache Bluetooth device name and channel locally. Its a temp
107 String name = mNames.get(remoteDevice.getAddress());
108 if (name != null) {
109 return name;
127 public void setName(BluetoothDevice remoteDevice, String name) { argument
128 if (V) Log.v(TAG, "Setname for " + remoteDevice + " to " + name);
129 if (name != null && !name.equals(getName(remoteDevice))) {
131 ed.putString(remoteDevice.getAddress(), name);
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterCropRepresentation.java155 writer.name(BOUNDS[0]).value(mCrop.left);
156 writer.name(BOUNDS[1]).value(mCrop.top);
157 writer.name(BOUNDS[2]).value(mCrop.right);
158 writer.name(BOUNDS[3]).value(mCrop.bottom);
166 String name = reader.nextName();
167 if (BOUNDS[0].equals(name)) {
169 } else if (BOUNDS[1].equals(name)) {
171 } else if (BOUNDS[2].equals(name)) {
173 } else if (BOUNDS[3].equals(name)) {
H A DFilterUserPresetRepresentation.java27 public FilterUserPresetRepresentation(String name, ImagePreset preset, int id) { argument
28 super(name);
/packages/services/Car/obd2-lib/src/com/android/car/obd2/
H A DObd2FreezeFrameGenerator.java126 jsonWriter.name("type").value(FRAME_TYPE_FREEZE);
127 jsonWriter.name("timestamp").value(timestamp);
128 jsonWriter.name("stringValue").value(freezeFrame.dtc);
129 jsonWriter.name("intValues").beginArray();
137 jsonWriter.name("id").value(command.getPid());
138 jsonWriter.name("value").value(result.get());
151 jsonWriter.name("floatValues").beginArray();
159 jsonWriter.name("id").value(command.getPid());
160 jsonWriter.name("value").value(result.get());
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/
H A DDiagnosticJson.java96 String name = jsonReader.nextName();
97 if (name.equals("id")) id = jsonReader.nextInt();
98 else if (name.equals("value")) value = jsonReader.nextInt();
111 String name = jsonReader.nextName();
112 if (name.equals("id")) id = jsonReader.nextInt();
113 else if (name.equals("value")) value = (float) jsonReader.nextDouble();
123 String name = jsonReader.nextName();
124 switch (name) {
145 Log.w(TAG, "Unknown name in diagnostic JSON: " + name);
[all...]
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
H A DXmlUtils.java29 XmlPullParser parser, String endTag, String[] name, ReadMapCallback callback)
36 Object val = readThisValueXml(parser, name, callback, true);
37 map.put(name[0], val);
57 * @param name An array of one string, used to return the name attribute of the list's tag.
63 String[] name,
72 Object val = readThisValueXml(parser, name, callback, arrayMap);
93 * @param name An array of one string, used to return the name attribute of the list's tag.
96 public static String[] readThisStringArrayXml(XmlPullParser parser, String endTag, String[] name) argument
28 readThisArrayMapXml( XmlPullParser parser, String endTag, String[] name, ReadMapCallback callback) argument
60 readThisListXml( XmlPullParser parser, String endTag, String[] name, ReadMapCallback callback, boolean arrayMap) argument
133 readThisValueXml( XmlPullParser parser, String[] name, ReadMapCallback callback, boolean arrayMap) argument
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DCompatUtils.java42 public static Method getMethod(final Class<?> targetClass, final String name, argument
44 if (targetClass == null || TextUtils.isEmpty(name)) {
48 return targetClass.getMethod(name, parameterTypes);
55 public static Field getField(final Class<?> targetClass, final String name) { argument
56 if (targetClass == null || TextUtils.isEmpty(name)) {
60 return targetClass.getField(name);
145 public <T> ToObjectMethodWrapper<T> getMethod(final String name, argument
147 return new ToObjectMethodWrapper<>(CompatUtils.getMethod(mClass, name, parameterTypes),
151 public ToIntMethodWrapper getPrimitiveMethod(final String name, final int defaultValue, argument
153 return new ToIntMethodWrapper(CompatUtils.getMethod(mClass, name, parameterType
157 getPrimitiveMethod(final String name, final float defaultValue, final Class<?>... parameterTypes) argument
163 getPrimitiveMethod(final String name, final boolean defaultValue, final Class<?>... parameterTypes) argument
[all...]
/packages/apps/Dialer/java/com/android/dialer/phonenumbercache/
H A DContactInfo.java37 public String name; field in class:ContactInfo
74 // Uses only name and contactUri to determine hashcode.
80 result = prime * result + ((name == null) ? 0 : name.hashCode());
99 if (!TextUtils.equals(name, other.name)) {
146 + ", name='"
147 + name
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
H A DContactTestUtils.java31 /** Deletes contacts that match the given name and phone number. */
33 String name,
43 if (displayName.equals(name)) {
60 * Creates a new contact with the given name and phone number. Returns the
64 String name,
70 insertStructuredName(contentResolver, rawContactId, name, values);
78 String name,
80 values.put(StructuredName.DISPLAY_NAME, name);
32 deleteContact(ContentResolver contentResolver, String name, String phone) argument
63 createContact(ContentResolver contentResolver, String name, String phoneNumber) argument
76 insertStructuredName(ContentResolver contentResolver, long rawContactId, String name, ContentValues values) argument
/packages/apps/TV/tests/common/src/com/android/tv/testing/
H A DUtils.java76 return info.getServiceInfo().name;
82 public static String getInputIdFromComponentName(Context context, ComponentName name) { argument
86 if (new ComponentName(si.packageName, si.name).equals(name)) {
116 ComponentName name = new ComponentName("com.android.tv",
118 int enabled = pm.getComponentEnabledSetting(name);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DThrottle.java73 public Throttle(String name, Runnable callback, Handler handler) { argument
74 this(name, callback, handler, DEFAULT_MIN_TIMEOUT, DEFAULT_MAX_TIMEOUT);
78 public Throttle(String name, Runnable callback, Handler handler,int minTimeout, argument
80 this(name, callback, handler, minTimeout, maxTimeout, Clock.INSTANCE, TIMER);
85 public Throttle(String name, Runnable callback, Handler handler,int minTimeout, argument
90 mName = name;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DJsonUtils.java47 final String name = reader.nextName();
48 if (name.equals(INTEGER_CLASS_NAME)) {
50 } else if (name.equals(STRING_CLASS_NAME)) {
53 Log.w(TAG, "Invalid name: " + name);
79 writer.name(INTEGER_CLASS_NAME).value((Integer)o);
81 writer.name(STRING_CLASS_NAME).value((String)o);
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
H A Darguments_parser.h71 static ArgumentSpec singleArgument(const std::string &name, const std::string &description) { argument
72 return ArgumentSpec(name, 1 /* minCount */, 1 /* maxCount */, description);
75 static ArgumentSpec variableLengthArguments(const std::string &name, const size_t minCount, argument
77 return ArgumentSpec(name, minCount, maxCount, description);
88 ArgumentSpec(const std::string &name, const size_t minCount, const size_t maxCount, argument
90 : mName(name), mMinCount(minCount), mMaxCount(maxCount), mDescription(description) {}
/packages/services/Car/evs/app/
H A Dshader.cpp23 static GLuint loadShader(GLenum type, const char *shaderSrc, const char *name) { argument
38 printf("Error compiling %s shader for %s\n", (type==GL_VERTEX_SHADER) ? "vtx":"pxl", name);
59 GLuint buildShaderProgram(const char* vtxSrc, const char* pxlSrc, const char* name) { argument
67 GLuint vertexShader = loadShader(GL_VERTEX_SHADER, vtxSrc, name);
73 GLuint pixelShader = loadShader(GL_FRAGMENT_SHADER, pxlSrc, name);
113 printf("Shader parameters for %s:\n", name);
/packages/services/Car/tools/
H A Dupdate-obd2-sensors.py106 sensorName = theSensor.name.replace("_INDEX", "")
158 theSensor.name.upper(),
169 sensorName = theSensor.name.replace("_INDEX", "")
183 def __new__(cls, name, parents, dct):
186 def __init__(self, name, comment=None, id=None):
187 self.name = name
195 s = s + self.name + " = " + str(self.id)
198 newClass = super().__new__(cls, name, (SensorBase,), dct)
277 intSensor(name
[all...]
/packages/apps/Camera2/src/com/android/camera/stats/profiler/
H A DGuardingProfile.java30 public GuardingProfile(Writer writer, Writer verbose, String name,int maxDuration) { argument
31 super(name);
/packages/apps/Car/LocalMediaPlayer/proto/
H A Dproto.proto26 optional string name = 3;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DUserPresetsManager.java86 String name; field in class:UserPresetsManager.SaveOperation
89 public void save(ImagePreset preset, String name) { argument
93 op.name = name;
106 String name; field in class:UserPresetsManager.UpdateOperation
113 op.name = representation.getName();
133 mUserPresets.insertStack(op.name, op.json.getBytes());
145 mUserPresets.updateStackName(op.id, op.name);
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DCustomVCardEntry.java31 // List of properties keyed by their name for easy lookup
45 public VCardProperty getProperty(String name) { argument
46 return mAllProperties.get(name);
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DMockTask.java29 public MockTask(String name, int id) { argument
30 mName = name;
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
H A DLogWriter.java64 void count(Context context, String name, int value); argument
69 void histogram(Context context, String name, int bucket); argument
/packages/apps/Settings/src/com/android/settings/datausage/
H A DMockDataPlanUsage.java34 private MockDataPlanUsage(String usage, int usageTextColor, String name, argument
39 mName = name;
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
H A DTestInputControlConnection.java40 public void onServiceConnected(ComponentName name, IBinder service) { argument
45 public void onServiceDisconnected(ComponentName name) { argument

Completed in 613 milliseconds

1234567891011>>