/frameworks/av/camera/tests/ |
H A D | ProCameraTests.cpp | 413 sp<ANativeWindow> window = mSurfaceControl->getSurface(); local 438 sp<ANativeWindow> window = mDepthSurfaceControl->getSurface(); local
|
/frameworks/av/cmds/screenrecord/ |
H A D | Overlay.cpp | 289 EglWindow window; local 290 err = window.createWindow(outputSurface); 294 window.makeCurrent(); 296 int width = window.getWidth(); 297 int height = window.getHeight(); 315 doDrawInfoPage(window, texProgram, textRenderer); 319 window.release(); 324 /*static*/ void Overlay::doDrawInfoPage(const EglWindow& window, argument 331 int width = window.getWidth(); 332 int height = window [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | tns.c | 70 static Word16 CalcTnsFilter(const Word16* signal, const Word32 window[], Word16 numOfLines, 631 * input: signal spectrum, acf window, no. of spectral lines, 634 *(half) window size must be larger than tnsOrder !!* 638 const Word32 window[], 648 UNUSED(window); 637 CalcTnsFilter(const Word16 *signal, const Word32 window[], Word16 numOfLines, Word16 tnsOrder, Word32 parcor[]) argument
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_get_scale_factors.cpp | 140 int32 window; local 154 for (window = 0; window < 3; window++) 156 scalefac->s[window][sfb] = getNbits(pMainData, slen[0][gr_info->scalefac_compress]); 161 for (window = 0; window < 3; window++) 163 scalefac->s[window][sfb] = getNbits(pMainData, slen[1][gr_info->scalefac_compress]); 173 for (window [all...] |
H A D | pvmp3_mdct_18.cpp | 41 const int32 *window sine window used in the mdct, three types are allowed 132 void pvmp3_mdct_18(int32 vec[], int32 *history, const int32 *window) argument 198 vec[ i] = fxp_mac32_Q32(tmp, (vec[i+10]), window[ i]); 208 vec[ 6] = fxp_mac32_Q32(tmp, vec[16] << 1, window[ i]); 215 vec[ 7] = fxp_mac32_Q32(tmp, tmp4 << 1, window[ 7]); 217 vec[ 8] = fxp_mac32_Q32(tmp1, vec[17] << 1, window[ 8]); 222 vec[ 9] = fxp_mac32_Q32(tmp, vec[17] << 1, window[ 9]); 224 vec[17] = fxp_mac32_Q32(tmp1, vec[10] << 1, window[17]); 226 vec[16] = fxp_mac32_Q32(tmp2, vec[11] << 1, window[1 [all...] |
H A D | pvmp3_mpeg2_get_scale_factors.cpp | 129 int32 window; local 156 for (window = 0; window < 3; window++) 158 scalefac->s[window][sfb] = scalefac_buffer[k]; 178 for (window = 0; window < 3; window++) 180 scalefac->s[window][sfb] = scalefac_buffer[k];
|
/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 106 sp<ANativeWindow> window = mSurfaceControl->getSurface(); local 108 window.get(), NULL); 114 sp<ANativeWindow> window = stc; local 117 window.get(), NULL); 819 // created with the native window handle
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 201 ANativeWindow* window, 208 if (window != NULL) { 209 surface = (Surface*) window; 198 AMediaCodec_configure( AMediaCodec *mData, const AMediaFormat* format, ANativeWindow* window, AMediaCrypto *crypto, uint32_t flags) argument
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 532 sp<ANativeWindow> window; local 538 window = new Surface(bufferProducer, /*controlledByApp*/ true); 540 return setPreviewWindowL(binder, window); 544 sp<ANativeWindow> window) { 549 ALOGV("%s: Camera %d: New window is same as old window", 585 res = mStreamingProcessor->setPreviewWindow(window); 587 ALOGE("%s: Unable to set new preview window: %s (%d)", 637 // Disable any existing preview callback window when enabling 669 sp<ANativeWindow> window; 543 setPreviewWindowL(const sp<IBinder>& binder, sp<ANativeWindow> window) argument [all...] |
H A D | CameraClient.cpp | 221 static void disconnectWindow(const sp<ANativeWindow>& window) { argument 222 if (window != 0) { 223 status_t result = native_window_api_disconnect(window.get(), 278 const sp<ANativeWindow>& window) { 288 if (window != 0) { 289 result = native_window_api_connect(window.get(), NATIVE_WINDOW_API_CAMERA); 299 if (window != 0) { 300 native_window_set_scaling_mode(window.get(), 302 native_window_set_buffers_transform(window.get(), mOrientation); 303 result = mHardware->setPreviewWindow(window); 277 setPreviewWindow(const sp<IBinder>& binder, const sp<ANativeWindow>& window) argument 329 sp<ANativeWindow> window; local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | StreamingProcessor.cpp | 62 status_t StreamingProcessor::setPreviewWindow(sp<ANativeWindow> window) { argument 71 mPreviewWindow = window;
|
/frameworks/av/services/camera/libcameraservice/api_pro/ |
H A D | ProCamera2Client.cpp | 277 sp<ANativeWindow> window; local 280 window = new Surface(bufferProducer); 283 return mDevice->createStream(window, width, height, format,
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityThread.java | 222 // NOTE: The activity and window managers need to call in to 224 // which means this lock gets held while the activity and window managers 226 // or window manager or anything that depends on them while holding this lock. 290 Window window; field in class:ActivityThread.ActivityClientRecord 2400 // onResume() the first time they run, before their window 3030 // If the window hasn't yet been added to the window manager, 3032 // then go ahead and add the window. 3041 if (r.window == null && !a.mFinished && willBeVisible) { 3042 r.window [all...] |
H A D | ActivityTransitionCoordinator.java | 46 * is created by ActivityOptions#createEnterActivityTransition by Activity when the window is 66 * - If the window allows overlapping transitions, the views transition is started by setting 74 * - If the window doesn't allow overlapping enter transitions, the enter transition is started 77 * - The window is made opaque 102 * - If the window allows overlapping transitions, the views transition is started by setting 111 * - If the window doesn't allow overlapping enter transitions, the enter transition is started 212 public ActivityTransitionCoordinator(Window window, argument 216 mWindow = window;
|
H A D | LocalActivityManager.java | 58 Window window; // Activity's top-level window. field in class:LocalActivityManager.LocalActivityRecord 141 r.window = r.activity.getWindow(); 255 * @return Returns the window of the activity. The caller needs to take 256 * care of adding this window to a view hierarchy, and likewise dealing 257 * with removing the old window if the activity has changed. 323 return r.window; 334 return r.window; 354 return r.window; 359 win = r.window; [all...] |
/frameworks/base/core/java/android/database/ |
H A D | AbstractCursor.java | 107 * window with the contents of the cursor, otherwise null. 109 * @return The pre-filled window that backs this cursor, or null if none. 228 public void fillWindow(int position, CursorWindow window) { argument 229 DatabaseUtils.cursorFillWindow(this, position, window);
|
H A D | AbstractWindowedCursor.java | 22 * The cursor owns the cursor window it uses. When the cursor is closed, 23 * its window is also closed. Likewise, when the window used by the cursor is 24 * changed, its old window is closed. This policy of strict ownership ensures 27 * Subclasses are responsible for filling the cursor window with data during 28 * {@link #onMove(int, int)}, allocating a new cursor window if necessary. 29 * During {@link #requery()}, the existing cursor window should be cleared and 32 * If the contents of the cursor change or become invalid, the old window must be closed 38 * The cursor window owned by this cursor. 150 * Sets a new cursor window fo 162 setWindow(CursorWindow window) argument [all...] |
H A D | BulkCursorDescriptor.java | 48 public CursorWindow window; field in class:BulkCursorDescriptor 61 if (window != null) { 63 window.writeToParcel(out, flags); 75 window = CursorWindow.CREATOR.createFromParcel(in);
|
H A D | CrossProcessCursor.java | 25 * the cursor can provide a pre-filled window to use via {@link #getWindow} thereby 26 * obviating the need to copy the data to yet another cursor window. 30 * Returns a pre-filled window that contains the data within this cursor. 32 * In particular, the window contains the row indicated by {@link Cursor#getPosition}. 33 * The window's contents are automatically scrolled whenever the current 34 * row moved outside the range covered by the window. 37 * @return The pre-filled window, or null if none. 42 * Copies cursor data into the window. 44 * Clears the window and fills it with data beginning at the requested 46 * or the window run 61 fillWindow(int position, CursorWindow window) argument [all...] |
H A D | CrossProcessCursorWrapper.java | 46 public void fillWindow(int position, CursorWindow window) { argument 49 crossProcessCursor.fillWindow(position, window); 53 DatabaseUtils.cursorFillWindow(mCursor, position, window);
|
H A D | CursorWindow.java | 37 * receives a read-only view of the cursor window. Typically the cursor window 88 * Creates a new empty cursor window and gives it a name. 94 * @param name The name of the cursor window, or null if none. 100 /** The cursor window size. resource xml file specifies the value in kB. 108 throw new CursorWindowAllocationException("Cursor window allocation of " + 116 * Creates a new empty cursor window. 122 * @param localWindow True if this window will be used in this process only, 137 throw new CursorWindowAllocationException("Cursor window could not be " 168 * Gets the name of this cursor window, neve 722 recordNewWindow(int pid, long window) argument 731 recordClosingOfWindow(long window) argument [all...] |
H A D | DatabaseUtils.java | 253 * Fills the specified cursor window by iterating over the contents of the cursor. 254 * The window is filled until the cursor is exhausted or the window runs out 259 * @param cursor The cursor that contains the data to put in the window. 260 * @param position The start position for filling the window. 261 * @param window The window to fill. 265 int position, final CursorWindow window) { 271 window.clear(); 272 window 264 cursorFillWindow(final Cursor cursor, int position, final CursorWindow window) argument [all...] |
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 805 * @param window The cursor window to clear and fill. 806 * @param startPos The start position for filling the window. 807 * @param requiredPos The position of a row that MUST be in the window. 811 * regagless of whether they fit in the window. 821 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, 826 if (window == null) { 827 throw new IllegalArgumentException("window must not be null."); 830 window.acquireReference(); 846 mConnectionPtr, statement.mStatementPtr, window 820 executeForCursorWindow(String sql, Object[] bindArgs, CursorWindow window, int startPos, int requiredPos, boolean countAllRows, CancellationSignal cancellationSignal) argument [all...] |
H A D | SQLiteCursor.java | 54 /** The number of rows that can fit in the cursor window, 0 if unknown */ 121 // Make sure the row at newPosition is present in the window 155 // Close the cursor window if the query failed and therefore will 157 // the cursor window if the client does not correctly handle exceptions 243 public void setWindow(CursorWindow window) { argument 244 super.setWindow(window);
|
H A D | SQLiteQuery.java | 45 * @param window The window to fill into 46 * @param startPos The start position for filling the window. 47 * @param requiredPos The position of a row that MUST be in the window. 50 * return regardless of whether they fit in the window. 57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { argument 60 window.acquireReference(); 63 window, startPos, requiredPos, countAllRows, getConnectionFlags(), 73 window.releaseReference();
|