Searched refs:source (Results 26 - 50 of 257) sorted by relevance

1234567891011

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DScreenNail.java34 public void draw(GLCanvas canvas, RectF source, RectF dest); argument
H A DBitmapScreenNail.java58 public void draw(GLCanvas canvas, RectF source, RectF dest) { argument
59 canvas.drawTexture(mBitmapTexture, source, dest);
H A DGLRoot.java44 public void setOrientationSource(OrientationSource source); argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilter.java47 public CharSequence filter(CharSequence source, int start, int end, argument
50 // count UTF-8 bytes in source substring
52 char c = source.charAt(i);
72 char c = source.charAt(i);
75 return source.subSequence(start, i);
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
H A DTsStreamer.java17 package com.android.tv.tuner.source;
48 * android.media.MediaExtractor}. The source will start from the position where it is created.
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DLeaveBehindData.java57 public LeaveBehindData createFromParcel(Parcel source) {
58 return new LeaveBehindData(source, null);
62 public LeaveBehindData createFromParcel(Parcel source, ClassLoader loader) {
63 return new LeaveBehindData(source, loader);
H A DConversationViewState.java163 private ConversationViewState(Parcel source, ClassLoader loader) { argument
164 final Bundle states = source.readBundle(loader);
169 mConversationInfo = source.createByteArray();
176 public ConversationViewState createFromParcel(Parcel source) {
177 return new ConversationViewState(source, null);
181 public ConversationViewState createFromParcel(Parcel source, ClassLoader loader) {
182 return new ConversationViewState(source, loader);
218 private MessageViewState(Parcel source) { argument
219 read = (source.readInt() != 0);
220 final int expandedVal = source
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DDefaultSuggestionView.java42 * sources, and suggestions under each source.
73 // override default icon (when no other available) with default source icon
75 protected String getFallbackIconId(Source source) {
76 return source.getSourceIconUri().toString();
79 protected Drawable getFallbackIcon(Source source) {
80 return source.getSourceIcon();
178 public void set(final Source source, final String sourceIconId) { argument
182 Uri iconUri = source.getIconUri(sourceIconId);
187 NowOrLater<Drawable> icon = source.getIcon(sourceIconId);
190 handleNewDrawable(icon.getNow(), uniqueIconId, source);
217 handleNewDrawable(Drawable icon, String id, Source source) argument
238 getFallbackIconId(Source source) argument
242 getFallbackIcon(Source source) argument
[all...]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/anim/
H A DSwiperThemeMatcherTest.java42 private void assertCorrect(int source, int expected) { argument
43 assertThat(mSwiperThemeMatcher.findTheme(source), equalTo(expected));
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
H A DBase64Body.java33 public Base64Body(InputStream source) { argument
34 mSource = source;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPhotoProcessorTest.java40 final Drawable source = getTestContext().getResources().getDrawable(
42 final Bitmap sourceBitmap = ((BitmapDrawable) source).getBitmap();
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowEventLogWriter.java30 public void visible(Context context, int source, int category) { argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
H A DLedConfiguration.java28 public LedConfiguration createFromParcel(Parcel source) {
29 int color0 = source.readInt();
30 int color1 = source.readInt();
32 source.readBooleanArray(bools);
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dpointer.h1 // Tencent is pleased to support the open source community by making RapidJSON available.
103 \param source A null-terminated, string or URI fragment representation of JSON pointer.
106 explicit GenericPointer(const Ch* source, Allocator* allocator = 0) : allocator_(allocator), ownAllocator_(), nameBuffer_(), tokens_(), tokenCount_(), parseErrorOffset_(), parseErrorCode_(kPointerParseErrorNone) { argument
107 Parse(source, internal::StrLen(source));
113 \param source A string or URI fragment representation of JSON pointer.
117 explicit GenericPointer(const std::basic_string<Ch>& source, Allocator* allocator = 0) : allocator_(allocator), ownAllocator_(), nameBuffer_(), tokens_(), tokenCount_(), parseErrorOffset_(), parseErrorCode_(kPointerParseErrorNone) { argument
118 Parse(source.c_str(), source.size());
122 //! Constructor that parses a string or URI fragment representation, with length of the source strin
129 GenericPointer(const Ch* source, size_t length, Allocator* allocator = 0) argument
767 Parse(const Ch* source, size_t length) argument
952 PercentDecodeStream(const Ch* source, const Ch* end) argument
1054 GetValueByPointer(T& root, const CharType (&source)[N]) argument
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DAction.java316 public Action createFromParcel(Parcel source) {
319 .key(source.readString())
320 .title(source.readString())
321 .description(source.readString())
322 .intent((Intent) source.readParcelable(Intent.class.getClassLoader()))
323 .resourcePackageName(source.readString())
324 .drawableResource(source.readInt())
325 .checked(source.readInt() != 0)
326 .multilineDescription(source.readInt() != 0)
327 .checkSetId(source
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
H A DEvent.java252 * @param source the event to copy the properties of.
256 public static Event createConsumedEvent(final Event source) { argument
258 return new Event(source.mEventType, source.mText, source.mCodePoint, source.mKeyCode,
259 source.mX, source.mY, source.mSuggestedWordInfo, source
[all...]
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
H A DCropView.java71 final float imageWidth = mRenderer.source.getImageWidth();
72 final float imageHeight = mRenderer.source.getImageHeight();
89 float initialCenterX = mRenderer.source.getImageWidth() / 2f;
90 float initialCenterY = mRenderer.source.getImageHeight() / 2f;
133 return new Point(mRenderer.source.getImageWidth(), mRenderer.source.getImageHeight());
136 public void setTileSource(TileSource source, Runnable isReadyCallback) { argument
137 super.setTileSource(source, isReadyCallback);
144 updateMinScale(getWidth(), getHeight(), source, true);
148 updateMinScale(w, h, mRenderer.source, fals
157 updateMinScale(int w, int h, TileSource source, boolean resetScale) argument
[all...]
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
H A DInlineListPayloadTest.java32 final int source = ResultPayload.SettingsSource.SYSTEM;
38 InlineListPayload payload = new InlineListPayload(uri, source,
44 assertThat(payload.mSettingSource).isEqualTo(source);
53 int source = ResultPayload.SettingsSource.SYSTEM;
62 parcel.writeInt(source);
72 assertThat(payload.mSettingSource).isEqualTo(source);
H A DInlineSwitchPayloadTest.java56 final int source = SettingsSource.SECURE;
63 new InlineSwitchPayload(uri, source, 1, intent, true, 1 /* default */);
67 assertThat(payload.mSettingSource).isEqualTo(source);
77 int source = SettingsSource.SECURE;
85 parcel.writeInt(source);
96 assertThat(payload.mSettingSource).isEqualTo(source);
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/error/
H A DVoicemailStatusCorruptionHandler.java48 public static void maybeFixVoicemailStatus(Context context, Cursor statusCursor, Source source) { argument
77 + source
93 switch (source) {
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
H A DCoordinateUtils.java48 public static void copy(@Nonnull final int[] destination, @Nonnull final int[] source) { argument
49 destination[INDEX_X] = source[INDEX_X];
50 destination[INDEX_Y] = source[INDEX_Y];
/packages/apps/Gallery/src/com/android/camera/
H A DUtil.java151 Bitmap source,
156 int deltaX = source.getWidth() - targetWidth;
157 int deltaY = source.getHeight() - targetHeight;
174 deltaXHalf + Math.min(targetWidth, source.getWidth()),
175 deltaYHalf + Math.min(targetHeight, source.getHeight()));
183 c.drawBitmap(source, src, dst, null);
185 source.recycle();
189 float bitmapWidthF = source.getWidth();
190 float bitmapHeightF = source.getHeight();
214 b1 = Bitmap.createBitmap(source,
150 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, boolean scaleUp, boolean recycle) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInfoDropTarget.java68 private boolean isFromAllApps(DragSource source) { argument
69 return (source instanceof AppsCustomizePagedView);
76 // so that the object being dragged isn't removed from the drag source.
101 public void onDragStart(DragSource source, Object info, int dragAction) { argument
105 if (!isFromAllApps(source)) {
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
H A DLevenshteinDistanceTest.java36 private void verifyTargetOperations(String[] source, String[] target, int[] expectedOps, argument
39 Token[] sourceTokens = makeTokens(source);
52 assertEquals(source[ops[i].getPosition()], target[i]);
54 assertFalse(source[ops[i].getPosition()].equals(target[i]));
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java227 // add the source code to the shader and compile it
351 public void drawTexture(BasicTexture texture, RectF source, RectF target) { argument
355 mTempSourceRect.set(source);
362 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) { argument
363 setTextureMatrix(source);
367 private void setTextureMatrix(RectF source) { argument
368 mTempTextureMatrix[0] = source.width();
369 mTempTextureMatrix[5] = source.height();
370 mTempTextureMatrix[12] = source.left;
371 mTempTextureMatrix[13] = source
377 convertCoordinate(RectF source, RectF target, BasicTexture texture) argument
[all...]

Completed in 1707 milliseconds

1234567891011