Searched refs:type (Results 276 - 300 of 571) sorted by relevance

<<11121314151617181920>>

/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DDefaultSoftKeyboard.java177 * Keyboard[language][portrait/landscape][keyboard type][shift off/on][key-mode]
199 /* keyboard type */
200 /** Current keyboard type */
369 * Keyboard[# of Languages][portrait/landscape][# of keyboard type]
414 * Get the keyboard changed the specified keyboard type
416 * @param type Keyboard type
419 protected Keyboard getTypeChangeKeyboard(int type) { argument
421 Keyboard[] kbd = mKeyboard[mCurrentLanguage][mDisplayMode][type][mShiftOn][mCurrentKeyMode];
547 * Change the keyboard type
553 changeKeyboardType(int type) argument
[all...]
H A DCandidatesViewManager.java95 * Set the candidates view type.
97 * @param type The candidate view type,
101 public abstract void setViewType(int type); argument
104 * Get the candidates view type.
106 * @return The view type,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForOrganization.java106 protected int getTypeRank(int type) { argument
107 switch (type) {
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
H A DMimeMessage.java245 * Returns a list of the given recipient type from this message. If no addresses are
249 public Address[] getRecipients(String type) throws MessagingException { argument
250 if (type == RECIPIENT_TYPE_TO) {
255 } else if (type == RECIPIENT_TYPE_CC) {
260 } else if (type == RECIPIENT_TYPE_BCC) {
266 throw new MessagingException("Unrecognized recipient type.");
271 public void setRecipients(String type, Address[] addresses) throws MessagingException { argument
275 if (type == RECIPIENT_TYPE_TO) {
283 } else if (type == RECIPIENT_TYPE_CC) {
291 } else if (type
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPhonebookPullRequest.java77 p.type = c.getInt(phoneTypeIndex);
99 .appendQueryParameter(RawContacts.ACCOUNT_TYPE, mAccount.type)
132 .withValue(RawContacts.ACCOUNT_TYPE, mAccount.type)
153 .withValue(Phone.TYPE, p.type)
/packages/apps/Email/provider_src/com/android/email/provider/
H A DAttachmentProvider.java97 * Returns the mime type for a given attachment. There are three possible results:
100 * - Returns the mime type of the attachment
193 String type = getContext().getContentResolver().getType(attachmentUri);
197 Bitmap thumbnail = createThumbnail(type, in);
315 private static Bitmap createThumbnail(String type, InputStream data) { argument
316 if(MimeUtility.mimeTypeMatches(type, "image/*")) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBugleNotifications.java113 // Constants for notification type used for audio and vibration settings.
194 * Cancel all notifications of a certain type.
196 * @param type Message or error notifications from Constants.
198 private static synchronized void cancel(final int type) { argument
199 cancel(type, null, false);
203 * Cancel all notifications of a certain type.
205 * @param type Message or error notifications from Constants.
213 private static synchronized void cancel(final int type, final String conversationId, argument
215 final String notificationTag = buildNotificationTag(type, conversationId,
225 if (notifState.mType == type) {
364 buildNotificationTag(final int type, final String conversationId) argument
377 buildNotificationTag(final int type, final String conversationId, final boolean bundledNotification) argument
[all...]
/packages/services/Car/car-cluster-demo-renderer/src/android/car/cluster/demorenderer/
H A DPhoneBook.java209 Contact(Resources resources, String number, int id, String name, String label, int type) { argument
213 mType = Phone.getTypeLabel(resources, type, label);
314 int type = cursor.getInt(cursor.getColumnIndex(PhoneLookup.TYPE));
316 contact = new Contact(resources, mNumber, id, name, label, type);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapCallLogComposer.java158 final int type = mCursor.getInt(CALLER_NUMBERTYPE_COLUMN_INDEX);
161 label = Integer.toString(type);
163 builder.appendTelLine(type, label, number, false);
195 * Format according to RFC 2445 DATETIME type.
206 * Do nothing if the call log type gotton from the database is invalid.
233 Log.w(TAG, "Call log type not correct.");
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DContactEditorBaseActivity.java334 account.type, account.dataSet);
345 intent.putExtra(RawContacts.ACCOUNT_TYPE, account.type);
359 account.type, account.dataSet);
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DAccountSelectionUtil.java132 account.type, account.dataSet);
177 importIntent.putExtra("account_type", account.type);
189 importIntent.putExtra("account_type", account.type);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalAlbumSet.java137 DataManager manager, int type, Path parent, int id, String name) {
142 switch (type) {
153 throw new IllegalArgumentException(String.valueOf(type));
136 getLocalAlbum( DataManager manager, int type, Path parent, int id, String name) argument
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java331 private static int loadShader(int type, String shaderCode) { argument
332 // create a vertex shader type (GLES20.GL_VERTEX_SHADER)
333 // or a fragment shader type (GLES20.GL_FRAGMENT_SHADER)
334 int shader = GLES20.glCreateShader(type);
491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth());
496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
499 draw(mDrawParameters, type, count, x, y, width, height);
554 private void draw(ShaderParameter[] params, int type, int count, float x, float y, float width, argument
560 GLES20.glDrawArrays(type,
915 initializeTextureSize(BasicTexture texture, int format, int type) argument
933 texSubImage2D(BasicTexture texture, int xOffset, int yOffset, Bitmap bitmap, int format, int type) argument
[all...]
/packages/apps/Settings/src/com/android/settings/voice/
H A DVoiceInputHelper.java180 int type;
181 while ((type=parser.next()) != XmlPullParser.END_DOCUMENT
182 && type != XmlPullParser.START_TAG) {
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/
H A DTagCanon.java73 public static NdefRecord newMimeRecord(String type, byte[] data) { argument
74 Preconditions.checkNotNull(type);
77 byte[] typeBytes = type.getBytes(StandardCharsets.US_ASCII);
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dprettywriter.h146 void PrettyPrefix(Type type) { argument
147 (void)type;
178 RAPIDJSON_ASSERT(type == kStringType); // if it's in object, then even number should be a name
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DAccount.java74 * Account type. MUST MATCH SYSTEM ACCOUNT MANAGER TYPE
76 private final String type; field in class:Account
138 * Uri for EDIT intent that will cause the settings screens for this account type to be
144 * Uri for VIEW intent that will cause the help screens for this account type to be
150 * Uri for VIEW intent that will cause the send feedback screens for this account type to be
167 * Uri for VIEW intent that will cause the compose screen for this account type to be
199 * URI for account type specific supplementary account info on outgoing links, if any.
266 json.put(AccountColumns.TYPE, type);
356 // The heavy lifting is done by Account(name, type, json). This method
380 type
[all...]
H A DFolder.java152 * Folder type bit mask. 0 is default.
155 public int type; field in class:Folder
298 public Builder setType(final int type) { argument
299 mType = type;
343 int lastSyncResult, int type, int iconResId, int notificationIconResId, String bgColor,
361 this.type = type;
400 type = cursor.getInt(UIProvider.FOLDER_TYPE_COLUMN);
458 type = in.readInt();
494 dest.writeInt(type);
340 Folder(int id, String persistentId, Uri uri, String name, int capabilities, boolean hasChildren, int syncWindow, Uri conversationListUri, Uri childFoldersListUri, int unseenCount, int unreadCount, int totalCount, Uri refreshUri, int syncStatus, int lastSyncResult, int type, int iconResId, int notificationIconResId, String bgColor, String fgColor, Uri loadMoreUri, String hierarchicalDesc, Uri parent, final long lastMessageTimestamp, final String unreadSenders) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DUtils.java704 * Normalize a MIME data type.
706 * <p>A normalized MIME type has white-space trimmed,
707 * content-type parameters removed, and is lower-case.
708 * This aligns the type with Android best practices for
718 * @param type MIME data type to normalize
719 * @return normalized MIME data type, or null if the input was null
723 public static String normalizeMimeType(String type) { argument
724 if (type == null) {
728 type
770 setIntentTypeAndNormalize(Intent intent, String type) argument
774 setIntentDataAndTypeAndNormalize(Intent intent, Uri data, String type) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DBodyDescriptor.java83 } else if (name.equals("content-type") && !contentTypeSet) {
108 String type = main.substring(0, index).trim();
110 if (type.length() > 0 && subtype.length() > 0) {
111 main = type + "/" + subtype;
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactEntryAdapter.java41 public int type = -1; field in class:ContactEntryAdapter.Entry
54 p.writeInt(type);
68 type = p.readInt();
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
H A DOpenWnnEngineEN.java184 * @param type Type of dictionary (DIC_DEFAULT or DIC_FOR_CORRECT_MISTYPE)
187 public boolean setDictionary(int type) { argument
188 if (type == DICT_FOR_CORRECT_MISTYPE) {
365 public boolean initializeDictionary(int dictionary, int type) { argument
/packages/services/Car/car-lib/src/android/car/hardware/
H A DCarSensorEvent.java25 * data is stored in a sensor-type specific format in the object's float and byte arrays.
31 * Additionally, calling a conversion method on a CarSensorEvent object with an inappropriate type
37 * Index in {@link #floatValues} for {@link CarSensorManager#SENSOR_TYPE_FUEL_LEVEL} type of
42 * Index in {@link #floatValues} for {@link CarSensorManager#SENSOR_TYPE_FUEL_LEVEL} type of
47 * Index in {@link #intValues} for {@link CarSensorManager#SENSOR_TYPE_FUEL_LEVEL} type of
54 * sensor type.
124 /** Sensor type for this event like {@link CarSensorManager#SENSOR_TYPE_CAR_SPEED}. */
133 * array holding float type of sensor data. If the sensor has single value, only floatValues[0]
136 /** array holding int type of sensor data */
192 private void checkType(int type) { argument
[all...]
H A DCarSensorManager.java123 * Sensor type bigger than this is invalid. Always update this after adding a new sensor.
156 * To keep record of locally active sensors. Key is sensor type. This is used as a basic lock
257 * @param event Incoming sensor event for the given sensor type.
273 * @param sensorType sensor type to subscribe.
386 * Get the most recent CarSensorEvent for the given type. Note that latest sensor data from car
389 * @param type A sensor to request
393 public CarSensorEvent getLatestSensorEvent(int type) throws CarNotConnectedException { argument
394 assertSensorType(type);
396 return mService.getLatestSensorEvent(type);
417 throw new IllegalArgumentException("invalid sensor type "
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/
H A DBodyDescriptor.java83 } else if (name.equals("content-type") && !contentTypeSet) {
108 String type = main.substring(0, index).trim();
110 if (type.length() > 0 && subtype.length() > 0) {
111 main = type + "/" + subtype;

Completed in 633 milliseconds

<<11121314151617181920>>