/external/aac/libAACdec/src/ |
H A D | aacdec_hcr.cpp | 312 SCHAR window; local 342 for (window = 0, group = 0; group < numOfGroups; group++) { 344 for (groupWin = winGroupLen; groupWin != 0; groupWin--, window++) { 628 SCHAR window; local 643 for ( window = 0; window < (8); window++ ) { 644 pOut = SPEC(pQuantizedSpectralCoefficientsBase, window, pAacDecoderChannelInfo->granuleLength); 646 pTeVa = pBak + (window << FOUR_LOG_DIV_TWO_LOG) + i * 32; /* distance of lines between unit groups has to be constant for every framelength (32)! */ 654 /* derive global scaling-value for every sfb and every window (a [all...] |
H A D | aacdec_tns.cpp | 135 UCHAR window; local 144 for (window = 0; window < wins_per_frame; window++) 146 pTnsData->NumberOfFilters[window] = n_filt = (UCHAR) FDKreadBits(bs, isLongFlag ? 2 : 1); 148 if (pTnsData->NumberOfFilters[window] > TNS_MAXIMUM_FILTERS){ 149 pTnsData->NumberOfFilters[window] = n_filt = TNS_MAXIMUM_FILTERS; 163 CFilter *filter = &pTnsData->Filter[window][index]; 341 int window,index,start,stop,size; local 348 for (window [all...] |
H A D | block.cpp | 217 int window; local 228 for (window=0, group=0; group < GetWindowGroups(&pAacDecoderChannelInfo->icsInfo); group++) 230 for (groupwin=0; groupwin < GetWindowGroupLength(&pAacDecoderChannelInfo->icsInfo,group); groupwin++, window++) 232 int SpecScale_window = pSpecScale[window]; 233 FIXP_DBL *pSpectrum = SPEC(pSpectralCoefficient, window, pAacDecoderChannelInfo->granuleLength); 235 /* find scaling for current window */ 238 SpecScale_window = fMax(SpecScale_window, (int)pSfbScale[window*16+band]); 245 /* store scaling of current window */ 246 pSpecScale[window] = SpecScale_window; 250 CBlock_ScaleSpectralData_func1(pSpectrum, max_band, BandOffsets, SpecScale_window, pSfbScale, window); 428 int window, group, groupwin, band; local 508 int window,group,groupwin,groupoffset,band; local [all...] |
H A D | stereo.cpp | 158 int window, group, scaleFactorBandsTransmitted; local 162 for (window = 0, group = 0; group < windowGroups; group++) 166 for (int groupwin=0; groupwin<pWindowGroupLength[group]; groupwin++, window++) 170 SHORT *leftScale = &pAacDecoderChannelInfo[L]->pDynData->aSfbScale[window*16]; 171 SHORT *rightScale = &pAacDecoderChannelInfo[R]->pDynData->aSfbScale[window*16]; 173 leftSpectrum = SPEC(pAacDecoderChannelInfo[L]->pSpectralCoefficient, window, pAacDecoderChannelInfo[L]->granuleLength); 174 rightSpectrum = SPEC(pAacDecoderChannelInfo[R]->pSpectralCoefficient, window, pAacDecoderChannelInfo[R]->granuleLength); 232 for (int window=0,group=0; group<windowGroups; group++) 241 for (int groupwin=0; groupwin<pWindowGroupLength[group]; groupwin++, window++) 244 SHORT *leftScale = &pAacDecoderChannelInfo[L]->pDynData->aSfbScale[window*1 [all...] |
/external/aac/libAACdec/src/arm/ |
H A D | block_arm.cpp | 107 int window) 115 int scale = SpecScale_window-pSfbScale[window*16+band]; 101 CBlock_ScaleSpectralData_func1( FIXP_DBL *pSpectrum, int max_band, const SHORT * RESTRICT BandOffsets, int SpecScale_window, const SHORT * RESTRICT pSfbScale, int window) argument
|
/external/bluetooth/bluedroid/stack/btm/ |
H A D | btm_inq.c | 165 ** scans are enabled. If a value of '0' is entered for window or 175 tBTM_STATUS BTM_SetDiscoverability (UINT16 inq_mode, UINT16 window, UINT16 interval) argument 208 /* If the window and/or interval is '0', set to default values */ 209 if (!window) 210 window = BTM_DEFAULT_DISC_WINDOW; 215 BTM_TRACE_API ("BTM_SetDiscoverability: mode %d [NonDisc-0, Lim-1, Gen-2], window 0x%04x, interval 0x%04x", 216 inq_mode, window, interval); 218 /*** Check for valid window and interval parameters ***/ 219 /*** Only check window and duration if mode is connectable ***/ 222 /* window mus 617 BTM_SetConnectability(UINT16 page_mode, UINT16 window, UINT16 interval) argument [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
H A D | gatt_utils.c | 2759 UINT16 connectability, window, interval; local 2778 connectability = BTM_ReadConnectability (&window, &interval);
|
/external/bluetooth/bluedroid/stack/hcic/ |
H A D | hcicmds.c | 1550 BOOLEAN btsnd_hcic_write_pagescan_cfg(UINT16 interval, UINT16 window) argument 1567 UINT16_TO_STREAM (pp, window); 1593 BOOLEAN btsnd_hcic_write_inqscan_cfg(UINT16 interval, UINT16 window) argument 1610 UINT16_TO_STREAM (pp, window);
|
/external/chromium_org/apps/ui/views/ |
H A D | app_window_frame_view.cc | 41 extensions::NativeAppWindow* window, 46 window_(window), 137 // Get the difference between the widget's client area bounds and window 146 // empty size. This could occur when the frameless window is being 183 // Don't allow overlapping resize handles when the window is maximized or 198 // window. 207 // Then see if the point is within any of the window controls. 229 // We got nothing to say about no window mask. 334 // Ensure we have enough space for the window icon and buttons. We allow 40 AppWindowFrameView(views::Widget* widget, extensions::NativeAppWindow* window, bool draw_frame, const SkColor& active_frame_color, const SkColor& inactive_frame_color) argument
|
/external/chromium_org/ash/accelerators/ |
H A D | accelerator_commands.cc | 19 aura::Window* window = wm::GetActiveWindow(); local 20 // Attempt to restore the window that would be cycled through next from 21 // the launcher when there is no active window. 22 if (!window) { 29 wm::WindowState* window_state = wm::GetWindowState(window);
|
H A D | accelerator_controller.cc | 265 aura::Window* window = wm::GetActiveWindow(); local 267 if (window && !wm::GetWindowState(window)->IsDocked()) { 268 wm::CenterWindow(window); 306 // Rotate the active window. 507 // Disable window snapping shortcut key for full screen window due to 510 window_state->window()->type() != ui::wm::WINDOW_TYPE_NORMAL || 706 void PrintWindowHierarchy(aura::Window* window, argument 710 std::string name(window [all...] |
H A D | accelerator_controller_unittest.cc | 33 #include "ui/aura/window.h" 429 scoped_ptr<aura::Window> window( 433 wm::WindowState* window_state = wm::GetWindowState(window.get()); 440 window.get()); 441 EXPECT_EQ(expected_bounds.ToString(), window->bounds().ToString()); 446 window.get()); 447 EXPECT_EQ(expected_bounds.ToString(), window->bounds().ToString()); 454 EXPECT_NE(normal_bounds.ToString(), window->bounds().ToString()); 460 EXPECT_EQ(normal_bounds.ToString(), window->bounds().ToString()); 485 scoped_ptr<aura::Window> window( 1312 scoped_ptr<aura::Window> window; local [all...] |
/external/chromium_org/ash/display/ |
H A D | display_controller.cc | 33 #include "ui/aura/window.h" 90 // Native window property (Atom in X11) that specifies the display's 127 CreateRootWindowTransformerForDisplay(host->window(), display)); 141 return ash_host->AsWindowTreeHost()->window(); 146 // A utility class to store/restore focused/active window 172 // Deactivate the window to close menu / bubble windows. 178 // Clear the focused window if any. This is necessary because a 179 // window may be deleted when losing focus (fullscreen flash for 180 // example). If the focused window is still alive after move, it'll 187 // Restore focused or active window i 554 UpdateWorkAreaOfDisplayNearestWindow( const aura::Window* window, const gfx::Insets& insets) argument [all...] |
H A D | display_manager_unittest.cc | 117 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { 118 ASSERT_EQ(Shell::GetPrimaryRootWindow(), window); variable 1190 // Mirror window should already be delete before restoring 1196 // Mirror window should not be created until the external display 1236 test_api.GetHost()->window()->bounds().size().ToString()); 1245 // Make sure the mirror window has the pixel size of the 1253 test_api.GetHost()->window()->bounds().size().ToString()); 1258 test_api.GetHost()->window()->bounds().size().ToString()); 1263 test_api.GetHost()->window()->bounds().size().ToString()); 1268 test_api.GetHost()->window() [all...] |
H A D | mirror_window_controller.cc | 44 // Mirror window shouldn't handle input events. 45 void DisableInput(XID window) { argument 48 XSelectInput(gfx::GetXDisplay(), window, event_mask); local 54 XISelectEvents(gfx::GetXDisplay(), window, &evmask, 1); local 64 // Does a capture on the |window|. 65 virtual void SetCapture(aura::Window* window) OVERRIDE {} 67 // Releases a capture from the |window|. 68 virtual void ReleaseCapture(aura::Window* window) OVERRIDE {} 70 // Returns the current capture window. 86 // Make sure the root window get [all...] |
H A D | screen_ash.cc | 138 gfx::Rect ScreenAsh::GetMaximizedWindowBoundsInParent(aura::Window* window) { argument 139 if (GetRootWindowController(window->GetRootWindow())->shelf()) 140 return GetDisplayWorkAreaBoundsInParent(window); 142 return GetDisplayBoundsInParent(window); 146 gfx::Rect ScreenAsh::GetDisplayBoundsInParent(aura::Window* window) { argument 148 window->parent(), 149 Shell::GetScreen()->GetDisplayNearestWindow(window).bounds()); 153 gfx::Rect ScreenAsh::GetDisplayWorkAreaBoundsInParent(aura::Window* window) { argument 155 window->parent(), 156 Shell::GetScreen()->GetDisplayNearestWindow(window) 160 ConvertRectToScreen(aura::Window* window, const gfx::Rect& rect) argument 169 ConvertRectFromScreen(aura::Window* window, const gfx::Rect& rect) argument [all...] |
H A D | screen_position_controller.cc | 28 // Return true if the window or its ancestor has |kStayInSameRootWindowkey| 30 bool ShouldStayInSameRootWindow(const aura::Window* window) { argument 31 return window && (window->GetProperty(kStayInSameRootWindowKey) || 32 ShouldStayInSameRootWindow(window->parent())); 38 aura::Window* window) { 42 ::wm::GetTransientChildren(window); 57 aura::Window::Windows children = window->children(); 63 // Finds the root window at |location| in |window|' 37 MoveAllTransientChildrenToNewRoot(const gfx::Display& display, aura::Window* window) argument 68 GetRootWindowRelativeToWindow( aura::Window* window, const gfx::Point& location) argument 122 ConvertPointToScreen( const aura::Window* window, gfx::Point* point) argument 132 ConvertPointFromScreen( const aura::Window* window, gfx::Point* point) argument 153 SetBounds(aura::Window* window, const gfx::Rect& bounds, const gfx::Display& display) argument [all...] |
H A D | shared_display_edge_indicator.cc | 53 // We set the context to the primary root window; this is OK because the ash 62 aura::Window* window = widget->GetNativeWindow(); local 64 aura::client::GetScreenPositionClient(window->GetRootWindow()); 65 screen_position_client->SetBounds(window, bounds, display);
|
/external/chromium_org/ash/drag_drop/ |
H A D | drag_drop_controller.cc | 15 #include "ui/aura/window.h" 65 void DispatchGestureEndToWindow(aura::Window* window) { argument 66 if (window && window->delegate()) { 72 window->delegate()->OnGestureEvent(&gesture_end); 113 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} 114 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {} 174 // queue to the |drag_drop_tracker_|'s capture window so that when it takes 178 // We also send a gesture end to the source window so it can clear state. 463 void DragDropController::OnWindowDestroyed(aura::Window* window) { argument [all...] |
H A D | drag_drop_controller_unittest.cc | 668 aura::Window* window = widget->GetNativeView(); local 690 EXPECT_EQ(window, GetDragWindow()); 831 // Make sure the capture window won't handle mouse events. 973 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE { 974 window_location_on_destroying_ = window->GetBoundsInScreen().origin(); 1005 aura::Window* window = widget->GetNativeWindow(); local 1008 window->GetRootWindow(), 1009 window, 1024 drag_drop_controller_->DragUpdate(window, e); 1032 drag_drop_controller_->DragUpdate(window, 1043 aura::Window* window = widget->GetNativeWindow(); local [all...] |
H A D | drag_drop_tracker.cc | 11 #include "ui/aura/window.h" 21 // An activation delegate which disables activating the drag and drop window. 38 // Creates a window for capturing drag events. 44 aura::Window* window = new aura::Window(delegate); local 45 // Set type of window as popup to prevent different window manager codes 46 // trying to manage this window. 47 window->SetType(ui::wm::WINDOW_TYPE_POPUP); 48 window->Init(aura::WINDOW_LAYER_NOT_DRAWN); 49 aura::client::ParentWindowWithContext(window, context_roo [all...] |
/external/chromium_org/ash/ |
H A D | extended_desktop_unittest.cc | 22 #include "ui/aura/window.h" 62 // An event handler which moves the target window to the secondary root window 185 // All root windows must have the root window controller. 218 // Clicking a window changes the active window and active root window. 246 // Open system modal. Make sure it's on 2nd root window and active. 326 // Out of range point should return the nearest root window 364 // Out of range rect should return the primary root window 820 aura::Window* window = aura::test::CreateTestWindowWithId( local [all...] |
H A D | focus_cycler.cc | 11 #include "ui/aura/window.h" 38 aura::Window* window = ash::wm::GetActiveWindow(); local 39 if (window) { 40 views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); 77 // Activate the most recently active browser window. 82 aura::Window* window = mru_windows.front(); local 83 wm::GetWindowState(window)->Activate(); 84 views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window);
|
/external/chromium_org/ash/first_run/ |
H A D | first_run_helper_impl.cc | 13 #include "ui/aura/window.h" 30 views::Widget* window = new views::Widget; local 31 window->Init(params); 32 return window;
|
/external/chromium_org/ash/frame/caption_buttons/ |
H A D | frame_size_button.cc | 225 aura::Window* window = frame_->GetNativeWindow(); local 227 phantom_window_controller_.reset(new PhantomWindowController(window)); 230 wm::GetDefaultLeftSnappedWindowBoundsInParent(window) : 231 wm::GetDefaultRightSnappedWindowBoundsInParent(window); 233 window->parent(), phantom_bounds_in_parent));
|